{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-29437 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-29437 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-29437 is a high-severity authentication bypass vulnerability in ScratchVerifier ScratchOAuth2, published on 13 Apr 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-29437 and fix it if it is affected.\n\nWhat it is: CVE-2021-29437 is a high-severity authentication bypass vulnerability in ScratchVerifier ScratchOAuth2, published on 13 Apr 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-29437 in the wild and no public exploit code.\n\nAffected product: ScratchVerifier ScratchOAuth2. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-29437/ (Markdown: https://insights.sbomify.com/CVE-2021-29437/index.md)","id":"CVE-2021-29437","markdown":"https://insights.sbomify.com/CVE-2021-29437/index.md","name":"CVE-2021-29437","record":{"aliases":["GHSA-gvpg-23fh-8g75"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["account_takeover","data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Scratch OAuth library","requires_auth":"none","summary":"Attackers can hijack user accounts by tricking users into posting login codes, granting full access to user data and actions.","user_interaction":"required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"scratchoauth2","vendor":"scratchoauth2_project"}],"cvss":{"score":8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"description":"ScratchOAuth2 is an Oauth implementation for Scratch. Any ScratchOAuth2-related data normally accessible and modifiable by a user can be read and modified by a third party. 1. Scratch user visits 3rd party site. 2. 3rd party site asks user for Scratch username. 3. 3rd party site pretends to be user and gets login code from ScratchOAuth2. 4. 3rd party site gives code to user and instructs them to post it on their profile. 5. User posts code on their profile, not knowing it is a ScratchOAuth2 login code. 6. 3rd party site completes login with ScratchOAuth2. 7. 3rd party site has full access to anything the user could do if they directly logged in. See referenced GitHub security advisory for patch notes and workarounds.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Account compromise by man-in-the-middle attack","id":"CVE-2021-29437","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"auth_bypass","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in @nextcloud/dialogs","id":"CVE-2021-29438"},"packages":[],"prev":{"headline":"Cross site request forgery vulnerability","id":"CVE-2021-29436"},"products":["ScratchOAuth2"],"published":"2021-04-13","related":[{"cvss_score":10,"headline":"Auth bypass in n/a","id":"CVE-2021-46250","kev_date_added":null,"published":"2022-02-15"},{"cvss_score":6.5,"headline":"Auth bypass in n/a","id":"CVE-2021-46249","kev_date_added":null,"published":"2022-02-15"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2021-46251","kev_date_added":null,"published":"2022-02-15"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["ScratchVerifier"]},"summary":"Attackers can hijack user accounts by tricking users into posting login codes, granting full access to user data and actions.","url":"https://insights.sbomify.com/CVE-2021-29437/"}