{"id":"UBUNTU-CVE-2023-21031","details":"In setPowerMode of HWC2.cpp, there is a possible out of bounds read due to a race condition. This could lead to local information disclosure with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-13Android ID: A-242688355","modified":"2026-04-22T14:01:14.167133Z","published":"2023-03-24T20:15:00Z","upstream":["CVE-2023-21031"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-21031"},{"type":"REPORT","url":"https://source.android.com/security/bulletin/pixel/2023-03-01"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-21031"}],"affected":[{"package":{"name":"android-platform-frameworks-native","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/android-platform-frameworks-native@1:6.0.1+r16-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["21-3","1:6.0.0+r26-2","1:6.0.1+r16-1"],"ecosystem_specific":{"binaries":[{"binary_name":"android-libetc1","binary_version":"1:6.0.1+r16-1"},{"binary_name":"android-platform-frameworks-native-headers","binary_version":"1:6.0.1+r16-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-21031.json"}},{"package":{"name":"android-platform-frameworks-native","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/android-platform-frameworks-native@1:8.1.0+r23-2~18.04?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:7.0.0+r33-1","1:8.1.0+r23-2~18.04"],"ecosystem_specific":{"binaries":[{"binary_version":"1:8.1.0+r23-2~18.04","binary_name":"android-libetc1"},{"binary_name":"android-platform-frameworks-native-headers","binary_version":"1:8.1.0+r23-2~18.04"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-21031.json"}},{"package":{"name":"android-platform-frameworks-native","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/android-platform-frameworks-native@1:8.1.0+r23-2build1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:8.1.0+r23-2","1:8.1.0+r23-2build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:8.1.0+r23-2build1","binary_name":"android-libetc1"},{"binary_name":"android-platform-frameworks-native-headers","binary_version":"1:8.1.0+r23-2build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-21031.json"}},{"package":{"name":"android-platform-frameworks-native","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/android-platform-frameworks-native@1:10.0.0+r36-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:10.0.0+r36-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:10.0.0+r36-1","binary_name":"android-libetc1"},{"binary_name":"android-platform-frameworks-native-headers","binary_version":"1:10.0.0+r36-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-21031.json"}},{"package":{"name":"android-platform-tools","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/android-platform-tools@29.0.6-4ubuntu1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["29.0.6-3","29.0.6-4","29.0.6-4ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:29.0.6-4ubuntu1","binary_name":"adb"},{"binary_name":"dmtracedump","binary_version":"29.0.6-4ubuntu1"},{"binary_version":"29.0.6-4ubuntu1","binary_name":"etc1tool"},{"binary_name":"fastboot","binary_version":"1:29.0.6-4ubuntu1"},{"binary_name":"hprof-conv","binary_version":"29.0.6-4ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-21031.json"}},{"package":{"name":"android-platform-frameworks-native","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/android-platform-frameworks-native@1:10.0.0+r36-1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:10.0.0+r36-1"],"ecosystem_specific":{"binaries":[{"binary_name":"android-libetc1","binary_version":"1:10.0.0+r36-1"},{"binary_name":"android-platform-frameworks-native-headers","binary_version":"1:10.0.0+r36-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-21031.json"}},{"package":{"name":"android-platform-tools","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/android-platform-tools@34.0.4-1build3?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["33.0.3-2","34.0.4-1build2","34.0.4-1build3"],"ecosystem_specific":{"binaries":[{"binary_name":"adb","binary_version":"1:34.0.4-1build3"},{"binary_name":"android-libbacktrace","binary_version":"1:34.0.4-1build3"},{"binary_name":"android-libbase","binary_version":"1:34.0.4-1build3"},{"binary_name":"android-libcutils","binary_version":"1:34.0.4-1build3"},{"binary_name":"android-liblog","binary_version":"1:34.0.4-1build3"},{"binary_name":"android-libnativehelper","binary_version":"34.0.4-1build3"},{"binary_name":"android-libsparse","binary_version":"1:34.0.4-1build3"},{"binary_name":"android-libutils","binary_version":"1:34.0.4-1build3"},{"binary_name":"android-libziparchive","binary_version":"1:34.0.4-1build3"},{"binary_version":"1:34.0.4-1build3","binary_name":"android-platform-frameworks-native-headers"},{"binary_name":"android-platform-system-core-headers","binary_version":"1:34.0.4-1build3"},{"binary_name":"android-sdk-libsparse-utils","binary_version":"1:34.0.4-1build3"},{"binary_name":"etc1tool","binary_version":"34.0.4-1build3"},{"binary_name":"fastboot","binary_version":"1:34.0.4-1build3"},{"binary_name":"hprof-conv","binary_version":"34.0.4-1build3"},{"binary_name":"mkbootimg","binary_version":"1:34.0.4-1build3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-21031.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}