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