PUB-A-242702451

See a problem?
Import Source
https://storage.googleapis.com/android-osv/PUB-A-242702451.json
JSON Data
https://api.osv.dev/v1/vulns/PUB-A-242702451
Aliases
  • A-242702451
  • CVE-2022-20549
Published
2022-12-01T00:00:00Z
Modified
2024-11-06T12:16:03.231308Z
Summary
[none]
Details

In authToken2AidlVec of KeyMintUtils.cpp, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.

References

Affected packages

Android / platform/system/keymaster

Affected ranges

Type
ECOSYSTEM
Events
Introduced
13:0
Fixed
13:2022-12-01

Affected versions

Other

13

Ecosystem specific

{
    "vanir_signatures": [
        {
            "match_only_versions": [
                "13"
            ],
            "digest": {
                "length": 959.0,
                "function_hash": "133749863688818654324205865620052008397"
            },
            "id": "PUB-A-242702451-01d75fad",
            "source": "https://android.googlesource.com/platform/system/keymaster/+/d78ef2348cadeb9a707a1b87f98ef4d0b0aac7ab",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "ng/KeyMintUtils.cpp",
                "function": "authToken2AidlVec"
            },
            "signature_type": "Function"
        },
        {
            "match_only_versions": [
                "13"
            ],
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "272932665949612627104982675225818875393",
                    "141229288598946018857279948331691849745",
                    "149412112727020036042621472749264816595",
                    "300035055542965323323032819786577291936"
                ]
            },
            "id": "PUB-A-242702451-6df58f7c",
            "source": "https://android.googlesource.com/platform/system/keymaster/+/d78ef2348cadeb9a707a1b87f98ef4d0b0aac7ab",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "ng/KeyMintUtils.cpp"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/system/keymaster/+/d78ef2348cadeb9a707a1b87f98ef4d0b0aac7ab"
    ],
    "spl": "2022-12-01",
    "severity": "Moderate",
    "types": [
        "EoP"
    ]
}