{"id":"CVE-2022-31690","aliases":["CVE-2022-31690","GHSA-32vj-v39g-jh23"],"related":[],"kind":"vulnerability","state":"published","title":"spring-security-oauth2-client vulnerable to Privilege Escalation","summary":"Spring Security, versions 5.7 prior to 5.7.5, and 5.6 prior to 5.6.9, and older unsupported versions could be susceptible to a privilege escalation under certain conditions. A malicious user or attacker can modify a request initiated by the Client (via the browser) to the Authorization Server which can lead to a privilege escalation on the subsequent approval. This scenario can happen if the Authorization Server responds with an OAuth2 Access Token Response containing an empty scope list (per RFC 6749, Section 5.1) on the subsequent request to the token endpoint to obtain the access token.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Spring Security, versions 5.7 prior to 5.7.5, and 5.6 prior to 5.6.9, and older unsupported versions could be susceptible to a privilege escalation under certain conditions. A malicious user or attacker can modify a request initiated by the Client (via the browser) to the Authorization Server which can lead to a privilege escalation on the subsequent approval. This scenario can happen if the Authorization Server responds with an OAuth2 Access Token Response containing an empty scope list (per RFC 6749, Section 5.1) on the subsequent request to the token endpoint to obtain the access token.","source":"cvelist"},{"lang":"es","text":"Spring Security, las versiones 5.7 anteriores a 5.7.5 y 5.6 anteriores a 5.6.9 y las versiones anteriores no compatibles podrían ser susceptibles a una escalada de privilegios bajo ciertas condiciones. Un usuario malicioso o un atacante puede modificar una solicitud iniciada por el Cliente (a través del navegador) al Servidor de Autorización, lo que puede provocar una escalada de privilegios en la aprobación posterior. Este escenario puede ocurrir si el Servidor de Autorización con OAuth2 Access Token Response que contiene una lista de alcance vacía (según RFC 6749, sección 5.1) en la solicitud posterior al extremo del token para obtener el token de acceso.","source":"nvd"}],"published":"2022-10-31T00:00:00.000Z","modified":"2026-06-17T04:46:05.043Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-269"],"affected":[{"ranges":[{"version":"Spring Security (5.7 to 5.7.4 and 5.6 to 5.6.8 as well as older, unsupported versions)","status":"affected"}],"product":"Spring Security","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"5.7.0","status":"affected","fixed":"5.7.5"}],"ecosystem":"Maven","package":"org.springframework.security:spring-security-oauth2-client","purl":"pkg:maven/org.springframework.security/spring-security-oauth2-client","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.6.9"}],"ecosystem":"Maven","package":"org.springframework.security:spring-security-oauth2-client","purl":"pkg:maven/org.springframework.security/spring-security-oauth2-client","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"5.6.0","fixed":"5.6.9"},{"status":"affected","introduced":"5.7.0","fixed":"5.7.5"}],"vendor":"vmware","product":"spring_security","cpe":"cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"active_iq_unified_manager","cpe":"cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*","source":"nvd"}],"references":[{"url":"https://tanzu.vmware.com/security/cve-2022-31690","tags":["mitigation","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20221215-0010/","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31690","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/spring-projects/spring-security-samples/blob/4638e1e428ee2ddab234199eb3b67b9c94dfa08b/servlet/spring-boot/java/oauth2/webclient/src/main/java/example/SecurityConfiguration.java#L48","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20221215-0010","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"vmware","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-05-08T18:42:47.671Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-31690","url":"https://www.cve.org/CVERecord?id=CVE-2022-31690","licence":"CVE Terms of Use","modified":"2025-05-08T18:47:35.924Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-32vj-v39g-jh23","url":"https://github.com/advisories/GHSA-32vj-v39g-jh23","licence":"CC-BY-4.0","modified":"2024-02-17T05:34:48.008Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-31690","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31690","licence":"Public domain","modified":"2026-06-17T04:46:05.043Z"}],"updatedAt":"2026-11-25T22:58:16.087Z","epss":{"score":0.01259,"percentile":0.70424,"date":"2026-12-01T12:00:22.000Z"}}