{"id":"CVE-2021-39697","aliases":["A-200813547","ASB-A-200813547","EUVD-2021-26054","GHSA-93fw-jj7x-4xh7"],"status":"published","title":"In checkFileUriDestination of DownloadProvider.java, there is a possible way to bypass external...","description":"In checkFileUriDestination of DownloadProvider.java, there is a possible way to bypass external storage private directories protection due to a missing permission check. This could lead to local escalation of privilege with User execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-12Android ID: A-200813547","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00128,"percentile":0.0245,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-281","CWE-862"],"published":"2022-03-01T00:00:00Z","modified":"2026-11-05T16:32:28Z","fixes":[{"ecosystem":"Android","package":"platform/packages/providers/DownloadProvider","fixed_in":["11:2022-03-01","12:2022-03-01","12L:2022-03-01"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Android","package":"platform/packages/providers/DownloadProvider","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"11:0"},{"fixed":"11:2022-03-01"}]}],"versions":["11"]},{"source":"osv","ecosystem":"Android","package":"platform/packages/providers/DownloadProvider","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12:0"},{"fixed":"12:2022-03-01"}]}],"versions":["12"]},{"source":"osv","ecosystem":"Android","package":"platform/packages/providers/DownloadProvider","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12L:0"},{"fixed":"12L:2022-03-01"}]}],"versions":["12L"]}],"products":[{"vendor":"google","product":"android"}],"references":[{"url":"https://source.android.com/security/bulletin/2022-03-01","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39697"},{"url":"https://github.com/advisories/GHSA-93fw-jj7x-4xh7"},{"url":"https://android.googlesource.com/platform/packages/providers/DownloadProvider/+/0dc5048914eb6a7f919c8749172b971cbb315870","tags":["fix"]},{"url":"https://android.googlesource.com/platform/packages/providers/DownloadProvider/+/9ff84f6d353a7647efba91d74e31d17ba6b765b7","tags":["fix"]}],"sources":{"cve":[{"id":"CVE-2021-39697","description":"In checkFileUriDestination of DownloadProvider.java, there is a possible way to bypass external storage private directories protection due to a missing permission check. This could lead to local escalation of privilege with User execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-12Android ID: A-200813547","status":"published","published":"2022-03-16T14:04:13Z","modified":"2024-08-04T02:13:37.825Z","updated_at":"2026-11-02T14:33:09.175141Z"}],"euvd":[{"id":"EUVD-2021-26054","description":"In checkFileUriDestination of DownloadProvider.java, there is a possible way to bypass external storage private directories protection due to a missing permission check. This could lead to local escalation of privilege with User execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-12Android ID: A-200813547","status":"published","published":"2022-03-16T14:04:13Z","modified":"2024-08-04T02:13:37Z","updated_at":"2026-11-03T03:24:22.709283Z"}],"ghsa":[{"id":"GHSA-93fw-jj7x-4xh7","title":"In checkFileUriDestination of DownloadProvider.java, there is a possible way to bypass external...","description":"In checkFileUriDestination of DownloadProvider.java, there is a possible way to bypass external storage private directories protection due to a missing permission check. This could lead to local escalation of privilege with User execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-12Android ID: A-200813547","status":"published","published":"2022-03-17T00:00:43Z","modified":"2023-01-27T05:00:46Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-281"],"updated_at":"2026-11-02T14:41:44.80267Z"}],"nvd":[{"id":"CVE-2021-39697","description":"In checkFileUriDestination of DownloadProvider.java, there is a possible way to bypass external storage private directories protection due to a missing permission check. This could lead to local escalation of privilege with User execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-12Android ID: A-200813547","status":"published","published":"2022-03-16T15:15:10.713Z","modified":"2026-06-17T04:04:01.1Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-862"],"updated_at":"2026-11-02T14:07:05.198719Z"}],"osv":[{"id":"ASB-A-200813547","description":"In checkFileUriDestination of DownloadProvider.java, there is a possible way to bypass external storage private directories protection due to a missing permission check. This could lead to local escalation of privilege with User execution privileges needed. User interaction is not needed for exploitation.","status":"published","published":"2022-03-01T00:00:00Z","modified":"2026-11-05T16:32:28.703711716Z","updated_at":"2026-11-05T17:55:14.774652Z"}]}}
