ASB-A-209966086

See a problem?
Import Source
https://storage.googleapis.com/android-osv/ASB-A-209966086.json
JSON Data
https://api.osv.dev/v1/vulns/ASB-A-209966086
Aliases
  • A-209966086
  • CVE-2021-39808
Published
2022-04-01T00:00:00Z
Modified
2024-08-07T19:30:21.213592Z
Summary
App can remain foreground forever without showing any notification and can bypass one time permissions. android.app.cts.NotificationManagerTest#testNotify_blockedChannelGroup
Details

In createNotificationChannelGroup of PreferencesHelper.java, there is a possible way for a service to run in foreground without user 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-04-01

Affected versions

Other

10

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "8034113556860625068291420687499382141",
                    "239666131919380600346909992204352177892",
                    "72580951798790837860818645827444303746",
                    "315998510452549566250257768656486569262"
                ]
            },
            "id": "ASB-A-209966086-1d10ebfb",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/b993531c0da0b2f2076bc83af7591c7df8bfb2cb",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/notification/PreferencesHelper.java"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 1037.0,
                "function_hash": "31639584228568034920351185014605141412"
            },
            "id": "ASB-A-209966086-60cd024a",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/b993531c0da0b2f2076bc83af7591c7df8bfb2cb",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/notification/PreferencesHelper.java",
                "function": "createNotificationChannelGroup"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/base/+/b993531c0da0b2f2076bc83af7591c7df8bfb2cb"
    ],
    "spl": "2022-04-01",
    "severity": "High",
    "types": [
        "EoP"
    ]
}

Android / platform/frameworks/base

Affected ranges

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

Affected versions

Other

11

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 1133.0,
                "function_hash": "176254787725988691653872241621671528991"
            },
            "id": "ASB-A-209966086-2abbc688",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/c5b545329fad3da10a6640995f6110013ad8ff5a",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/notification/PreferencesHelper.java",
                "function": "createNotificationChannelGroup"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "8034113556860625068291420687499382141",
                    "239666131919380600346909992204352177892",
                    "21565954296713538785385233326448754542",
                    "128689527619691914233002559843408420120"
                ]
            },
            "id": "ASB-A-209966086-c21af7b9",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/c5b545329fad3da10a6640995f6110013ad8ff5a",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/notification/PreferencesHelper.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/base/+/c5b545329fad3da10a6640995f6110013ad8ff5a"
    ],
    "spl": "2022-04-01",
    "severity": "High",
    "types": [
        "EoP"
    ]
}

Android / platform/frameworks/base

Affected ranges

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

Affected versions

Other

12

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 1109.0,
                "function_hash": "233863245938784713369862393652011606556"
            },
            "id": "ASB-A-209966086-83929a37",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/119d8e1b284964e9934c073dcf4d750daed78b1a",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/notification/PreferencesHelper.java",
                "function": "createNotificationChannelGroup"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "8034113556860625068291420687499382141",
                    "239666131919380600346909992204352177892",
                    "21565954296713538785385233326448754542",
                    "128689527619691914233002559843408420120"
                ]
            },
            "id": "ASB-A-209966086-be771c85",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/119d8e1b284964e9934c073dcf4d750daed78b1a",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/notification/PreferencesHelper.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/base/+/119d8e1b284964e9934c073dcf4d750daed78b1a"
    ],
    "spl": "2022-04-01",
    "severity": "High",
    "types": [
        "EoP"
    ]
}