PUB-A-220737634

See a problem?
Import Source
https://storage.googleapis.com/android-osv/PUB-A-220737634.json
JSON Data
https://api.osv.dev/v1/vulns/PUB-A-220737634
Aliases
  • A-220737634
  • CVE-2022-20206
Published
2022-06-01T00:00:00Z
Modified
2026-09-22T15:22:15Z
Summary
[none]
Details

In setPackageOrComponentEnabled of NotificationManagerService.java, there is a missing permission check. This could lead to local information disclosure about enabled notification listeners with User execution privileges needed. User interaction is not needed for exploitation.

References

Affected packages

Android / platform/frameworks/base

Affected ranges

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

Affected versions

Other
12L-next

Ecosystem specific

{
    "fixes":  [
        "https://android.googlesource.com/platform/frameworks/base/+/8ea87a68775662cdeb9e6786e95da48cdfe6d792"
    ],
    "severity":  "Moderate",
    "spl":  "2022-06-01",
    "types":  [
        "ID"
    ],
    "vanir_signatures":  [
        {
            "deprecated":  false,
            "digest":  {
                "function_hash":  "74169396570657966458974536996553015934",
                "length":  325
            },
            "id":  "PUB-A-220737634-86010cb6",
            "match_only_versions":  [
                "12L-next"
            ],
            "signature_type":  "Function",
            "signature_version":  "v1",
            "source":  "https://android.googlesource.com/platform/frameworks/base/+/8ea87a68775662cdeb9e6786e95da48cdfe6d792",
            "target":  {
                "file":  "services/core/java/com/android/server/notification/NotificationManagerService.java",
                "function":  "setPackageOrComponentEnabled"
            }
        },
        {
            "deprecated":  false,
            "digest":  {
                "line_hashes":  [
                    "139727855134190292215210315809558621887",
                    "328184728541673823851081058804331044837",
                    "28306553086583300279790545081634269497",
                    "212366489182376849850214613363801528837",
                    "216324127212490409410530310274160899549",
                    "337765672091484012893070019445469805132",
                    "216031990540261583274555498325510460896"
                ],
                "threshold":  0.9
            },
            "id":  "PUB-A-220737634-e6d499aa",
            "match_only_versions":  [
                "12L-next"
            ],
            "signature_type":  "Line",
            "signature_version":  "v1",
            "source":  "https://android.googlesource.com/platform/frameworks/base/+/8ea87a68775662cdeb9e6786e95da48cdfe6d792",
            "target":  {
                "file":  "services/core/java/com/android/server/notification/NotificationManagerService.java"
            }
        }
    ]
}

Database specific

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

Android / platform/frameworks/base

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/base/+/89f6161d7a9fc8860b1363f16fb33f924e3cf760"
    ],
    "severity":  "Moderate",
    "spl":  "2022-06-01",
    "types":  [
        "ID"
    ],
    "vanir_signatures":  [
        {
            "deprecated":  false,
            "digest":  {
                "function_hash":  "74169396570657966458974536996553015934",
                "length":  325
            },
            "id":  "PUB-A-220737634-6cf30ba0",
            "match_only_versions":  [
                "12L"
            ],
            "signature_type":  "Function",
            "signature_version":  "v1",
            "source":  "https://android.googlesource.com/platform/frameworks/base/+/89f6161d7a9fc8860b1363f16fb33f924e3cf760",
            "target":  {
                "file":  "services/core/java/com/android/server/notification/NotificationManagerService.java",
                "function":  "setPackageOrComponentEnabled"
            }
        },
        {
            "deprecated":  false,
            "digest":  {
                "line_hashes":  [
                    "139727855134190292215210315809558621887",
                    "328184728541673823851081058804331044837",
                    "28306553086583300279790545081634269497",
                    "212366489182376849850214613363801528837",
                    "216324127212490409410530310274160899549",
                    "337765672091484012893070019445469805132",
                    "216031990540261583274555498325510460896"
                ],
                "threshold":  0.9
            },
            "id":  "PUB-A-220737634-95bae6e8",
            "match_only_versions":  [
                "12L"
            ],
            "signature_type":  "Line",
            "signature_version":  "v1",
            "source":  "https://android.googlesource.com/platform/frameworks/base/+/89f6161d7a9fc8860b1363f16fb33f924e3cf760",
            "target":  {
                "file":  "services/core/java/com/android/server/notification/NotificationManagerService.java"
            }
        }
    ]
}

Database specific

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