{"id":"CVE-2023-21140","aliases":["A-253043490","ASB-A-253043490","EUVD-2023-25308","GHSA-q935-qx8j-7pmx"],"status":"published","title":"In onCreate of ManagePermissionsActivity.java, there is a possible way to bypass factory reset...","description":"In onCreate of ManagePermissionsActivity.java, there is a possible way to bypass factory reset protections due to a missing permission check. This could lead to local escalation of privilege with physical access to a device that's been factory reset with no additional execution privileges needed. User interaction is not needed for exploitation.","severity":{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00142,"percentile":0.03551,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-862"],"published":"2023-08-01T00:00:00Z","modified":"2026-11-04T16:48:29Z","fixes":[{"ecosystem":"Android","package":"platform/packages/modules/Permission","fixed_in":["13-next:2023-08-01","12:2023-08-01","12L:2023-08-01","13:2023-08-01"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Android","package":"platform/packages/modules/Permission","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13-next:0"},{"fixed":"13-next:2023-08-01"}]}],"versions":["13-next"]},{"source":"osv","ecosystem":"Android","package":"platform/packages/modules/Permission","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12:0"},{"fixed":"12:2023-08-01"}]}],"versions":["12"]},{"source":"osv","ecosystem":"Android","package":"platform/packages/modules/Permission","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12L:0"},{"fixed":"12L:2023-08-01"}]}],"versions":["12L"]},{"source":"osv","ecosystem":"Android","package":"platform/packages/modules/Permission","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13:0"},{"fixed":"13:2023-08-01"}]}],"versions":["13"]}],"products":[{"vendor":"google","product":"android"}],"references":[{"url":"https://android.googlesource.com/platform/packages/modules/Permission/+/0679e4f35055729be7276536fe45fe8ec18a0453","tags":["x_transferred","Patch","fix"]},{"url":"https://source.android.com/security/bulletin/2023-08-01","tags":["x_transferred","Patch","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-21140"},{"url":"https://github.com/advisories/GHSA-q935-qx8j-7pmx"}],"sources":{"cve":[{"id":"CVE-2023-21140","description":"In onCreate of ManagePermissionsActivity.java, there is a possible way to bypass factory reset protections due to a missing permission check. This could lead to local escalation of privilege with physical access to a device that's been factory reset with no additional execution privileges needed. User interaction is not needed for exploitation.\n\n","status":"published","published":"2023-08-14T20:58:27.348Z","modified":"2024-10-09T19:10:39.337Z","cvss":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"adp"}],"cwes":["CWE-862"],"updated_at":"2026-11-02T14:35:20.812737Z"}],"euvd":[{"id":"EUVD-2023-25308","description":"In onCreate of ManagePermissionsActivity.java, there is a possible way to bypass factory reset protections due to a missing permission check. This could lead to local escalation of privilege with physical access to a device that's been factory reset with no additional execution privileges needed. User interaction is not needed for exploitation.\n\n","status":"published","published":"2023-08-14T20:58:27Z","modified":"2024-10-09T19:10:39Z","cvss":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"updated_at":"2026-11-03T00:27:42.985312Z"}],"ghsa":[{"id":"GHSA-q935-qx8j-7pmx","title":"In onCreate of ManagePermissionsActivity.java, there is a possible way to bypass factory reset...","description":"In onCreate of ManagePermissionsActivity.java, there is a possible way to bypass factory reset protections due to a missing permission check. This could lead to local escalation of privilege with physical access to a device that's been factory reset with no additional execution privileges needed. User interaction is not needed for exploitation.\n\n","status":"published","published":"2023-08-14T21:30:59Z","modified":"2024-04-04T06:55:52Z","cvss":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"cwes":["CWE-862"],"updated_at":"2026-11-02T14:56:47.061253Z"}],"nvd":[{"id":"CVE-2023-21140","description":"In onCreate of ManagePermissionsActivity.java, there is a possible way to bypass factory reset protections due to a missing permission check. This could lead to local escalation of privilege with physical access to a device that's been factory reset with no additional execution privileges needed. User interaction is not needed for exploitation.\n\n","status":"published","published":"2023-08-14T21:15:11.487Z","modified":"2026-06-17T05:31:55.847Z","cvss":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"primary"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"secondary"}],"cwes":["CWE-862"],"updated_at":"2026-11-02T14:08:24.487686Z"}],"osv":[{"id":"ASB-A-253043490","description":"In onCreate of ManagePermissionsActivity.java, there is a possible way to bypass factory reset protections due to a missing permission check. This could lead to local escalation of privilege with physical access to a device that's been factory reset with no additional execution privileges needed. User interaction is not needed for exploitation.","status":"published","published":"2023-08-01T00:00:00Z","modified":"2026-11-05T16:32:28.703711716Z","updated_at":"2026-11-05T17:55:15.258551Z"}]}}
