ASB-A-221255869

See a problem?
Import Source
https://storage.googleapis.com/android-osv-test/ASB-A-221255869.json
JSON Data
https://api.osv.dev/v1/vulns/ASB-A-221255869
Aliases
Published
2022-09-01T00:00:00Z
Modified
2024-09-19T16:28:21.701213Z
Summary
Vulnerability: external/expat (bufferSize)
Details

In XML_GetBuffer of xmlparse.c, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

References

Affected packages

Android / platform/external/expat

Affected ranges

Type
ECOSYSTEM
Events
Introduced
10:0
Fixed
10:2022-09-01

Affected versions

Other

10

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 3362.0,
                "function_hash": "138352415732303108501810443154813624150"
            },
            "id": "ASB-A-221255869-4251a019",
            "source": "https://android.googlesource.com/platform/external/expat/+/d6a09f1b7fb24dd03dc58e45062ad951a37ff8e3",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "lib/xmlparse.c",
                "function": "XML_GetBuffer"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "23769882794062647382828236930866184936",
                    "290891614970733481005294944513108526091",
                    "91523872996065765435832856955889506431",
                    "278119019981747821834661111398495361216"
                ]
            },
            "id": "ASB-A-221255869-74cb59a4",
            "source": "https://android.googlesource.com/platform/external/expat/+/d6a09f1b7fb24dd03dc58e45062ad951a37ff8e3",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "lib/xmlparse.c"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/external/expat/+/d6a09f1b7fb24dd03dc58e45062ad951a37ff8e3"
    ],
    "spl": "2022-09-01",
    "severity": "High",
    "types": [
        "EoP"
    ]
}

Android / platform/external/expat

Affected ranges

Type
ECOSYSTEM
Events
Introduced
11:0
Fixed
11:2022-09-01

Affected versions

Other

11

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "23769882794062647382828236930866184936",
                    "290891614970733481005294944513108526091",
                    "224374138601710745415227448825105997927",
                    "4077327238122989552024957943116553897"
                ]
            },
            "id": "ASB-A-221255869-3e822306",
            "source": "https://android.googlesource.com/platform/external/expat/+/9d79464dab550b27e3eb33592ece02ec68ba19b0",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "lib/xmlparse.c"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 3223.0,
                "function_hash": "78338412100891045482255719798124897640"
            },
            "id": "ASB-A-221255869-5c6ed63f",
            "source": "https://android.googlesource.com/platform/external/expat/+/9d79464dab550b27e3eb33592ece02ec68ba19b0",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "lib/xmlparse.c",
                "function": "XML_GetBuffer"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/external/expat/+/9d79464dab550b27e3eb33592ece02ec68ba19b0"
    ],
    "spl": "2022-09-01",
    "severity": "High",
    "types": [
        "EoP"
    ]
}

Android / platform/external/expat

Affected ranges

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

Affected versions

Other

12

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "23769882794062647382828236930866184936",
                    "290891614970733481005294944513108526091",
                    "224374138601710745415227448825105997927",
                    "4077327238122989552024957943116553897"
                ]
            },
            "id": "ASB-A-221255869-9398e5f6",
            "source": "https://android.googlesource.com/platform/external/expat/+/a924d536de39ee21d4ab7051a3d13684162259bf",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "lib/xmlparse.c"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 3223.0,
                "function_hash": "78338412100891045482255719798124897640"
            },
            "id": "ASB-A-221255869-f69eba6a",
            "source": "https://android.googlesource.com/platform/external/expat/+/a924d536de39ee21d4ab7051a3d13684162259bf",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "lib/xmlparse.c",
                "function": "XML_GetBuffer"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/external/expat/+/a924d536de39ee21d4ab7051a3d13684162259bf"
    ],
    "spl": "2022-09-01",
    "severity": "High",
    "types": [
        "EoP"
    ]
}

Android / platform/external/expat

Affected ranges

Type
ECOSYSTEM
Events
Introduced
12L:0
Fixed
12L:2022-09-01

Affected versions

Other

12L

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 3223.0,
                "function_hash": "78338412100891045482255719798124897640"
            },
            "id": "ASB-A-221255869-2ebae99f",
            "source": "https://android.googlesource.com/platform/external/expat/+/7a0950222b2ca17204fcb8d0c20ce7cabd934949",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "lib/xmlparse.c",
                "function": "XML_GetBuffer"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "23769882794062647382828236930866184936",
                    "290891614970733481005294944513108526091",
                    "224374138601710745415227448825105997927",
                    "4077327238122989552024957943116553897"
                ]
            },
            "id": "ASB-A-221255869-78fea371",
            "source": "https://android.googlesource.com/platform/external/expat/+/7a0950222b2ca17204fcb8d0c20ce7cabd934949",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "lib/xmlparse.c"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/external/expat/+/7a0950222b2ca17204fcb8d0c20ce7cabd934949"
    ],
    "spl": "2022-09-01",
    "severity": "High",
    "types": [
        "EoP"
    ]
}