CVE-2024-21632
JSON

8.6high

omniauth-microsoft_graph vulnerable to account takeover (nOAuth)

Severity
8.6high CVSS:3.1 by GitHub_M
Exploit likelihood
0.90% (higher than 60% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-5g66-628f-7cvj

Description

omniauth-microsoft_graph provides an Omniauth strategy for the Microsoft Graph API. Prior to versions 2.0.0, the implementation did not validate the legitimacy of the `email` attribute of the user nor did it give/document an option to do so, making it susceptible to nOAuth misconfiguration in cases when the `email` is used as a trusted user identifier. This could lead to account takeover. Version 2.0.0 contains a fix for this issue.

Affected

Product or packageVersionsReported by
synth omniauth-microsoft_graph< 2.0.0CVE List
omniauth-microsoft_graph (RubyGems)before 2.0.0GitHub Advisory Database
recognizeapp omniauth::microsoftgraphbefore 2.0.0NVD

All scores

GitHub_M8.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
GitHub8.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-287

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

omniauth-microsoft_graph provides an Omniauth strategy for the Microsoft Graph API. Prior to versions 2.0.0, the implementation did not validate the legitimacy of the `email` attribute of the user nor did it give/document an option to do so, making it susceptible to nOAuth misconfiguration in cases when the `email` is used as a trusted user identifier. This could lead to account takeover. Version 2.0.0 contains a fix for this issue.

GitHub Advisory Database
Summary

The implementation did not validate the legitimacy of the email attribute of the user nor did it give/document an option to do so, making it susceptible to nOAuth misconfiguration in cases when the email is used as a trusted user identifier

NVD (es)

omniauth-microsoft_graph proporciona una estrategia Omniauth para la API de Microsoft Graph. Antes de las versiones 2.0.0, la implementación no validaba la legitimidad del atributo "email" del usuario ni daba/documentaba una opción para hacerlo, lo que la hacía susceptible a una mala configuración de nOAuth en los casos en que se utiliza el "email" como identificador de usuario confiable. Esto podría llevar a la apropiación de cuentas. La versión 2.0.0 contiene una solución para este problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-21632 changed 2025-06-17CVE Terms of Use
GitHub Advisory DatabaseGHSA-5g66-628f-7cvj changed 2026-09-10CC-BY-4.0
NVDCVE-2024-21632 changed 2026-06-17Public domain