CVE-2023-4679
NoneCVSS
—
EPSS
0.3%
Published
Nov 15, 2024
CISA due date
—
Cloudanix analysis
A flaw in media handling software can make programs crash when they process certain files, interrupting media workflows.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Use After Free
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Use-after-free in gf_filterpacket_del leads to double-free and process crash during packet handling in the filter core.
Why it matters to the business
Media processing applications become unavailable due to crashes when handling malformed input, affecting content pipelines and playback services.
How an attack unfolds
An attacker supplies specially crafted media content that triggers the use-after-free during filter packet cleanup, resulting in a double-free and application termination.
How to fix it
Upgrade gpac/gpac to commit b68b3f0bf5c366e003221d78fd663a1d5514a876 or later.
How to confirm the fix worked
Confirm the installed build contains commit b68b3f0bf5c366e003221d78fd663a1d5514a876; re-test with known triggering media samples to verify absence of crash.
Typical attack path
- Deliver malicious media file or stream to GPAC-based application
- Trigger packet allocation and subsequent deletion path in filter_core
- Force use-after-free condition in gf_filterpacket_del
- Cause double-free and application crash
How to detect it
Review application and system logs for segmentation faults or double-free errors originating from filter.c during packet processing.
What your security team should do
- Apply the fixed commit immediately in all build and deployment pipelines
- Scan dependency graphs for any GPAC versions prior to the fix
- Monitor for application crashes in media processing workloads
The record
A use after free vulnerability exists in GPAC version 2.3-DEV-revrelease, specifically in the gf_filterpacket_del function in filter_core/filter.c at line 38. This vulnerability can lead to a double-free condition, which may cause the application to crash.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | gpac | 0 | No fix |
| Ubuntu:20.04:LTS | gpac | 0 | No fix |
| Ubuntu:22.04:LTS | gpac | 0 | No fix |
| Ubuntu:24.04:LTS | gpac | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | gpac | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | gpac | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | gpac | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | gpac | 0 | No fix |
| Ubuntu:Pro:22.04:LTS | gpac | 0 | No fix |
| Ubuntu:Pro:24.04:LTS | gpac | 0 | No fix |
Related vulnerabilities
- CVE-2023-46931 GPAC 2.3-DEV-rev605-gfc9e29089-master contains a heap-buffer-overflow in… Also affects gpac
- CVE-2021-46311 A NULL pointer dereference vulnerability exists in GPAC v1.1.0 via the function… Also affects gpac
- CVE-2021-46313 The binary MP4Box in GPAC v1.0.1 was discovered to contain a segmentation fault via the… Also affects gpac
- CVE-2021-46234 A NULL pointer dereference vulnerability exists in GPAC v1.1.0 via the function… Also affects gpac
- CVE-2021-46238 GPAC v1.1.0 was discovered to contain a stack overflow via the function gf_node_get_name… Also affects gpac
- CVE-2021-46240 A NULL pointer dereference vulnerability exists in GPAC v1.1.0 via the function… Also affects gpac
- CVE-2021-46239 The binary MP4Box in GPAC v1.1.0 was discovered to contain an invalid free vulnerability… Also affects gpac
- CVE-2021-46237 An untrusted pointer dereference vulnerability exists in GPAC v1.1.0 via the function… Also affects gpac