CVE-2024-21632
CRITICAL 9.8CVSS 3.1Omniauth::MicrosoftGraph Account takeover (nOAuth)
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.
- Published
- 2 Jan 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-287
- Also known as
- GHSA-5g66-628f-7cvj
- Sources
- NVDJSONOSV GHSA-5g66-628f-7cvjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | recognizeapp | omniauth::microsoftgraphcpe:2.3:a:recognizeapp:omniauth\:\:microsoftgraph:*:*:*:*:*:ruby:*:* |
< 2.0.0 | 2.0.0 |
| OSV | RubyGems | omniauth-microsoft_graph | < 2.0.0 | 2.0.0 |
References
- https://github.com/synth/omniauth-microsoft_graph/commit/f132078389612b797c872b45bd0e0b47382414c1 · Patch, WEB
- https://github.com/synth/omniauth-microsoft_graph/security/advisories/GHSA-5g66-628f-7cvj · Vendor Advisory, WEB
- https://www.descope.com/blog/post/noauth · Exploit, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-21632 · ADVISORY
- https://github.com/synth/omniauth-microsoft_graph/commit/5ffd62690ca0e46978f2fc7d83b18d28edde7795 · WEB
- https://github.com/synth/omniauth-microsoft_graph · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 2 Jan 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 3 Jan 2024)