In HalCoreCallback of halcore.cc, there is a possible out of bounds read due to a missing bounds check. This could lead to local information disclosure from the NFC firmware with no additional execution privileges needed. User interaction is not needed for exploitation.
{
"types": [
"ID"
],
"spl": "2022-12-01",
"severity": "Moderate",
"vanir_signatures": [
{
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/hardware/st/nfc/+/bf79f190c62886e457e13b030dd67d846958b3c6",
"match_only_versions": [
"13"
],
"target": {
"file": "st21nfc/hal/halcore.cc"
},
"id": "PUB-A-229994861-33818c24",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"165744123791803713704763289471465043099",
"27783976174390821137820152893181231296",
"76791411373196050948003848164575001558",
"301341817714026765422772554170160352996"
]
}
},
{
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/hardware/st/nfc/+/bf79f190c62886e457e13b030dd67d846958b3c6",
"match_only_versions": [
"13"
],
"target": {
"function": "HalCoreCallback",
"file": "st21nfc/hal/halcore.cc"
},
"id": "PUB-A-229994861-ddaf01cb",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "90138370701600535322812863812506258764",
"length": 1926.0
}
}
],
"fixes": [
"https://android.googlesource.com/platform/hardware/st/nfc/+/bf79f190c62886e457e13b030dd67d846958b3c6"
]
}