PUB-A-194697004

See a problem?
Import Source
https://storage.googleapis.com/android-osv/PUB-A-194697004.json
JSON Data
https://api.osv.dev/v1/vulns/PUB-A-194697004
Aliases
  • A-194697004
  • CVE-2021-1031
Published
2021-12-01T00:00:00Z
Modified
2024-11-06T16:45:39.809623Z
Summary
[none]
Details

In cancelNotificationsFromListener of NotificationManagerService.java, there is a possible way to determine whether an app is installed, without query permissions, due to side channel information disclosure. This could lead to local information disclosure 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
12:0
Fixed
12:2021-12-01

Affected versions

Other

12

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 993.0,
                "function_hash": "72144701404378703019900589006230022316"
            },
            "id": "PUB-A-194697004-04c60f0c",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/3796d9756a3e62988813051a24aca7a7db58ca2b",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/notification/NotificationManagerService.java",
                "function": "cancelNotificationsFromListener"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "18567744648214734139106862836321298943",
                    "72445644842566848353228200966244285600",
                    "209197047585216831748585707764392153581",
                    "267319627063104670019231738614404237205",
                    "174963710804768364355167164959690652305",
                    "18567744648214734139106862836321298943",
                    "72445644842566848353228200966244285600",
                    "14220396316060471532131423577997877881",
                    "200873362773084090236821757712600694640",
                    "304781138273189201788631556952422827307"
                ]
            },
            "id": "PUB-A-194697004-c7e8be6d",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/3796d9756a3e62988813051a24aca7a7db58ca2b",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/notification/NotificationManagerService.java"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 972.0,
                "function_hash": "56692510286593449960939205434479799214"
            },
            "id": "PUB-A-194697004-f5dd3ee3",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/3796d9756a3e62988813051a24aca7a7db58ca2b",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/notification/NotificationManagerService.java",
                "function": "setNotificationsShownFromListener"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/base/+/3796d9756a3e62988813051a24aca7a7db58ca2b"
    ],
    "spl": "2021-12-01",
    "severity": "Moderate",
    "types": [
        "ID"
    ]
}