Out-of-bounds Write Affecting gpac package, versions <1.0.1+dfsg1-4


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.08% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN11-GPAC-1252583
  • published21 Apr 2021
  • disclosed19 Apr 2021

Introduced: 19 Apr 2021

CVE-2021-30019  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Debian:11 gpac to version 1.0.1+dfsg1-4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gpac package and not the gpac package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

In 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.

CVSS Scores

version 3.1