CVE-2023-21170: Out of Bounds Read in android.hardware.graphics.composer@2.4-service
Summary
CVE-2023-21170: In executeSetClientTarget of ComposerCommandEngine.h, there is a possible out of bounds read due to a missing bounds check. Affects platform/hardware/interfaces across 2 version ranges.
>= 13:0, < 13:2023-06-01
>= 13-next:0, < 13-next:2023-06-01
Fixed in 13-next:2023-06-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 android.hardware.graphics.composer@2.4-service package is a component of the Android ecosystem that provides functionality for graphics composition. It includes the ComposerCommandEngine.h file, which is responsible for executing commands related to setting the client target. This package is vulnerable to an out of bounds read in the executeSetClientTarget function, which can result in local information disclosure. This vulnerability requires system execution privileges to exploit and does not require user interaction.
Vulnerability Detail
The executeSetClientTarget function in ComposerCommandEngine.h lacks a bounds check, leading to a possible out of bounds read. An attacker with system execution privileges can exploit this vulnerability to disclose local information. The impact of this vulnerability can vary depending on the sensitive data that can be accessed through the out of bounds read. It is important to note that user interaction is not required for exploitation.
How To Fix
Minimum fixed version
13-next:2023-06-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
The android.hardware.graphics.composer@2.4-service package is vulnerable to an out of bounds read in the executeSetClientTarget function. This vulnerability can result in local information disclosure, but requires system execution privileges to exploit. It is recommended to update the package to version 13-next:2023-06-01 or later to mitigate this vulnerability.
See every vulnerability recorded for platform/hardware/interfaces →
FAQ
This vulnerability can lead to local information disclosure, potentially exposing sensitive data to an attacker with system execution privileges.
No, user interaction is not needed for exploitation of this vulnerability.
System execution privileges are needed to exploit this vulnerability.
Yes, updating the android.hardware.graphics.composer@2.4-service package to version 13-next:2023-06-01 or later fixes this vulnerability.
More information about this vulnerability can be found in the VulnDB entry: https://storage.googleapis.com/android-osv/PUB-A-252764410.json
References
Related vulnerabilities
Recent vulnerabilities recorded for platform/hardware/interfaces.