ASB-A-258652631

See a problem?
Import Source
https://storage.googleapis.com/android-osv/ASB-A-258652631.json
JSON Data
https://api.osv.dev/v1/vulns/ASB-A-258652631
Aliases
  • A-258652631
  • CVE-2023-20951
Published
2023-03-01T00:00:00Z
Modified
2024-08-07T19:29:22.257947Z
Summary
an potential OOB write in gatt_process_prep_write_rsp Function in gatt_cl.cc
Details

In gattprocessprepwritersp of gatt_cl.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to remote code execution with no additional execution privileges needed. User interaction is not needed for exploitation.

References

Affected packages

Android / platform/packages/modules/Bluetooth

Affected ranges

Type
ECOSYSTEM
Events
Introduced
13-next:0
Fixed
13-next:2023-03-01

Affected versions

Other

13-next

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "15290592489318013650251690264185527604",
                    "256702296040400058131854358176192740640",
                    "320450332476430292575405127449542050683",
                    "250806685207083960582903055345288041489",
                    "58512730648589681388045340449943327845",
                    "107249252000611605307661078880728890078",
                    "263960294108843561849453014890321491137",
                    "193280761510562669588847252023504767888"
                ]
            },
            "id": "ASB-A-258652631-b84f1eef",
            "source": "https://android.googlesource.com/platform/packages/modules/Bluetooth/+/fae5e18313da0d83e860aa48311b5d0892bb8b87",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "system/stack/gatt/gatt_cl.cc"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 800.0,
                "function_hash": "301009738884903707026088294679338425762"
            },
            "id": "ASB-A-258652631-c4d50158",
            "source": "https://android.googlesource.com/platform/packages/modules/Bluetooth/+/fae5e18313da0d83e860aa48311b5d0892bb8b87",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "system/stack/gatt/gatt_cl.cc",
                "function": "gatt_process_prep_write_rsp"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/modules/Bluetooth/+/fae5e18313da0d83e860aa48311b5d0892bb8b87"
    ],
    "spl": "2023-03-01",
    "severity": "Critical",
    "types": [
        "RCE"
    ]
}

Android / platform/system/bt

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
11:0
Fixed
11:2023-03-01

Affected versions

Other

11

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 804.0,
                "function_hash": "138507308733408136034270396089658444948"
            },
            "id": "ASB-A-258652631-7e003c80",
            "source": "https://android.googlesource.com/platform/system/bt/+/9b17660bfd6f0f41cb9400ce0236d76c83605e03",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "stack/gatt/gatt_cl.cc",
                "function": "gatt_process_prep_write_rsp"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "242505939147136790684248678209831935881",
                    "243170690324850092941664603533283373202",
                    "320450332476430292575405127449542050683",
                    "250806685207083960582903055345288041489",
                    "58512730648589681388045340449943327845",
                    "107249252000611605307661078880728890078",
                    "263960294108843561849453014890321491137",
                    "193280761510562669588847252023504767888"
                ]
            },
            "id": "ASB-A-258652631-c645b1a6",
            "source": "https://android.googlesource.com/platform/system/bt/+/9b17660bfd6f0f41cb9400ce0236d76c83605e03",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "stack/gatt/gatt_cl.cc"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/system/bt/+/9b17660bfd6f0f41cb9400ce0236d76c83605e03"
    ],
    "spl": "2023-03-01",
    "severity": "Critical",
    "types": [
        "RCE"
    ]
}

Android / platform/system/bt

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
12:0
Fixed
12:2023-03-01

Affected versions

Other

12

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "242505939147136790684248678209831935881",
                    "243170690324850092941664603533283373202",
                    "320450332476430292575405127449542050683",
                    "250806685207083960582903055345288041489",
                    "58512730648589681388045340449943327845",
                    "107249252000611605307661078880728890078",
                    "263960294108843561849453014890321491137",
                    "193280761510562669588847252023504767888"
                ]
            },
            "id": "ASB-A-258652631-39cb8c89",
            "source": "https://android.googlesource.com/platform/system/bt/+/9b17660bfd6f0f41cb9400ce0236d76c83605e03",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "stack/gatt/gatt_cl.cc"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 804.0,
                "function_hash": "138507308733408136034270396089658444948"
            },
            "id": "ASB-A-258652631-bf4f8d42",
            "source": "https://android.googlesource.com/platform/system/bt/+/9b17660bfd6f0f41cb9400ce0236d76c83605e03",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "stack/gatt/gatt_cl.cc",
                "function": "gatt_process_prep_write_rsp"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/system/bt/+/9b17660bfd6f0f41cb9400ce0236d76c83605e03"
    ],
    "spl": "2023-03-01",
    "severity": "Critical",
    "types": [
        "RCE"
    ]
}

Android / platform/system/bt

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
12L:0
Fixed
12L:2023-03-01

Affected versions

Other

12L

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 804.0,
                "function_hash": "138507308733408136034270396089658444948"
            },
            "id": "ASB-A-258652631-3430eb53",
            "source": "https://android.googlesource.com/platform/system/bt/+/9b17660bfd6f0f41cb9400ce0236d76c83605e03",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "stack/gatt/gatt_cl.cc",
                "function": "gatt_process_prep_write_rsp"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "242505939147136790684248678209831935881",
                    "243170690324850092941664603533283373202",
                    "320450332476430292575405127449542050683",
                    "250806685207083960582903055345288041489",
                    "58512730648589681388045340449943327845",
                    "107249252000611605307661078880728890078",
                    "263960294108843561849453014890321491137",
                    "193280761510562669588847252023504767888"
                ]
            },
            "id": "ASB-A-258652631-9060ff43",
            "source": "https://android.googlesource.com/platform/system/bt/+/9b17660bfd6f0f41cb9400ce0236d76c83605e03",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "stack/gatt/gatt_cl.cc"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/system/bt/+/9b17660bfd6f0f41cb9400ce0236d76c83605e03"
    ],
    "spl": "2023-03-01",
    "severity": "Critical",
    "types": [
        "RCE"
    ]
}

Android / platform/packages/modules/Bluetooth

Affected ranges

Type
ECOSYSTEM
Events
Introduced
13:0
Fixed
13:2023-03-01

Affected versions

Other

13

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "15290592489318013650251690264185527604",
                    "256702296040400058131854358176192740640",
                    "320450332476430292575405127449542050683",
                    "250806685207083960582903055345288041489",
                    "58512730648589681388045340449943327845",
                    "107249252000611605307661078880728890078",
                    "263960294108843561849453014890321491137",
                    "193280761510562669588847252023504767888"
                ]
            },
            "id": "ASB-A-258652631-069dcbf6",
            "source": "https://android.googlesource.com/platform/packages/modules/Bluetooth/+/d4e34d862bb1b00fd06272e34f7160b5794c73ee",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "system/stack/gatt/gatt_cl.cc"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 800.0,
                "function_hash": "301009738884903707026088294679338425762"
            },
            "id": "ASB-A-258652631-c3f6027a",
            "source": "https://android.googlesource.com/platform/packages/modules/Bluetooth/+/d4e34d862bb1b00fd06272e34f7160b5794c73ee",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "system/stack/gatt/gatt_cl.cc",
                "function": "gatt_process_prep_write_rsp"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/modules/Bluetooth/+/d4e34d862bb1b00fd06272e34f7160b5794c73ee"
    ],
    "spl": "2023-03-01",
    "severity": "Critical",
    "types": [
        "RCE"
    ]
}