PUB-A-245915315

See a problem?
Import Source
https://storage.googleapis.com/android-osv/PUB-A-245915315.json
JSON Data
https://api.osv.dev/v1/vulns/PUB-A-245915315
Aliases
  • A-245915315
  • CVE-2023-20985
Published
2023-06-01T00:00:00Z
Modified
2024-08-29T07:13:10.577172Z
Summary
[Out of Bounds Write in BTA_GATTS_HandleValueIndication in bta_gatts_api.cc in libbt-bta]
Details

In BTAGATTSHandleValueIndication of btagattsapi.cc, there is a possible out of bounds write due to improper input validation. 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/packages/modules/Bluetooth

Affected ranges

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

Affected versions

Other

13-next

Ecosystem specific

{
    "vanir_signatures": [
        {
            "match_only_versions": [
                "13-next"
            ],
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "173433427464343232030996065385142546900",
                    "175381008152256785464226710436349548108",
                    "292261872986763794577689858678727794970",
                    "24728948674180896011306320165118087497"
                ]
            },
            "id": "PUB-A-245915315-91a4b579",
            "source": "https://android.googlesource.com/platform/packages/modules/Bluetooth/+/4f00ec98b6621b0fa89eebf829851f4d8f02303f",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "system/bta/gatt/bta_gatts_api.cc"
            },
            "signature_type": "Line"
        },
        {
            "match_only_versions": [
                "13-next"
            ],
            "digest": {
                "length": 419.0,
                "function_hash": "91195820499357571368665567679513203816"
            },
            "id": "PUB-A-245915315-95d0dfc6",
            "source": "https://android.googlesource.com/platform/packages/modules/Bluetooth/+/4f00ec98b6621b0fa89eebf829851f4d8f02303f",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "system/bta/gatt/bta_gatts_api.cc",
                "function": "BTA_GATTS_HandleValueIndication"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/modules/Bluetooth/+/4f00ec98b6621b0fa89eebf829851f4d8f02303f"
    ],
    "spl": "2023-06-01",
    "severity": "Moderate",
    "types": [
        "EoP"
    ]
}