CVE-2021-46234
Medium · 5.5CVSS
5.5
EPSS
0.6%
Published
Jan 21, 2022
CISA due date
—
Cloudanix analysis
A flaw in a media library can make programs using it suddenly stop working when they open certain files, causing temporary service interruptions.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
NULL pointer dereference in gf_node_unregister at scenegraph/base_scenegraph.c causes the application to crash when processing certain scenegraph data.
Why it matters to the business
Media processing or playback services using the affected library experience sudden outages and require restarts, interrupting content workflows for users and operators.
How an attack unfolds
An attacker crafts a malicious input file that reaches gf_node_unregister with a NULL pointer; when the file is opened locally the dereference triggers an immediate crash and denial of service. No remote code execution is involved.
How to fix it
Upgrade affected GPAC installations to a version containing the fix for the NULL dereference; for Alpine-based apache2 packages update to 2.4.54-r0 or later.
How to confirm the fix worked
Confirm the installed GPAC or apache2 package version meets or exceeds the listed fixed versions and test that previously crashing inputs no longer cause a crash.
Typical attack path
- Obtain or generate a specially crafted scenegraph file
- Cause the target application to open the file (local file access or user interaction required)
- gf_node_unregister is invoked with a NULL pointer
- Application crashes resulting in denial of service
How to detect it
Review application and system logs around the time of crashes for segmentation faults or abrupt process terminations while processing media files; no specific post-exploitation artifacts are known.
What your security team should do
- Apply the listed package upgrades immediately on all systems running the affected versions
- Scan build pipelines and container images for the vulnerable library versions
- Monitor for any new public exploits given the existing exploit maturity rating
The record
A NULL pointer dereference vulnerability exists in GPAC v1.1.0 via the function gf_node_unregister () at scenegraph/base_scenegraph.c. This vulnerability can lead to a Denial of Service (DoS).
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-4679 A use after free vulnerability exists in GPAC version 2.3-DEV-revrelease, specifically in… Also affects gpac
- 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-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