Name | CVE-2021-32137 |
Description | Heap buffer overflow in the URL_GetProtocolType function in MP4Box in GPAC 1.0.1 allows attackers to cause a denial of service or execute arbitrary code via a crafted file. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 994746 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
ccextractor (PTS) | buster | 0.87+ds1-1 | vulnerable |
| bullseye | 0.88+ds1-1 | vulnerable |
gpac (PTS) | jessie, jessie (lts) | 0.5.0+svn5324~dfsg1-1+deb8u5 | vulnerable |
| stretch | 0.5.2-426-gc5ad4e4+dfsg5-3+deb9u1 | fixed |
| buster | 0.5.2-426-gc5ad4e4+dfsg5-5 | fixed |
| bullseye (security), bullseye | 1.0.1+dfsg1-4+deb11u3 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
ccextractor | source | (unstable) | 0.93+ds2-1 | | | 994746 |
gpac | source | jessie | (unfixed) | end-of-life | | |
gpac | source | stretch | (not affected) | | | |
gpac | source | buster | (not affected) | | | |
gpac | source | (unstable) | 2.0.0+dfsg1-2 | | | |
Notes
[bullseye] - gpac <ignored> (Minor issue)
[buster] - gpac <not-affected> (vulnerable code introduced later)
[stretch] - gpac <not-affected> (vulnerable code introduced later)
[bullseye] - ccextractor <no-dsa> (Minor issue)
[buster] - ccextractor <no-dsa> (Minor issue)
https://github.com/gpac/gpac/commit/328def7d3b93847d64ecb6e9e0399684e57c3eca (v2.0.0)
https://github.com/gpac/gpac/issues/1766
Support for vulnerable file type introduced in https://github.com/gpac/gpac/commit/2c65e5604b469d4a4e1a1dc0c6cbe351f2d39a17
Confirmed that stretch/buster versions were not affect by building with ASAN and testing POC from GitHub issue
the stretch/buster versions produce '[iso file] Read Box "free" failed (Invalid IsoMedia File)'