In handlercmetamsgcmd of btifrc.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to remote code execution over Bluetooth with no additional execution privileges needed. User interaction is not needed for exploitation.
{
"types": [
"RCE"
],
"spl": "2021-06-01",
"fixes": [
"https://android.googlesource.com/platform/system/bt/+/4c9874d7318114a925a1397e4d50c3adf4466cb7"
],
"severity": "Critical",
"vanir_signatures": [
{
"signature_type": "Function",
"target": {
"function": "avrc_ctrl_pars_vendor_cmd",
"file": "stack/avrc/avrc_pars_tg.cc"
},
"signature_version": "v1",
"id": "ASB-A-181860042-20bf1869",
"digest": {
"function_hash": "30384822939121190592029269469687542709",
"length": 975.0
},
"deprecated": false,
"source": "https://android.googlesource.com/platform/system/bt/+/4c9874d7318114a925a1397e4d50c3adf4466cb7"
},
{
"signature_type": "Line",
"target": {
"file": "stack/avrc/avrc_pars_tg.cc"
},
"signature_version": "v1",
"id": "ASB-A-181860042-6ca4b5d6",
"digest": {
"line_hashes": [
"209051549421598997493608576163822465820",
"185812421405846509614530449186919713536",
"297828353395766766323788684671303738769",
"103601486506301070812485503618532030479"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://android.googlesource.com/platform/system/bt/+/4c9874d7318114a925a1397e4d50c3adf4466cb7"
}
]
}
{
"types": [
"RCE"
],
"spl": "2021-06-01",
"fixes": [
"https://android.googlesource.com/platform/system/bt/+/2901716406e6919a286d73eb596c5e16e117dca0"
],
"severity": "Critical",
"vanir_signatures": [
{
"signature_type": "Function",
"target": {
"function": "avrc_ctrl_pars_vendor_cmd",
"file": "stack/avrc/avrc_pars_tg.cc"
},
"signature_version": "v1",
"id": "ASB-A-181860042-28e3190e",
"digest": {
"function_hash": "30384822939121190592029269469687542709",
"length": 975.0
},
"deprecated": false,
"source": "https://android.googlesource.com/platform/system/bt/+/2901716406e6919a286d73eb596c5e16e117dca0"
},
{
"signature_type": "Line",
"target": {
"file": "stack/avrc/avrc_pars_tg.cc"
},
"signature_version": "v1",
"id": "ASB-A-181860042-cbe888c8",
"digest": {
"line_hashes": [
"209051549421598997493608576163822465820",
"185812421405846509614530449186919713536",
"297828353395766766323788684671303738769",
"103601486506301070812485503618532030479"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://android.googlesource.com/platform/system/bt/+/2901716406e6919a286d73eb596c5e16e117dca0"
}
]
}
{
"types": [
"RCE"
],
"spl": "2021-06-01",
"fixes": [
"https://android.googlesource.com/platform/system/bt/+/d667a2f6d043d34ee59174b7036e695ad0953ab4"
],
"severity": "Critical",
"vanir_signatures": [
{
"signature_type": "Line",
"target": {
"file": "stack/avrc/avrc_pars_tg.cc"
},
"signature_version": "v1",
"id": "ASB-A-181860042-3d4232cc",
"digest": {
"line_hashes": [
"209051549421598997493608576163822465820",
"185812421405846509614530449186919713536",
"297828353395766766323788684671303738769",
"103601486506301070812485503618532030479"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://android.googlesource.com/platform/system/bt/+/d667a2f6d043d34ee59174b7036e695ad0953ab4"
},
{
"signature_type": "Function",
"target": {
"function": "avrc_ctrl_pars_vendor_cmd",
"file": "stack/avrc/avrc_pars_tg.cc"
},
"signature_version": "v1",
"id": "ASB-A-181860042-8fdefab9",
"digest": {
"function_hash": "30384822939121190592029269469687542709",
"length": 975.0
},
"deprecated": false,
"source": "https://android.googlesource.com/platform/system/bt/+/d667a2f6d043d34ee59174b7036e695ad0953ab4"
}
]
}
{
"types": [
"RCE"
],
"spl": "2021-06-01",
"fixes": [
"https://android.googlesource.com/platform/system/bt/+/4deeb022c7efe39e9ce34d9373ba900d9ed2741f"
],
"severity": "Critical",
"vanir_signatures": [
{
"signature_type": "Line",
"target": {
"file": "stack/avrc/avrc_pars_tg.cc"
},
"signature_version": "v1",
"id": "ASB-A-181860042-6190d499",
"digest": {
"line_hashes": [
"229747177241047671136006243129545939521",
"194936249656141924618396571107547943231",
"297828353395766766323788684671303738769",
"103601486506301070812485503618532030479"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://android.googlesource.com/platform/system/bt/+/4deeb022c7efe39e9ce34d9373ba900d9ed2741f"
},
{
"signature_type": "Function",
"target": {
"function": "avrc_ctrl_pars_vendor_cmd",
"file": "stack/avrc/avrc_pars_tg.cc"
},
"signature_version": "v1",
"id": "ASB-A-181860042-bd8c2c67",
"digest": {
"function_hash": "335736388932527993337630848351454608353",
"length": 1021.0
},
"deprecated": false,
"source": "https://android.googlesource.com/platform/system/bt/+/4deeb022c7efe39e9ce34d9373ba900d9ed2741f"
}
]
}