PUB-A-215387420

See a problem?
Import Source
https://storage.googleapis.com/android-osv/PUB-A-215387420.json
JSON Data
https://api.osv.dev/v1/vulns/PUB-A-215387420
Aliases
  • A-215387420
  • CVE-2021-39806
Published
2022-06-01T00:00:00Z
Modified
2024-11-06T12:16:03.231308Z
Summary
[none]
Details

In closef of labelbackendsandroid.c, there is a possible way to corrupt memory due to a double free. This could lead to local escalation of privilege during startup of servicemanager, if an attacker can trigger an initialization failure, with no additional execution privileges needed. User interaction is not needed for exploitation.

References

Affected packages

Android / platform/external/selinux

Affected ranges

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

Affected versions

Other

12L-next

Ecosystem specific

{
    "vanir_signatures": [
        {
            "match_only_versions": [
                "12L-next"
            ],
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "147964945417207699165835323731164294777",
                    "188581824255746068532163302509815792704",
                    "13414737792697373489248572050824066582"
                ]
            },
            "id": "PUB-A-215387420-63757973",
            "source": "https://android.googlesource.com/platform/external/selinux/+/98fa1b865d52d97c06b754d1c2cfb69315997b65",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "libselinux/src/label_backends_android.c"
            },
            "signature_type": "Line"
        },
        {
            "match_only_versions": [
                "12L-next"
            ],
            "digest": {
                "length": 387.0,
                "function_hash": "334210609469257421118557946681882990922"
            },
            "id": "PUB-A-215387420-d0ab893d",
            "source": "https://android.googlesource.com/platform/external/selinux/+/98fa1b865d52d97c06b754d1c2cfb69315997b65",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "libselinux/src/label_backends_android.c",
                "function": "closef"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/external/selinux/+/98fa1b865d52d97c06b754d1c2cfb69315997b65"
    ],
    "spl": "2022-06-01",
    "severity": "Moderate",
    "types": [
        "EoP"
    ]
}

Android / platform/external/selinux

Affected ranges

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

Affected versions

Other

12L

Ecosystem specific

{
    "vanir_signatures": [
        {
            "match_only_versions": [
                "12L"
            ],
            "digest": {
                "length": 387.0,
                "function_hash": "334210609469257421118557946681882990922"
            },
            "id": "PUB-A-215387420-335fbbac",
            "source": "https://android.googlesource.com/platform/external/selinux/+/98fa1b865d52d97c06b754d1c2cfb69315997b65",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "libselinux/src/label_backends_android.c",
                "function": "closef"
            },
            "signature_type": "Function"
        },
        {
            "match_only_versions": [
                "12L"
            ],
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "147964945417207699165835323731164294777",
                    "188581824255746068532163302509815792704",
                    "13414737792697373489248572050824066582"
                ]
            },
            "id": "PUB-A-215387420-d8cf79d2",
            "source": "https://android.googlesource.com/platform/external/selinux/+/98fa1b865d52d97c06b754d1c2cfb69315997b65",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "libselinux/src/label_backends_android.c"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/external/selinux/+/98fa1b865d52d97c06b754d1c2cfb69315997b65"
    ],
    "spl": "2022-06-01",
    "severity": "Moderate",
    "types": [
        "EoP"
    ]
}