In parseRecursively of cppbor_parse.cpp, there is a possible out of bounds read due to an incorrect bounds check. This could lead to local information disclosure with System execution privileges needed. User interaction is not needed for exploitation.
{
"types": [
"ID"
],
"spl": "2022-06-01",
"vanir_signatures": [
{
"match_only_versions": [
"12L-next"
],
"signature_type": "Line",
"target": {
"file": "src/cppbor_parse.cpp"
},
"id": "PUB-A-192743373-2b12aa34",
"digest": {
"threshold": 0.9,
"line_hashes": [
"214006676979829370022855787617958720337",
"46798976866392512249732004896809236455",
"87780555174337280066216474256317773261",
"237927448834004137610321113279073805263"
]
},
"source": "https://android.googlesource.com/platform/external/libcppbor/+/8f4908840cdd9cc2fe0442033516a273046598a2",
"signature_version": "v1",
"deprecated": false
},
{
"match_only_versions": [
"12L-next"
],
"signature_type": "Function",
"target": {
"file": "src/cppbor_parse.cpp",
"function": "parseRecursively"
},
"id": "PUB-A-192743373-ac264d66",
"digest": {
"function_hash": "260938830239941536222508966363509555935",
"length": 2335.0
},
"source": "https://android.googlesource.com/platform/external/libcppbor/+/8f4908840cdd9cc2fe0442033516a273046598a2",
"signature_version": "v1",
"deprecated": false
}
],
"fixes": [
"https://android.googlesource.com/platform/external/libcppbor/+/8f4908840cdd9cc2fe0442033516a273046598a2"
],
"severity": "Moderate"
}
{
"types": [
"ID"
],
"spl": "2022-06-01",
"vanir_signatures": [
{
"match_only_versions": [
"12L"
],
"signature_type": "Line",
"target": {
"file": "src/cppbor_parse.cpp"
},
"id": "PUB-A-192743373-426b7de9",
"digest": {
"threshold": 0.9,
"line_hashes": [
"214006676979829370022855787617958720337",
"46798976866392512249732004896809236455",
"87780555174337280066216474256317773261",
"237927448834004137610321113279073805263"
]
},
"source": "https://android.googlesource.com/platform/external/libcppbor/+/8f4908840cdd9cc2fe0442033516a273046598a2",
"signature_version": "v1",
"deprecated": false
},
{
"match_only_versions": [
"12L"
],
"signature_type": "Function",
"target": {
"file": "src/cppbor_parse.cpp",
"function": "parseRecursively"
},
"id": "PUB-A-192743373-6e93dc1d",
"digest": {
"function_hash": "260938830239941536222508966363509555935",
"length": 2335.0
},
"source": "https://android.googlesource.com/platform/external/libcppbor/+/8f4908840cdd9cc2fe0442033516a273046598a2",
"signature_version": "v1",
"deprecated": false
}
],
"fixes": [
"https://android.googlesource.com/platform/external/libcppbor/+/8f4908840cdd9cc2fe0442033516a273046598a2"
],
"severity": "Moderate"
}