Vulnerability · Published Jan 2, 2024 · Assigned by GitHub_M
CVE-2024-21632omniauth-microsoft_graph vulnerable to account takeover (nOAuth)
High 8.6
In plain English
A high-severity improper authentication in omniauth-microsoft_graph from synth. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| RubyGems | omniauth-microsoft_graph | 2.0.0 | GHSA-5g66-628f-7cvj |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| synth | omniauth-microsoft_graph | < 2.0.0 |
Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L