ASB-A-221859869

See a problem?
Import Source
https://storage.googleapis.com/android-osv/ASB-A-221859869.json
JSON Data
https://api.osv.dev/v1/vulns/ASB-A-221859869
Aliases
  • A-221859869
  • CVE-2022-20230
Published
2022-07-01T00:00:00Z
Modified
2024-08-07T19:30:13.607568Z
Summary
CRLF Injection in KeyChainActivity can trick user into disclosing keys in KeyChain
Details

In choosePrivateKeyAlias of KeyChain.java, there is a possible access to the user's certificate due to improper input validation. This could lead to local information disclosure with no additional execution privileges needed. User interaction is needed for exploitation.

References

Affected packages

Android / platform/packages/apps/KeyChain

Affected ranges

Type
ECOSYSTEM
Events
Introduced
10:0
Fixed
10:2022-07-01

Affected versions

Other

10

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 3074.0,
                "function_hash": "217097974442006814018562164758440435565"
            },
            "id": "ASB-A-221859869-72401f2b",
            "source": "https://android.googlesource.com/platform/packages/apps/KeyChain/+/8550c37c186099926ce364b65b61ffbf6ed7958d",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/keychain/KeyChainActivity.java",
                "function": "displayCertChooserDialog"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "99130679458070978976267941306104831263",
                    "63623956792992716364492851979458897828",
                    "249735570373909973786809012441181035085",
                    "229317488880240282701798776191960606988"
                ]
            },
            "id": "ASB-A-221859869-d4cb2a48",
            "source": "https://android.googlesource.com/platform/packages/apps/KeyChain/+/8550c37c186099926ce364b65b61ffbf6ed7958d",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/keychain/KeyChainActivity.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/apps/KeyChain/+/8550c37c186099926ce364b65b61ffbf6ed7958d"
    ],
    "spl": "2022-07-01",
    "severity": "High",
    "types": [
        "ID"
    ]
}

Android / platform/packages/apps/KeyChain

Affected ranges

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

Affected versions

Other

11

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 3074.0,
                "function_hash": "217097974442006814018562164758440435565"
            },
            "id": "ASB-A-221859869-14baa12e",
            "source": "https://android.googlesource.com/platform/packages/apps/KeyChain/+/8550c37c186099926ce364b65b61ffbf6ed7958d",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/keychain/KeyChainActivity.java",
                "function": "displayCertChooserDialog"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "99130679458070978976267941306104831263",
                    "63623956792992716364492851979458897828",
                    "249735570373909973786809012441181035085",
                    "229317488880240282701798776191960606988"
                ]
            },
            "id": "ASB-A-221859869-e68ff6cc",
            "source": "https://android.googlesource.com/platform/packages/apps/KeyChain/+/8550c37c186099926ce364b65b61ffbf6ed7958d",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/keychain/KeyChainActivity.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/apps/KeyChain/+/8550c37c186099926ce364b65b61ffbf6ed7958d"
    ],
    "spl": "2022-07-01",
    "severity": "High",
    "types": [
        "ID"
    ]
}

Android / platform/packages/apps/KeyChain

Affected ranges

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

Affected versions

Other

12

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "99130679458070978976267941306104831263",
                    "63623956792992716364492851979458897828",
                    "249735570373909973786809012441181035085",
                    "229317488880240282701798776191960606988"
                ]
            },
            "id": "ASB-A-221859869-893e3ce2",
            "source": "https://android.googlesource.com/platform/packages/apps/KeyChain/+/8550c37c186099926ce364b65b61ffbf6ed7958d",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/keychain/KeyChainActivity.java"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 3074.0,
                "function_hash": "217097974442006814018562164758440435565"
            },
            "id": "ASB-A-221859869-d39a2c0d",
            "source": "https://android.googlesource.com/platform/packages/apps/KeyChain/+/8550c37c186099926ce364b65b61ffbf6ed7958d",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/keychain/KeyChainActivity.java",
                "function": "displayCertChooserDialog"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/apps/KeyChain/+/8550c37c186099926ce364b65b61ffbf6ed7958d"
    ],
    "spl": "2022-07-01",
    "severity": "High",
    "types": [
        "ID"
    ]
}

Android / platform/packages/apps/KeyChain

Affected ranges

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

Affected versions

Other

12L

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 3074.0,
                "function_hash": "217097974442006814018562164758440435565"
            },
            "id": "ASB-A-221859869-ad7ad185",
            "source": "https://android.googlesource.com/platform/packages/apps/KeyChain/+/8550c37c186099926ce364b65b61ffbf6ed7958d",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/keychain/KeyChainActivity.java",
                "function": "displayCertChooserDialog"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "99130679458070978976267941306104831263",
                    "63623956792992716364492851979458897828",
                    "249735570373909973786809012441181035085",
                    "229317488880240282701798776191960606988"
                ]
            },
            "id": "ASB-A-221859869-e7a11022",
            "source": "https://android.googlesource.com/platform/packages/apps/KeyChain/+/8550c37c186099926ce364b65b61ffbf6ed7958d",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/keychain/KeyChainActivity.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/apps/KeyChain/+/8550c37c186099926ce364b65b61ffbf6ed7958d"
    ],
    "spl": "2022-07-01",
    "severity": "High",
    "types": [
        "ID"
    ]
}