CVE-2022-27146
NixOS vulnerability analysis and mitigation

Overview

GPAC mp4box version 1.1.0-DEV-rev1759-geb2d1e6dd contains a heap-buffer-overflow vulnerability in the function gfisomappleenumtag. This vulnerability was discovered in February 2022 and affects the MP4Box component of GPAC (NVD, MITRE).

Technical details

The vulnerability exists in the gfisomappleenumtag function located in src/isomedia/isom_read.c. When processing certain MP4 files, the function performs a read operation that exceeds the allocated buffer size, specifically reading 1 byte beyond a 5-byte allocated region at address 0x6020000014f5. This heap-buffer-overflow was detected by AddressSanitizer during testing (GitHub Issue).

Impact

A successful exploitation of this vulnerability could lead to memory corruption, potentially resulting in program crashes or arbitrary code execution. The vulnerability affects the MP4Box component, which is a key tool in GPAC for manipulating MP4 files.

Mitigation and workarounds

Users should upgrade to a version of GPAC that contains the fix for this vulnerability. If upgrading is not immediately possible, users should exercise caution when processing untrusted MP4 files with the MP4Box tool.

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management