CVE-2024-0018: Heap-buffer-overflow in android::ColorConverter::convertYUV420Planar16ToY410
Summary
CVE-2024-0018: In convertYUV420Planar16ToY410 of ColorConverter.cpp, there is a possible out of bounds write due to a heap buffer overflow. Affects platform/frameworks/av across 6 version ranges.
>= 11:0, < 11:2024-01-01
>= 12:0, < 12:2024-01-01
>= 12L:0, < 12L:2024-01-01
>= 13:0, < 13:2024-01-01
>= 14:0, < 14:2024-01-01
>= 14-next:0, < 14-next:2024-01-01
Fixed in 14-next:2024-01-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 provides APIs and components for media playback, recording, and processing. The vulnerability affects the ColorConverter.cpp file within the package.
Vulnerability Detail
The vulnerability, identified as CVE-2024-0018, is a heap buffer overflow in the convertYUV420Planar16ToY410 function of ColorConverter.cpp. This vulnerability allows an attacker to write beyond the bounds of a heap buffer, potentially leading to a local escalation of privilege. The vulnerability does not require any additional execution privileges or user interaction for exploitation. If successfully exploited, this vulnerability could have serious consequences for the security and stability of the Android system.
How To Fix
Minimum fixed version
14-next:2024-01-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
No workaround has been provided for this vulnerability.
Conclusion
In conclusion, the vulnerability CVE-2024-0018 poses a significant risk to the security and stability of the Android system. It is crucial to update the affected package to the latest version and apply the provided fix as soon as possible. For further support and assistance with vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for platform/frameworks/av →
FAQ
This vulnerability could lead to a local escalation of privilege, potentially allowing an attacker to gain elevated privileges on the affected system.
No, user interaction is not needed for exploitation of this vulnerability.
The vulnerability was introduced in version 11.0 of the package and has been fixed in versions 11.2024-01-01, 12.0, 12.2024-01-01, 12L.0, 12L.2024-01-01, 13.0, 13.2024-01-01, 14.0, and 14.2024-01-01.
The severity of this vulnerability is classified as High.
More information about this vulnerability can be found in the Android Open Source Project Security Bulletin: [link to bulletin].
Related vulnerabilities
Recent vulnerabilities recorded for platform/frameworks/av.