CVE-2021-30019

NameCVE-2021-30019
DescriptionIn the adts_dmx_process function in filters/reframe_adts.c in GPAC 1.0.1, a crafted file may cause ctx->hdr.frame_size to be smaller than ctx->hdr.hdr_size, resulting in size to be a negative number and a heap overflow in the memcpy.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs987323

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)
gpacsource(unstable)1.0.1+dfsg1-4987323

Notes

[buster] - gpac <not-affected> (Vulnerable code not present)
[stretch] - gpac <not-affected> (Vulnerable code not present)
https://github.com/gpac/gpac/commit/22774aa9e62f586319c8f107f5bae950fed900bc
https://github.com/gpac/gpac/issues/1723

Search for package or bug name: Reporting problems