{"id":"CVE-2024-21632","aliases":["CVE-2024-21632","GHSA-5g66-628f-7cvj"],"related":[],"kind":"vulnerability","state":"published","title":"omniauth-microsoft_graph vulnerable to account takeover (nOAuth)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\nThe 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](https://www.descope.com/blog/post/noauth) misconfiguration in cases when the `email` is used as a trusted user identifier","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-01-02T21:54:54.527Z","modified":"2026-09-10T03:50:04.829Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","score":8.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","score":8.6,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-287"],"affected":[{"ranges":[{"version":"< 2.0.0","status":"affected"}],"vendor":"synth","product":"omniauth-microsoft_graph","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.0.0"}],"ecosystem":"RubyGems","package":"omniauth-microsoft_graph","purl":"pkg:gem/omniauth-microsoft_graph","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.0.0"}],"vendor":"recognizeapp","product":"omniauth::microsoftgraph","cpe":"cpe:2.3:a:recognizeapp:omniauth\\:\\:microsoftgraph:*:*:*:*:*:ruby:*:*","source":"nvd"}],"references":[{"url":"https://github.com/synth/omniauth-microsoft_graph/security/advisories/GHSA-5g66-628f-7cvj","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/synth/omniauth-microsoft_graph/commit/f132078389612b797c872b45bd0e0b47382414c1","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.descope.com/blog/post/noauth","tags":["exploit","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21632","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/synth/omniauth-microsoft_graph/commit/5ffd62690ca0e46978f2fc7d83b18d28edde7795","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/synth/omniauth-microsoft_graph","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-01-03T19:37:02.254Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-21632","url":"https://www.cve.org/CVERecord?id=CVE-2024-21632","licence":"CVE Terms of Use","modified":"2025-06-17T20:29:07.166Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5g66-628f-7cvj","url":"https://github.com/advisories/GHSA-5g66-628f-7cvj","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:04.829Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-21632","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21632","licence":"Public domain","modified":"2026-06-17T07:09:53.257Z"}],"updatedAt":"2026-11-25T22:58:35.904Z","epss":{"score":0.00904,"percentile":0.6085,"date":"2026-12-01T12:00:22.000Z"}}