CVE-2022-31690: High severity spring security vulnerability
A flaw was found in the Spring Security framework. Spring Security could allow a remote attacker to gain elevated privileges on the system. By modifying a request initiated by the Client (via the browser) to the Authorization Server, an attacker can gain elevated privileges on the system.
Other sources
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.
VMware Tanzu Spring Security could allow a remote attacker to gain elevated privileges on the system. By modifying a request initiated by the Client (via the browser) to the Authorization Server, an attacker could exploit this vulnerability to gain elevated privileges on the system.
— IBM
Affected Software
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is CVE-2022-31690?
CVE-2022-31690 is a vulnerability in the Spring Security framework that allows for privilege escalation.
Which versions of Spring Security are affected by CVE-2022-31690?
Versions 5.7 to 5.7.5 and 5.6 to 5.6.9 of Spring Security are affected by CVE-2022-31690.
How can a malicious user exploit CVE-2022-31690?
A malicious user can modify a request initiated by the Client to the Authorization Server in certain conditions to exploit CVE-2022-31690.
What is the severity of CVE-2022-31690?
CVE-2022-31690 has a severity rating of 8.1 (High).
How can I fix CVE-2022-31690?
To fix CVE-2022-31690, upgrade to Spring Security version 5.7.5 or 5.6.9 depending on the current version you are using.