CVE-2021-32137

NameCVE-2021-32137
DescriptionHeap 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)
Debian Bugs994746

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ccextractor (PTS)buster0.87+ds1-1vulnerable
bullseye0.88+ds1-1vulnerable
sid0.94+ds1-1fixed
gpac (PTS)buster0.5.2-426-gc5ad4e4+dfsg5-5fixed
bullseye (security), bullseye1.0.1+dfsg1-4+deb11u1vulnerable
bookworm, sid2.0.0+dfsg1-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ccextractorsource(unstable)0.93+ds2-1994746
gpacsourcestretch(not affected)
gpacsourcebuster(not affected)
gpacsource(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)'

Search for package or bug name: Reporting problems