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.
{
"severity": "Critical",
"fixes": [
"https://android.googlesource.com/platform/packages/modules/Bluetooth/+/fae5e18313da0d83e860aa48311b5d0892bb8b87"
],
"spl": "2023-03-01",
"vanir_signatures": [
{
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/packages/modules/Bluetooth/+/fae5e18313da0d83e860aa48311b5d0892bb8b87",
"target": {
"file": "system/stack/gatt/gatt_cl.cc"
},
"deprecated": false,
"digest": {
"line_hashes": [
"15290592489318013650251690264185527604",
"256702296040400058131854358176192740640",
"320450332476430292575405127449542050683",
"250806685207083960582903055345288041489",
"58512730648589681388045340449943327845",
"107249252000611605307661078880728890078",
"263960294108843561849453014890321491137",
"193280761510562669588847252023504767888"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "ASB-A-258652631-b84f1eef"
},
{
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/packages/modules/Bluetooth/+/fae5e18313da0d83e860aa48311b5d0892bb8b87",
"target": {
"function": "gatt_process_prep_write_rsp",
"file": "system/stack/gatt/gatt_cl.cc"
},
"deprecated": false,
"digest": {
"function_hash": "301009738884903707026088294679338425762",
"length": 800.0
},
"signature_type": "Function",
"id": "ASB-A-258652631-c4d50158"
}
],
"types": [
"RCE"
]
}{
"severity": "Critical",
"fixes": [
"https://android.googlesource.com/platform/system/bt/+/9b17660bfd6f0f41cb9400ce0236d76c83605e03"
],
"spl": "2023-03-01",
"vanir_signatures": [
{
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/system/bt/+/9b17660bfd6f0f41cb9400ce0236d76c83605e03",
"target": {
"function": "gatt_process_prep_write_rsp",
"file": "stack/gatt/gatt_cl.cc"
},
"deprecated": false,
"digest": {
"function_hash": "138507308733408136034270396089658444948",
"length": 804.0
},
"signature_type": "Function",
"id": "ASB-A-258652631-7e003c80"
},
{
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/system/bt/+/9b17660bfd6f0f41cb9400ce0236d76c83605e03",
"target": {
"file": "stack/gatt/gatt_cl.cc"
},
"deprecated": false,
"digest": {
"line_hashes": [
"242505939147136790684248678209831935881",
"243170690324850092941664603533283373202",
"320450332476430292575405127449542050683",
"250806685207083960582903055345288041489",
"58512730648589681388045340449943327845",
"107249252000611605307661078880728890078",
"263960294108843561849453014890321491137",
"193280761510562669588847252023504767888"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "ASB-A-258652631-c645b1a6"
}
],
"types": [
"RCE"
]
}{
"severity": "Critical",
"fixes": [
"https://android.googlesource.com/platform/system/bt/+/9b17660bfd6f0f41cb9400ce0236d76c83605e03"
],
"spl": "2023-03-01",
"vanir_signatures": [
{
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/system/bt/+/9b17660bfd6f0f41cb9400ce0236d76c83605e03",
"target": {
"file": "stack/gatt/gatt_cl.cc"
},
"deprecated": false,
"digest": {
"line_hashes": [
"242505939147136790684248678209831935881",
"243170690324850092941664603533283373202",
"320450332476430292575405127449542050683",
"250806685207083960582903055345288041489",
"58512730648589681388045340449943327845",
"107249252000611605307661078880728890078",
"263960294108843561849453014890321491137",
"193280761510562669588847252023504767888"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "ASB-A-258652631-39cb8c89"
},
{
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/system/bt/+/9b17660bfd6f0f41cb9400ce0236d76c83605e03",
"target": {
"function": "gatt_process_prep_write_rsp",
"file": "stack/gatt/gatt_cl.cc"
},
"deprecated": false,
"digest": {
"function_hash": "138507308733408136034270396089658444948",
"length": 804.0
},
"signature_type": "Function",
"id": "ASB-A-258652631-bf4f8d42"
}
],
"types": [
"RCE"
]
}{
"severity": "Critical",
"fixes": [
"https://android.googlesource.com/platform/system/bt/+/9b17660bfd6f0f41cb9400ce0236d76c83605e03"
],
"spl": "2023-03-01",
"vanir_signatures": [
{
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/system/bt/+/9b17660bfd6f0f41cb9400ce0236d76c83605e03",
"target": {
"function": "gatt_process_prep_write_rsp",
"file": "stack/gatt/gatt_cl.cc"
},
"deprecated": false,
"digest": {
"function_hash": "138507308733408136034270396089658444948",
"length": 804.0
},
"signature_type": "Function",
"id": "ASB-A-258652631-3430eb53"
},
{
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/system/bt/+/9b17660bfd6f0f41cb9400ce0236d76c83605e03",
"target": {
"file": "stack/gatt/gatt_cl.cc"
},
"deprecated": false,
"digest": {
"line_hashes": [
"242505939147136790684248678209831935881",
"243170690324850092941664603533283373202",
"320450332476430292575405127449542050683",
"250806685207083960582903055345288041489",
"58512730648589681388045340449943327845",
"107249252000611605307661078880728890078",
"263960294108843561849453014890321491137",
"193280761510562669588847252023504767888"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "ASB-A-258652631-9060ff43"
}
],
"types": [
"RCE"
]
}{
"severity": "Critical",
"fixes": [
"https://android.googlesource.com/platform/packages/modules/Bluetooth/+/d4e34d862bb1b00fd06272e34f7160b5794c73ee"
],
"spl": "2023-03-01",
"vanir_signatures": [
{
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/packages/modules/Bluetooth/+/d4e34d862bb1b00fd06272e34f7160b5794c73ee",
"target": {
"file": "system/stack/gatt/gatt_cl.cc"
},
"deprecated": false,
"digest": {
"line_hashes": [
"15290592489318013650251690264185527604",
"256702296040400058131854358176192740640",
"320450332476430292575405127449542050683",
"250806685207083960582903055345288041489",
"58512730648589681388045340449943327845",
"107249252000611605307661078880728890078",
"263960294108843561849453014890321491137",
"193280761510562669588847252023504767888"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "ASB-A-258652631-069dcbf6"
},
{
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/packages/modules/Bluetooth/+/d4e34d862bb1b00fd06272e34f7160b5794c73ee",
"target": {
"function": "gatt_process_prep_write_rsp",
"file": "system/stack/gatt/gatt_cl.cc"
},
"deprecated": false,
"digest": {
"function_hash": "301009738884903707026088294679338425762",
"length": 800.0
},
"signature_type": "Function",
"id": "ASB-A-258652631-c3f6027a"
}
],
"types": [
"RCE"
]
}