CVE-2021-29437
JSON

8.0high

Account compromise by man-in-the-middle attack

Severity
8.0high CVSS:3.1 by GitHub_M
Exploit likelihood
0.89% (higher than 57% of CVEs)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
ScratchVerifier ScratchOAuth2< 9220c2aCVE List
scratchoauth2_project scratchoauth2before 2021-04-13NVD

All scores

GitHub_M8.0high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
NVD6.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
NVD4.0medium CVSS:2.0AV:N/AC:H/Au:N/C:P/I:P/A:N

Classification

What each source says

CVE List

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.

NVD (es)

ScratchOAuth2 es una implementación de Oauth para Scratch.&#xa0;Cualquier dato relacionado con ScratchOAuth2 normalmente accesible y modificable por un usuario puede ser leído y modificado por un tercero.&#xa0;1. El usuario de Scratch visita un sitio de terceros.&#xa0;2. El sitio de terceros solicita al usuario el nombre de usuario de Scratch.&#xa0;3. El sitio de terceros pretende ser un usuario y obtiene el código de inicio de sesión de ScratchOAuth2.&#xa0;4. El sitio de terceros proporciona un código al usuario y le indica que lo publique en su perfil.&#xa0;5. El usuario publica el código en su perfil, sin saber que es un código de inicio de sesión de ScratchOAuth2.&#xa0;6. El sitio de terceros completa el inicio de sesión con ScratchOAuth2.&#xa0;7. El sitio de terceros tiene acceso completo a cualquier cosa que el usuario pueda hacer si inicia sesión directamente. Consulte el aviso de seguridad de GitHub al que se hace referencia para ver notas de parches y soluciones

References

Sources

SourceRecordLicence
CVE ListCVE-2021-29437 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-29437 changed 2026-06-17Public domain