CVE-2024-0051: Out of Bounds Read and Write in onQueueFilled in outQueue in libstagefright_soft_mpeg4dec
Summary
CVE-2024-0051: In onQueueFilled of SoftMPEG4.cpp, there is a possible out of bounds write due to a heap buffer overflow. Affects platform/frameworks/av across 5 version ranges.
>= 12:0, < 12:2024-03-01
>= 12L:0, < 12L:2024-03-01
>= 13:0, < 13:2024-03-01
>= 14:0, < 14:2024-03-01
>= 14-next:0, < 14-next:2024-03-01
Fixed in 14-next:2024-03-01. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The package under scrutiny is platform/frameworks/av in the Android ecosystem. This package is responsible for handling audio and video functionality in the Android operating system. It includes various components for media playback, recording, and processing. One of these components is libstagefright_soft_mpeg4dec, which is used for decoding MPEG-4 video streams. This vulnerability affects versions 12, 12L, 13, and 14 of the package.
Vulnerability Detail
The vulnerability resides in the onQueueFilled function of the SoftMPEG4.cpp file in libstagefright_soft_mpeg4dec. It is caused by a heap buffer overflow, leading to an out of bounds write. An attacker can exploit this vulnerability to escalate their privileges locally without requiring any additional execution privileges. The exploitation does not require user interaction. The impact of this vulnerability can be severe, as it allows an attacker to gain elevated privileges on the affected system.
How To Fix
Minimum fixed version
14-next:2024-03-01
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability.
Conclusion
In conclusion, the platform/frameworks/av package in the Android ecosystem is vulnerable to an out of bounds read and write in the onQueueFilled function of the libstagefright_soft_mpeg4dec component. This vulnerability can be exploited by an attacker to escalate their privileges locally. It is recommended to update the package to the fixed version and apply the necessary fix to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for platform/frameworks/av →
FAQ
The package affected by this vulnerability is platform/frameworks/av in the Android ecosystem.
The impact of this vulnerability is the local escalation of privilege, allowing an attacker to gain elevated privileges on the affected system.
No, user interaction is not needed for exploitation of this vulnerability.
Versions 12, 12L, 13, and 14 of the package are affected by this vulnerability.
The fix for this vulnerability can be found in the commit 8f4cfda9fc75f1e9ba3b6dee3fbffda4b6111d64.
Related vulnerabilities
Recent vulnerabilities recorded for platform/frameworks/av.