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.
{ "fixes": [ "https://android.googlesource.com/platform/frameworks/native/+/81061238c19d7ebabb453697a8c643324cf6c68e" ], "severity": "Moderate", "types": [ "EoP" ], "spl": "2022-06-01", "vanir_signatures": [ { "target": { "file": "cmds/installd/tests/installd_service_test.cpp" }, "id": "PUB-A-220733817-45f8efc8", "deprecated": false, "digest": { "threshold": 0.9, "line_hashes": [ "206110027184622951814648221017441832007", "87352788869850329227676072270047846569", "173370066077300292525950301471057070049", "46393186790126271756704646185884947906" ] }, "source": "https://android.googlesource.com/platform/frameworks/native/+/81061238c19d7ebabb453697a8c643324cf6c68e", "signature_type": "Line", "signature_version": "v1" }, { "id": "PUB-A-220733817-6018fbe8", "deprecated": false, "source": "https://android.googlesource.com/platform/frameworks/native/+/81061238c19d7ebabb453697a8c643324cf6c68e", "signature_version": "v1", "match_only_versions": [ "12L" ], "digest": { "threshold": 0.9, "line_hashes": [ "146002072713223434484532146433948274979", "84076225174523120938269209848789376421", "175028155982584189132141894810676055262", "18693068090094971411136500265513945704" ] }, "target": { "file": "cmds/installd/InstalldNativeService.cpp" }, "signature_type": "Line" } ] }