ASB-A-228450832

See a problem?
Import Source
https://storage.googleapis.com/android-osv/ASB-A-228450832.json
JSON Data
https://api.osv.dev/v1/vulns/ASB-A-228450832
Aliases
  • A-228450832
  • CVE-2023-21093
Published
2023-04-01T00:00:00Z
Modified
2024-08-07T19:29:21.386416Z
Summary
Legacy apps bypass restrict to insert/update files to other app's external private dirs
Details

In extractRelativePath of FileUtils.java, there is a possible way to access files in a directory belonging to other applications due to a path traversal error. 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/providers/MediaProvider

Affected ranges

Type
ECOSYSTEM
Events
Introduced
13-next:0
Fixed
13-next:2023-04-01

Affected versions

Other

13-next

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "206188904398887157952849569299816887768",
                    "294715035373445758583643144815576799072",
                    "160515729426048839210765872878504830984",
                    "64249307036594502547115617933033992750",
                    "31929445247905290476559195036969378820",
                    "227227288452679631525890011656619600363",
                    "157133681087591560378184964094355114139"
                ]
            },
            "exact_target_file_match_only": true,
            "source": "https://android.googlesource.com/platform/packages/providers/MediaProvider/+/798fa4b89e154877e4ddafc3894eb8275a74eb7e",
            "deprecated": false,
            "id": "ASB-A-228450832-4ff3c90f",
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/providers/media/util/FileUtils.java"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 392.0,
                "function_hash": "186571651556252326343810402849572478373"
            },
            "exact_target_file_match_only": true,
            "source": "https://android.googlesource.com/platform/packages/providers/MediaProvider/+/798fa4b89e154877e4ddafc3894eb8275a74eb7e",
            "deprecated": false,
            "id": "ASB-A-228450832-8ca49847",
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/providers/media/util/FileUtils.java",
                "function": "extractRelativePath"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/providers/MediaProvider/+/798fa4b89e154877e4ddafc3894eb8275a74eb7e"
    ],
    "spl": "2023-04-01",
    "severity": "High",
    "types": [
        "EoP"
    ]
}

Android / platform/packages/providers/MediaProvider

Affected ranges

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

Affected versions

Other

11

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 392.0,
                "function_hash": "186571651556252326343810402849572478373"
            },
            "exact_target_file_match_only": true,
            "source": "https://android.googlesource.com/platform/packages/providers/MediaProvider/+/0f59f42685f186fd207355c01c580038436713ba",
            "deprecated": false,
            "id": "ASB-A-228450832-07b00f00",
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/providers/media/util/FileUtils.java",
                "function": "extractRelativePath"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "206188904398887157952849569299816887768",
                    "294715035373445758583643144815576799072",
                    "160515729426048839210765872878504830984",
                    "64249307036594502547115617933033992750",
                    "31929445247905290476559195036969378820",
                    "327483409690538881822271074525609590913",
                    "58494975484443663623447151996032049150"
                ]
            },
            "exact_target_file_match_only": true,
            "source": "https://android.googlesource.com/platform/packages/providers/MediaProvider/+/0f59f42685f186fd207355c01c580038436713ba",
            "deprecated": false,
            "id": "ASB-A-228450832-7e7e3db8",
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/providers/media/util/FileUtils.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/providers/MediaProvider/+/0f59f42685f186fd207355c01c580038436713ba"
    ],
    "spl": "2023-04-01",
    "severity": "High",
    "types": [
        "EoP"
    ]
}

Android / platform/packages/providers/MediaProvider

Affected ranges

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

Affected versions

Other

12

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 392.0,
                "function_hash": "186571651556252326343810402849572478373"
            },
            "exact_target_file_match_only": true,
            "source": "https://android.googlesource.com/platform/packages/providers/MediaProvider/+/43b718413e30fc2525bacfc4f9291e7998ad467d",
            "deprecated": false,
            "id": "ASB-A-228450832-a121c282",
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/providers/media/util/FileUtils.java",
                "function": "extractRelativePath"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "206188904398887157952849569299816887768",
                    "294715035373445758583643144815576799072",
                    "160515729426048839210765872878504830984",
                    "64249307036594502547115617933033992750",
                    "31929445247905290476559195036969378820",
                    "216381434451874399883716768998548753683",
                    "67285741456772442012070940876174401461"
                ]
            },
            "exact_target_file_match_only": true,
            "source": "https://android.googlesource.com/platform/packages/providers/MediaProvider/+/43b718413e30fc2525bacfc4f9291e7998ad467d",
            "deprecated": false,
            "id": "ASB-A-228450832-cb7efb17",
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/providers/media/util/FileUtils.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/providers/MediaProvider/+/43b718413e30fc2525bacfc4f9291e7998ad467d"
    ],
    "spl": "2023-04-01",
    "severity": "High",
    "types": [
        "EoP"
    ]
}

Android / platform/packages/providers/MediaProvider

Affected ranges

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

Affected versions

Other

12L

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "206188904398887157952849569299816887768",
                    "294715035373445758583643144815576799072",
                    "160515729426048839210765872878504830984",
                    "64249307036594502547115617933033992750",
                    "31929445247905290476559195036969378820",
                    "216381434451874399883716768998548753683",
                    "67285741456772442012070940876174401461"
                ]
            },
            "exact_target_file_match_only": true,
            "source": "https://android.googlesource.com/platform/packages/providers/MediaProvider/+/cadac8cdf43ff1854da9b2013dd34f086df724d7",
            "deprecated": false,
            "id": "ASB-A-228450832-a383de1e",
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/providers/media/util/FileUtils.java"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 392.0,
                "function_hash": "186571651556252326343810402849572478373"
            },
            "exact_target_file_match_only": true,
            "source": "https://android.googlesource.com/platform/packages/providers/MediaProvider/+/cadac8cdf43ff1854da9b2013dd34f086df724d7",
            "deprecated": false,
            "id": "ASB-A-228450832-b0222b9d",
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/providers/media/util/FileUtils.java",
                "function": "extractRelativePath"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/providers/MediaProvider/+/cadac8cdf43ff1854da9b2013dd34f086df724d7"
    ],
    "spl": "2023-04-01",
    "severity": "High",
    "types": [
        "EoP"
    ]
}

Android / platform/packages/providers/MediaProvider

Affected ranges

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

Affected versions

Other

13

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 392.0,
                "function_hash": "186571651556252326343810402849572478373"
            },
            "exact_target_file_match_only": true,
            "source": "https://android.googlesource.com/platform/packages/providers/MediaProvider/+/1426f04cd2b4940f9308432d37cc4ef79a7d8340",
            "deprecated": false,
            "id": "ASB-A-228450832-30167f3d",
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/providers/media/util/FileUtils.java",
                "function": "extractRelativePath"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "206188904398887157952849569299816887768",
                    "294715035373445758583643144815576799072",
                    "160515729426048839210765872878504830984",
                    "64249307036594502547115617933033992750",
                    "31929445247905290476559195036969378820",
                    "227227288452679631525890011656619600363",
                    "157133681087591560378184964094355114139"
                ]
            },
            "exact_target_file_match_only": true,
            "source": "https://android.googlesource.com/platform/packages/providers/MediaProvider/+/1426f04cd2b4940f9308432d37cc4ef79a7d8340",
            "deprecated": false,
            "id": "ASB-A-228450832-317baae8",
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/providers/media/util/FileUtils.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/providers/MediaProvider/+/1426f04cd2b4940f9308432d37cc4ef79a7d8340"
    ],
    "spl": "2023-04-01",
    "severity": "High",
    "types": [
        "EoP"
    ]
}