CVE-2021-21860

NameCVE-2021-21860
DescriptionAn exploitable integer truncation vulnerability exists within the MPEG-4 decoding functionality of the GPAC Project on Advanced Content library v1.0.1. A specially crafted MPEG-4 input can cause an improper memory allocation resulting in a heap-based buffer overflow that causes memory corruption. The FOURCC code, 'trik', is parsed by the function within the library. An attacker can convince a user to open a video to trigger this vulnerability.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-4966-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gpac (PTS)jessie, jessie (lts)0.5.0+svn5324~dfsg1-1+deb8u5vulnerable
stretch0.5.2-426-gc5ad4e4+dfsg5-3+deb9u1fixed
buster0.5.2-426-gc5ad4e4+dfsg5-5fixed
bullseye (security), bullseye1.0.1+dfsg1-4+deb11u3fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gpacsourcejessie(unfixed)end-of-life
gpacsourcestretch(not affected)
gpacsourcebuster(not affected)
gpacsourcebullseye1.0.1+dfsg1-4+deb11u1DSA-4966-1
gpacsource(unstable)1.0.1+dfsg1-5

Notes

[buster] - gpac <not-affected> (Vulnerable code not present)
[stretch] - gpac <not-affected> (Vulnerable code not present)
https://talosintelligence.com/vulnerability_reports/TALOS-2021-1298
https://github.com/gpac/gpac/commit/8cd33e8977fd5f4215e4b67c309fd403762bfeb7
https://github.com/gpac/gpac/issues/1814

Search for package or bug name: Reporting problems