UBUNTU-CVE-2023-21031

Source
https://ubuntu.com/security/CVE-2023-21031
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-21031.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2023-21031
Upstream
Published
2023-03-24T20:15:00Z
Modified
2026-04-22T14:01:14.167133Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
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

References

Affected packages

Ubuntu:16.04:LTS
android-platform-frameworks-native

Package

Name
android-platform-frameworks-native
Purl
pkg:deb/ubuntu/android-platform-frameworks-native@1:6.0.1+r16-1?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

Other
21-3
1:6.*
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"
Ubuntu:18.04:LTS
android-platform-frameworks-native

Package

Name
android-platform-frameworks-native
Purl
pkg:deb/ubuntu/android-platform-frameworks-native@1:8.1.0+r23-2~18.04?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:7.*
1:7.0.0+r33-1
1:8.*
1:8.1.0+r23-2~18.04

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "android-libetc1",
            "binary_version": "1:8.1.0+r23-2~18.04"
        },
        {
            "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"
Ubuntu:20.04:LTS
android-platform-frameworks-native

Package

Name
android-platform-frameworks-native
Purl
pkg:deb/ubuntu/android-platform-frameworks-native@1:8.1.0+r23-2build1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:8.*
1:8.1.0+r23-2
1:8.1.0+r23-2build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "android-libetc1",
            "binary_version": "1:8.1.0+r23-2build1"
        },
        {
            "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"
Ubuntu:22.04:LTS
android-platform-frameworks-native

Package

Name
android-platform-frameworks-native
Purl
pkg:deb/ubuntu/android-platform-frameworks-native@1:10.0.0+r36-1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:10.*
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"
android-platform-tools

Package

Name
android-platform-tools
Purl
pkg:deb/ubuntu/android-platform-tools@29.0.6-4ubuntu1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

29.*
29.0.6-3
29.0.6-4
29.0.6-4ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "adb",
            "binary_version": "1:29.0.6-4ubuntu1"
        },
        {
            "binary_name": "dmtracedump",
            "binary_version": "29.0.6-4ubuntu1"
        },
        {
            "binary_name": "etc1tool",
            "binary_version": "29.0.6-4ubuntu1"
        },
        {
            "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"
Ubuntu:24.04:LTS
android-platform-frameworks-native

Package

Name
android-platform-frameworks-native
Purl
pkg:deb/ubuntu/android-platform-frameworks-native@1:10.0.0+r36-1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:10.*
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"
android-platform-tools

Package

Name
android-platform-tools
Purl
pkg:deb/ubuntu/android-platform-tools@34.0.4-1build3?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

33.*
33.0.3-2
34.*
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_name": "android-platform-frameworks-native-headers",
            "binary_version": "1:34.0.4-1build3"
        },
        {
            "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"