ASB-A-228078096

See a problem?
Import Source
https://storage.googleapis.com/android-osv/ASB-A-228078096.json
JSON Data
https://api.osv.dev/v1/vulns/ASB-A-228078096
Aliases
  • A-228078096
  • CVE-2022-20222
Published
2022-07-01T00:00:00Z
Modified
2026-09-21T16:00:45Z
Summary
[none]
Details

In read_attr_value of gatt_db.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/system/bt

Package

Affected ranges

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

Affected versions

Other
12

Ecosystem specific

{
    "fixes":  [
        "https://android.googlesource.com/platform/system/bt/+/6c01b49e627cd1dd29fe656d9cd5eb01205c8301"
    ],
    "severity":  "Critical",
    "spl":  "2022-07-01",
    "types":  [
        "RCE"
    ],
    "vanir_signatures":  [
        {
            "deprecated":  false,
            "digest":  {
                "function_hash":  "237028429680686170678538706192668025085",
                "length":  2001
            },
            "id":  "ASB-A-228078096-c64731be",
            "signature_type":  "Function",
            "signature_version":  "v1",
            "source":  "https://android.googlesource.com/platform/system/bt/+/6c01b49e627cd1dd29fe656d9cd5eb01205c8301",
            "target":  {
                "file":  "stack/gatt/gatt_db.cc",
                "function":  "read_attr_value"
            }
        },
        {
            "deprecated":  false,
            "digest":  {
                "line_hashes":  [
                    "271746948007969399780649439146152314031",
                    "299042952866365987543762007777832047713",
                    "318243900175279289348924400889235391181",
                    "289412709252196214277184826095030737563",
                    "17781346145243886110576082688024869423",
                    "56659749081856240233204289263814143202",
                    "88485116540816326733942640167814252172"
                ],
                "threshold":  0.9
            },
            "id":  "ASB-A-228078096-d2bc01b5",
            "signature_type":  "Line",
            "signature_version":  "v1",
            "source":  "https://android.googlesource.com/platform/system/bt/+/6c01b49e627cd1dd29fe656d9cd5eb01205c8301",
            "target":  {
                "file":  "stack/gatt/gatt_db.cc"
            }
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/android-osv/ASB-A-228078096.json"

Android / platform/system/bt

Package

Affected ranges

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

Affected versions

Other
12L

Ecosystem specific

{
    "fixes":  [
        "https://android.googlesource.com/platform/system/bt/+/6c01b49e627cd1dd29fe656d9cd5eb01205c8301"
    ],
    "severity":  "Critical",
    "spl":  "2022-07-01",
    "types":  [
        "RCE"
    ],
    "vanir_signatures":  [
        {
            "deprecated":  false,
            "digest":  {
                "function_hash":  "237028429680686170678538706192668025085",
                "length":  2001
            },
            "id":  "ASB-A-228078096-40d78136",
            "signature_type":  "Function",
            "signature_version":  "v1",
            "source":  "https://android.googlesource.com/platform/system/bt/+/6c01b49e627cd1dd29fe656d9cd5eb01205c8301",
            "target":  {
                "file":  "stack/gatt/gatt_db.cc",
                "function":  "read_attr_value"
            }
        },
        {
            "deprecated":  false,
            "digest":  {
                "line_hashes":  [
                    "271746948007969399780649439146152314031",
                    "299042952866365987543762007777832047713",
                    "318243900175279289348924400889235391181",
                    "289412709252196214277184826095030737563",
                    "17781346145243886110576082688024869423",
                    "56659749081856240233204289263814143202",
                    "88485116540816326733942640167814252172"
                ],
                "threshold":  0.9
            },
            "id":  "ASB-A-228078096-478465d2",
            "signature_type":  "Line",
            "signature_version":  "v1",
            "source":  "https://android.googlesource.com/platform/system/bt/+/6c01b49e627cd1dd29fe656d9cd5eb01205c8301",
            "target":  {
                "file":  "stack/gatt/gatt_db.cc"
            }
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/android-osv/ASB-A-228078096.json"