CVE-2022-36186
High · 7.5CVSS
7.5
EPSS
0.9%
Published
Aug 17, 2022
CISA due date
—
Cloudanix analysis
A bug in widely used media software can let attackers on the internet shut the program down without any login, interrupting services that depend on it.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- 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_filter_pid_set_property_full triggers an unhandled crash, resulting in denial of service.
Why it matters to the business
Applications that rely on GPAC for media processing can be forced offline by remote attackers, causing service outages and operational disruption; the issue has been public for over four years with publicly available exploit code.
How an attack unfolds
An attacker crafts network input that reaches gf_filter_pid_set_property_full with a null pointer; the dereference immediately terminates the process. No authentication or user interaction is required.
How to fix it
Upgrade to a build that includes commit b43f9d1 or later; rebuild all dependent packages and restart affected services.
How to confirm the fix worked
Confirm the running binary or library was built after commit b43f9d1; attempt to reproduce the original crash with known triggering input and verify the process no longer terminates.
Typical attack path
- Attacker identifies a reachable GPAC instance accepting untrusted media or filter input
- Sends specially formatted data that exercises the vulnerable code path
- Process crashes due to null dereference, denying service to legitimate users
How to detect it
Monitor process crash logs and core dumps for references to filter_pid.c or gf_filter_pid_set_property_full; correlate with inbound connections that precede sudden terminations.
What your security team should do
- Prioritize upgrade of all GPAC installations to a post-b43f9d1 build within the next maintenance window
- Add GPAC crash signatures to monitoring to detect attempted exploitation
- Review network exposure of any GPAC-based media pipelines and apply least-privilege filtering where possible
The record
A Null Pointer dereference vulnerability exists in GPAC 2.1-DEV-revUNKNOWN-master via the function gf_filter_pid_set_property_full () at filter_core/filter_pid.c:5250,which causes a Denial of Service (DoS). This vulnerability was fixed in commit b43f9d1.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| 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-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