ASB-A-191981182

See a problem?
Import Source
https://storage.googleapis.com/android-osv/ASB-A-191981182.json
JSON Data
https://api.osv.dev/v1/vulns/ASB-A-191981182
Aliases
  • A-191981182
  • CVE-2021-0981
Published
2022-07-01T00:00:00Z
Modified
2024-08-07T19:30:10.387332Z
Summary
Starting an Unnoticed ForegroundService by Providing Malformed Notification Extra
Details

In enqueueNotificationInternal of NotificationManagerService.java, there is a possible way to run a foreground service without showing a notification due to improper input validation. This could lead to local escalation of privilege 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-07-01

Affected versions

Other

10

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "240037727117598053934682089445336783166",
                    "329474040879582449953478552907453855546",
                    "174673651793102388188071638934257456124",
                    "259588229805424313728476384333440510658",
                    "155696764481876506922343483232310471129"
                ]
            },
            "id": "ASB-A-191981182-533baa6b",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/b6b2906ea6472d182e6ae03c581a63802cd84f08",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/notification/NotificationManagerService.java"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 3611.0,
                "function_hash": "196748049840613594069406754919439538533"
            },
            "id": "ASB-A-191981182-a4fa6473",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/b6b2906ea6472d182e6ae03c581a63802cd84f08",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/notification/NotificationManagerService.java",
                "function": "enqueueNotificationInternal"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/base/+/b6b2906ea6472d182e6ae03c581a63802cd84f08"
    ],
    "spl": "2022-07-01",
    "severity": "High",
    "types": [
        "EoP"
    ]
}

Android / platform/frameworks/base

Affected ranges

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

Affected versions

Other

11

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 4610.0,
                "function_hash": "72877579714271495606303148392477615046"
            },
            "id": "ASB-A-191981182-93d7ece6",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/cb3c5c30092fb8527ff14118ccf04eae3a8363cb",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/notification/NotificationManagerService.java",
                "function": "enqueueNotificationInternal"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "13549590592486121308503808933030620588",
                    "148911571839698110200170276866997909263",
                    "212918861559158536384170514703963432599",
                    "269490775990843939007528372060340186886"
                ]
            },
            "id": "ASB-A-191981182-e10fe9cb",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/cb3c5c30092fb8527ff14118ccf04eae3a8363cb",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/notification/NotificationManagerService.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/base/+/cb3c5c30092fb8527ff14118ccf04eae3a8363cb"
    ],
    "spl": "2022-07-01",
    "severity": "High",
    "types": [
        "EoP"
    ]
}