PUB-A-220733817

See a problem?
Import Source
https://storage.googleapis.com/android-osv/PUB-A-220733817.json
JSON Data
https://api.osv.dev/v1/vulns/PUB-A-220733817
Aliases
  • A-220733817
  • CVE-2022-20201
Published
2022-06-01T00:00:00Z
Modified
2026-09-24T20:28:40Z
Summary
[none]
Details

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.

References

Affected packages

Android / platform/frameworks/native

Affected ranges

Type
ECOSYSTEM
Events
Introduced
12L:0
Fixed
12L:2022-06-01

Affected versions

Other
12L

Ecosystem specific

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

Database specific

source
"https://storage.googleapis.com/android-osv/PUB-A-220733817.json"