In getAppSize of InstalldNativeService.cpp, there is a possible out of bounds read due to a missing bounds check. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.
{
"spl": "2022-06-01",
"vanir_signatures": [
{
"deprecated": false,
"source": "https://android.googlesource.com/platform/frameworks/native/+/81061238c19d7ebabb453697a8c643324cf6c68e",
"id": "PUB-A-220733817-45f8efc8",
"signature_version": "v1",
"target": {
"file": "cmds/installd/tests/installd_service_test.cpp"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"206110027184622951814648221017441832007",
"87352788869850329227676072270047846569",
"173370066077300292525950301471057070049",
"46393186790126271756704646185884947906"
]
},
"signature_type": "Line"
},
{
"id": "PUB-A-220733817-6018fbe8",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"146002072713223434484532146433948274979",
"84076225174523120938269209848789376421",
"175028155982584189132141894810676055262",
"18693068090094971411136500265513945704"
]
},
"deprecated": false,
"match_only_versions": [
"12L"
],
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/frameworks/native/+/81061238c19d7ebabb453697a8c643324cf6c68e",
"target": {
"file": "cmds/installd/InstalldNativeService.cpp"
}
}
],
"types": [
"EoP"
],
"fixes": [
"https://android.googlesource.com/platform/frameworks/native/+/81061238c19d7ebabb453697a8c643324cf6c68e"
],
"severity": "Moderate"
}