Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-46249

An authorization bypass exploited by a user-controlled key in SpecificApps REST API in ScratchOAuth2 before commit d856dc704b2504cd3b92cf089fdd366dd40775d6 allows app owners to set flags that indicate whether an app is verified on their own apps.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-46249
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:02 UTC · Revision 1

Source evidence

CVE-2021-46249

core-osv · Original source

Published 15 Feb 2022, 23:15 UTC

An authorization bypass exploited by a user-controlled key in SpecificApps REST API in ScratchOAuth2 before commit d856dc704b2504cd3b92cf089fdd366dd40775d6 allows app owners to set flags that indicate whether an app is verified on their own apps.

osv:CVE-2021-46249
Complete source record
{
  "id": "692eaba6fd27ebf3b87e6adfd25d25831e3ec4eda24795fb4ca47856b9b4d33c",
  "url": "https://osv.dev/vulnerability/CVE-2021-46249",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-46249",
    "summary": "An authorization bypass exploited by a user-controlled key in SpecificApps REST API in ScratchOAuth2 before commit d856dc704b2504cd3b92cf089fdd366dd40775d6 allows app owners to set flags that indicate whether an app is verified on their own apps.",
    "evidence": "osv:CVE-2021-46249",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-46249",
      "aliases": [
        "CVE-2021-46249"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/scratchverifier/scratchoauth2",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "d856dc704b2504cd3b92cf089fdd366dd40775d6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "d856dc704b2504cd3b92cf089fdd366dd40775d6"
                      }
                    ],
                    "source": "DESCRIPTION"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d856dc704b2504cd3b92cf089fdd366dd40775d6"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-46249.json"
          }
        }
      ],
      "modified": "2026-10-20T10:55:09.239040666Z",
      "provider": "osv",
      "references": [
        "https://github.com/ScratchVerifier/ScratchOAuth2/commit/d856dc704b2504cd3b92cf089fdd366dd40775d6"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:scratchoauth2_project:scratchoauth2:*:*:*:*:*:scratch:*:*"
            ],
            "vendor_product": "scratchoauth2_project:scratchoauth2",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "2021-04-12"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-46249",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386963,
  "published_at": "2022-02-15T23:15:07.917+00:00"
}