GitHub Advisory Database
GHSA-5g66-628f-7cvj
Omniauth::MicrosoftGraph Account takeover (nOAuth)
Details
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
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| RubyGems | omniauth-microsoft_graph | All versions before 2.0.0 (fixed in 2.0.0) |
References
- https://github.com/synth/omniauth-microsoft_graph/security/advisories/GHSA-5g66-628f-7cvj
- https://nvd.nist.gov/vuln/detail/CVE-2024-21632
- https://github.com/synth/omniauth-microsoft_graph/commit/5ffd62690ca0e46978f2fc7d83b18d28edde7795
- https://github.com/synth/omniauth-microsoft_graph/commit/f132078389612b797c872b45bd0e0b47382414c1
- https://github.com/synth/omniauth-microsoft_graph
- https://www.descope.com/blog/post/noauth