ASB-A-246540168

See a problem?
Import Source
https://storage.googleapis.com/android-osv/ASB-A-246540168.json
JSON Data
https://api.osv.dev/v1/vulns/ASB-A-246540168
Aliases
  • A-246540168
  • CVE-2022-20500
Published
2022-12-01T00:00:00Z
Modified
2024-08-07T19:29:30.971928Z
Summary
Permanent denial of service via ShortcutManager#addDynamicShortcuts with invalid Intent.mFlags
Details

In loadFromXml of ShortcutPackage.java, there is a possible crash on boot due to an uncaught exception. This could lead to local denial of service with no additional execution privileges needed. User interaction is not needed for exploitation.

References

Affected packages

Android / platform/frameworks/base

Affected ranges

Type
ECOSYSTEM
Events
Introduced
10:0
Fixed
10:2022-12-01

Affected versions

Other

10

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 1163.0,
                "function_hash": "303307791426374916355773548631408145706"
            },
            "id": "ASB-A-246540168-b21ebe2c",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/9b0dd514d29bbf986f1d1a3c6cebc2ef2bcf782e",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/pm/ShortcutPackage.java",
                "function": "loadFromXml"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "34419333322541914813054904699286127292",
                    "12464633297697607084927863006138098181",
                    "178337061343133787076664750874546771501",
                    "119490588587155382841851979906465608031",
                    "219571269220090821969910062474873505339",
                    "48533088707302787240171646085345067499"
                ]
            },
            "id": "ASB-A-246540168-c87b34dc",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/9b0dd514d29bbf986f1d1a3c6cebc2ef2bcf782e",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/pm/ShortcutPackage.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/base/+/9b0dd514d29bbf986f1d1a3c6cebc2ef2bcf782e"
    ],
    "spl": "2022-12-01",
    "severity": "High",
    "types": [
        "DoS"
    ]
}

Android / platform/frameworks/base

Affected ranges

Type
ECOSYSTEM
Events
Introduced
11:0
Fixed
11:2022-12-01

Affected versions

Other

11

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 1163.0,
                "function_hash": "303307791426374916355773548631408145706"
            },
            "id": "ASB-A-246540168-70845aa7",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/a8fe41afb0a89979386ffd17213eb7b5f1c3739d",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/pm/ShortcutPackage.java",
                "function": "loadFromXml"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "34419333322541914813054904699286127292",
                    "12464633297697607084927863006138098181",
                    "178337061343133787076664750874546771501",
                    "119490588587155382841851979906465608031",
                    "219571269220090821969910062474873505339",
                    "48533088707302787240171646085345067499"
                ]
            },
            "id": "ASB-A-246540168-88518ba1",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/a8fe41afb0a89979386ffd17213eb7b5f1c3739d",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/pm/ShortcutPackage.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/base/+/a8fe41afb0a89979386ffd17213eb7b5f1c3739d"
    ],
    "spl": "2022-12-01",
    "severity": "High",
    "types": [
        "DoS"
    ]
}

Android / platform/frameworks/base

Affected ranges

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

Affected versions

Other

12

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 1305.0,
                "function_hash": "234566476942551792555054834701921045702"
            },
            "id": "ASB-A-246540168-241602ba",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/36338a315218221e51c24a42e44c4f743d416f82",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/pm/ShortcutPackage.java",
                "function": "loadFromXml"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "34419333322541914813054904699286127292",
                    "12464633297697607084927863006138098181",
                    "178337061343133787076664750874546771501",
                    "119490588587155382841851979906465608031",
                    "219571269220090821969910062474873505339",
                    "48533088707302787240171646085345067499"
                ]
            },
            "id": "ASB-A-246540168-79431f6c",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/36338a315218221e51c24a42e44c4f743d416f82",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/pm/ShortcutPackage.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/base/+/36338a315218221e51c24a42e44c4f743d416f82"
    ],
    "spl": "2022-12-01",
    "severity": "High",
    "types": [
        "DoS"
    ]
}

Android / platform/frameworks/base

Affected ranges

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

Affected versions

Other

12L

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 1305.0,
                "function_hash": "234566476942551792555054834701921045702"
            },
            "id": "ASB-A-246540168-8f2ca78e",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/36338a315218221e51c24a42e44c4f743d416f82",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/pm/ShortcutPackage.java",
                "function": "loadFromXml"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "34419333322541914813054904699286127292",
                    "12464633297697607084927863006138098181",
                    "178337061343133787076664750874546771501",
                    "119490588587155382841851979906465608031",
                    "219571269220090821969910062474873505339",
                    "48533088707302787240171646085345067499"
                ]
            },
            "id": "ASB-A-246540168-b2d6378c",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/36338a315218221e51c24a42e44c4f743d416f82",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/pm/ShortcutPackage.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/base/+/36338a315218221e51c24a42e44c4f743d416f82"
    ],
    "spl": "2022-12-01",
    "severity": "High",
    "types": [
        "DoS"
    ]
}

Android / platform/frameworks/base

Affected ranges

Type
ECOSYSTEM
Events
Introduced
13:0
Fixed
13:2022-12-01

Affected versions

Other

13

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "34419333322541914813054904699286127292",
                    "12464633297697607084927863006138098181",
                    "178337061343133787076664750874546771501",
                    "119490588587155382841851979906465608031",
                    "219571269220090821969910062474873505339",
                    "48533088707302787240171646085345067499"
                ]
            },
            "id": "ASB-A-246540168-6b98b4b5",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/5238a70be8c3348f9592de5e625f6311e4d51032",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/pm/ShortcutPackage.java"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 1351.0,
                "function_hash": "63506753563844308566678897586287669685"
            },
            "id": "ASB-A-246540168-73182cb7",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/5238a70be8c3348f9592de5e625f6311e4d51032",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/pm/ShortcutPackage.java",
                "function": "loadFromXml"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/base/+/5238a70be8c3348f9592de5e625f6311e4d51032"
    ],
    "spl": "2022-12-01",
    "severity": "High",
    "types": [
        "DoS"
    ]
}