{
  "affected": [
    {
      "database_specific": {
        "unresolved_ranges": [
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "12.0-NA"
              }
            ]
          },
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "12.1-NA"
              }
            ]
          },
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "13.0-NA"
              }
            ]
          }
        ]
      }
    }
  ],
  "details": "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",
  "id": "CVE-2023-21140",
  "modified": "2026-03-13T21:49:21.370034556Z",
  "published": "2023-08-14T21:15:11.487Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://android.googlesource.com/platform/packages/modules/Permission/+/0679e4f35055729be7276536fe45fe8ec18a0453"
    },
    {
      "type": "FIX",
      "url": "https://source.android.com/security/bulletin/2023-08-01"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}