PUB-A-197328178

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

In isFileUri of UriUtil.java, there is a possible way to bypass ignoring file://URI attachment due to improper handling of case sensitivity. 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/Messaging

Affected ranges

Type
ECOSYSTEM
Events
Introduced
12:0
Fixed
12:2021-12-01

Affected versions

Other

12

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 144.0,
                "function_hash": "215906812200237166193055551140352639749"
            },
            "id": "PUB-A-197328178-42d4e8a5",
            "source": "https://android.googlesource.com/platform/packages/apps/Messaging/+/58ee29c68e1914af680ef0658bdb7a94e4e5e3a3",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/messaging/util/UriUtil.java",
                "function": "isFileUri"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "103653353624183390521670018533190571615",
                    "133813972390159506732618602924434228330",
                    "249063719175213754932534929031738680016",
                    "331358903205481392733917350499276060077",
                    "139158967101698425159438100258288722224"
                ]
            },
            "id": "PUB-A-197328178-6c72e01b",
            "source": "https://android.googlesource.com/platform/packages/apps/Messaging/+/58ee29c68e1914af680ef0658bdb7a94e4e5e3a3",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/messaging/util/UriUtil.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/apps/Messaging/+/58ee29c68e1914af680ef0658bdb7a94e4e5e3a3"
    ],
    "spl": "2021-12-01",
    "severity": "Moderate",
    "types": [
        "ID"
    ]
}