ASB-A-205996517

See a problem?
Import Source
https://storage.googleapis.com/android-osv/ASB-A-205996517.json
JSON Data
https://api.osv.dev/v1/vulns/ASB-A-205996517
Aliases
Published
2022-05-01T00:00:00Z
Modified
2026-04-17T15:55:28.020024Z
Summary
[none]
Details

In mPreference of DefaultUsbConfigurationPreferenceController.java, there is a possible way to enable file transfer mode due to a logic error in the code. 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/packages/apps/Settings

Affected ranges

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

Affected versions

Other
12

Ecosystem specific

{
    "severity": "High",
    "fixes": [
        "https://android.googlesource.com/platform/packages/apps/Settings/+/bc4fd99ddb494683420264e6b749a5ce80df90b9"
    ],
    "spl": "2022-05-01",
    "vanir_signatures": [
        {
            "signature_version": "v1",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/bc4fd99ddb494683420264e6b749a5ce80df90b9",
            "target": {
                "file": "src/com/android/settings/development/DefaultUsbConfigurationPreferenceController.java"
            },
            "deprecated": false,
            "digest": {
                "line_hashes": [
                    "269000646542653133433909161555740386565",
                    "43482998367376727680784956912593674371",
                    "236455026308499776578908432686746510495",
                    "317724519149780133557954008909528023486",
                    "180682668245384026634125892500330854668",
                    "83468660674728779597516850668314457265",
                    "52694094828578153072580169540511824369",
                    "101494893408651096301918374572950981811"
                ],
                "threshold": 0.9
            },
            "signature_type": "Line",
            "id": "ASB-A-205996517-c5476f70"
        }
    ],
    "types": [
        "EoP"
    ]
}

Database specific

source
"https://storage.googleapis.com/android-osv/ASB-A-205996517.json"

Android / platform/packages/apps/Settings

Affected ranges

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

Affected versions

Other
12L

Ecosystem specific

{
    "severity": "High",
    "fixes": [
        "https://android.googlesource.com/platform/packages/apps/Settings/+/bc4fd99ddb494683420264e6b749a5ce80df90b9"
    ],
    "spl": "2022-05-01",
    "vanir_signatures": [
        {
            "signature_version": "v1",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/bc4fd99ddb494683420264e6b749a5ce80df90b9",
            "target": {
                "file": "src/com/android/settings/development/DefaultUsbConfigurationPreferenceController.java"
            },
            "deprecated": false,
            "digest": {
                "line_hashes": [
                    "269000646542653133433909161555740386565",
                    "43482998367376727680784956912593674371",
                    "236455026308499776578908432686746510495",
                    "317724519149780133557954008909528023486",
                    "180682668245384026634125892500330854668",
                    "83468660674728779597516850668314457265",
                    "52694094828578153072580169540511824369",
                    "101494893408651096301918374572950981811"
                ],
                "threshold": 0.9
            },
            "signature_type": "Line",
            "id": "ASB-A-205996517-19fa7b87"
        }
    ],
    "types": [
        "EoP"
    ]
}

Database specific

source
"https://storage.googleapis.com/android-osv/ASB-A-205996517.json"