{"id":"CVE-2022-31690","published":"2022-10-31T00:00:00Z","modified":"2025-05-08T18:47:35Z","title":"Spring Security, versions 5.7 prior to 5.7.5, and 5.6 prior to 5.6.9, and older unsupported versions could be…","vendor":null,"product":null,"tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01058,"percentile":0.63862,"provenance":"source"},"cwes":[],"references":[{"url":"https://tanzu.vmware.com/security/cve-2022-31690","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20221215-0010/","tags":[]}],"priority":{"score":18.4,"factors":[{"name":"EPSS percentile","points":12.77},{"name":"CVSS severity","points":5.67}]},"affectedVersions":[{"vendor":"n/a","product":"Spring Security","versions":["Spring Security (5.7 to 5.7.4 and 5.6 to 5.6.8 as well as older, unsupported versions)"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-05-08T18:42:47.671600Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.springframework.security:spring-security-oauth2-client","vulnerableRanges":[">=5.7.0, <5.7.5","<5.6.9"],"patched":["5.7.5","5.6.9"],"from":["GHSA-32vj-v39g-jh23"],"provenance":"source"}],"summary":{"text":"The flaw is in Spring Security, specifically the OAuth2 client handling in versions 5.7 prior to 5.7.5, 5.6 prior to 5.6.9, and older unsupported versions, where it can lead to privilege escalation. An attacker can modify a request the client sends to the Authorization Server, and this leads to privilege escalation when the Authorization Server returns an access token response with an empty scope list at the token endpoint, which requires the Authorization Server to respond that way.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:18:04Z"},"euvd":{"id":"EUVD-2022-7201","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-22119","published":"2021-06-29","fixed":"5.5.1","kev":false,"link":{"from":"CVE-2021-22119","to":"CVE-2022-31690","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.springframework.security:spring-security-oauth2-client","fromFixed":"5.5.1","toFixed":"5.6.9","daysApart":489}]}},{"cve":"CVE-2022-31690","published":"2022-10-31","fixed":"5.7.5","kev":false}],"package":"Maven:org.springframework.security:spring-security-oauth2-client"}}