ASB-A-242537498

See a problem?
Import Source
https://storage.googleapis.com/android-osv/ASB-A-242537498.json
JSON Data
https://api.osv.dev/v1/vulns/ASB-A-242537498
Aliases
  • A-242537498
  • CVE-2023-20911
Published
2023-03-01T00:00:00Z
Modified
2024-08-07T19:30:07.471042Z
Summary
Auto grant permission after the permission is revoked without the user's awareness via PackageManager#addPermission
Details

In addPermission of PermissionManagerServiceImpl.java , there is a possible failure to persist permission settings due to resource exhaustion. 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
13-next:0
Fixed
13-next:2023-03-01

Affected versions

Other

13-next

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "327582123559858781977117958780113467126",
                    "83537071210620035477133119881071565690",
                    "44333672605357550839179852586856802716",
                    "241802534055844365783328220125817648603",
                    "97112676878571324541325114554768250135",
                    "64220535494009218787422161738013770246"
                ]
            },
            "id": "ASB-A-242537498-75a2c2f4",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/11c306e3db5f015dee0952efe1c26fa6343201ae",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/pm/permission/PermissionManagerServiceImpl.java"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 1009.0,
                "function_hash": "26013401248605620036221261771773677390"
            },
            "id": "ASB-A-242537498-f1e30483",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/11c306e3db5f015dee0952efe1c26fa6343201ae",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/pm/permission/PermissionManagerServiceImpl.java",
                "function": "addPermission"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/base/+/11c306e3db5f015dee0952efe1c26fa6343201ae"
    ],
    "spl": "2023-03-01",
    "severity": "High",
    "types": [
        "EoP"
    ]
}

Android / platform/frameworks/base

Affected ranges

Type
ECOSYSTEM
Events
Introduced
11:0
Fixed
11:2023-03-01

Affected versions

Other

11

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "295703079519489327374525897052801992582",
                    "238878028724186134214475222640892592517",
                    "44333672605357550839179852586856802716",
                    "281036421207129532321443332768700420552",
                    "187617202663803963190501833925435569594",
                    "45358327056640962482356134104137831131"
                ]
            },
            "id": "ASB-A-242537498-2bd6224b",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/8fdf4530aac096d87c8d6afe64036f972a3835be",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/pm/permission/PermissionManagerService.java"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 1015.0,
                "function_hash": "262889252496986112574238164846940992953"
            },
            "id": "ASB-A-242537498-5fe4a35b",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/8fdf4530aac096d87c8d6afe64036f972a3835be",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/pm/permission/PermissionManagerService.java",
                "function": "addPermission"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/base/+/8fdf4530aac096d87c8d6afe64036f972a3835be"
    ],
    "spl": "2023-03-01",
    "severity": "High",
    "types": [
        "EoP"
    ]
}

Android / platform/frameworks/base

Affected ranges

Type
ECOSYSTEM
Events
Introduced
12:0
Fixed
12:2023-03-01

Affected versions

Other

12

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 1000.0,
                "function_hash": "140617909913934172325911125204063752014"
            },
            "id": "ASB-A-242537498-60defdb8",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/1d86c8b29922525972559e00e26c1fcd6f496353",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/pm/permission/PermissionManagerService.java",
                "function": "addPermission"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "327582123559858781977117958780113467126",
                    "83537071210620035477133119881071565690",
                    "44333672605357550839179852586856802716",
                    "241802534055844365783328220125817648603",
                    "97112676878571324541325114554768250135",
                    "64220535494009218787422161738013770246"
                ]
            },
            "id": "ASB-A-242537498-ebf3b092",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/1d86c8b29922525972559e00e26c1fcd6f496353",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/pm/permission/PermissionManagerService.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/base/+/1d86c8b29922525972559e00e26c1fcd6f496353"
    ],
    "spl": "2023-03-01",
    "severity": "High",
    "types": [
        "EoP"
    ]
}

Android / platform/frameworks/base

Affected ranges

Type
ECOSYSTEM
Events
Introduced
12L:0
Fixed
12L:2023-03-01

Affected versions

Other

12L

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 1000.0,
                "function_hash": "140617909913934172325911125204063752014"
            },
            "id": "ASB-A-242537498-230ca2f0",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/90e7b4cc40a51bad7d26809fc4c0662e5a129ec7",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/pm/permission/PermissionManagerService.java",
                "function": "addPermission"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "327582123559858781977117958780113467126",
                    "83537071210620035477133119881071565690",
                    "44333672605357550839179852586856802716",
                    "241802534055844365783328220125817648603",
                    "97112676878571324541325114554768250135",
                    "64220535494009218787422161738013770246"
                ]
            },
            "id": "ASB-A-242537498-dd1e0e41",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/90e7b4cc40a51bad7d26809fc4c0662e5a129ec7",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/pm/permission/PermissionManagerService.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/base/+/90e7b4cc40a51bad7d26809fc4c0662e5a129ec7"
    ],
    "spl": "2023-03-01",
    "severity": "High",
    "types": [
        "EoP"
    ]
}

Android / platform/frameworks/base

Affected ranges

Type
ECOSYSTEM
Events
Introduced
13:0
Fixed
13:2023-03-01

Affected versions

Other

13

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "327582123559858781977117958780113467126",
                    "83537071210620035477133119881071565690",
                    "44333672605357550839179852586856802716",
                    "241802534055844365783328220125817648603",
                    "97112676878571324541325114554768250135",
                    "64220535494009218787422161738013770246"
                ]
            },
            "id": "ASB-A-242537498-86f5b37b",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/973c67f7fc5d1321ff38e861dfe256a2877af5f0",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/pm/permission/PermissionManagerServiceImpl.java"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 1009.0,
                "function_hash": "26013401248605620036221261771773677390"
            },
            "id": "ASB-A-242537498-a0c792fc",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/973c67f7fc5d1321ff38e861dfe256a2877af5f0",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/pm/permission/PermissionManagerServiceImpl.java",
                "function": "addPermission"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/base/+/973c67f7fc5d1321ff38e861dfe256a2877af5f0"
    ],
    "spl": "2023-03-01",
    "severity": "High",
    "types": [
        "EoP"
    ]
}