You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Path to dependency file: /spring-boot-project/spring-boot-starters/spring-boot-starter-oauth2-client/build.gradle
Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-oauth2-client/5.5.0/f2abd0b28fa366d02b8a255bf5fa2b952f904a18/spring-security-oauth2-client-5.5.0.jar,/le/caches/modules-2/files-2.1/org.springframework.security/spring-security-oauth2-client/5.5.0/f2abd0b28fa366d02b8a255bf5fa2b952f904a18/spring-security-oauth2-client-5.5.0.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-oauth2-client/5.5.0/f2abd0b28fa366d02b8a255bf5fa2b952f904a18/spring-security-oauth2-client-5.5.0.jar,/le/caches/modules-2/files-2.1/org.springframework.security/spring-security-oauth2-client/5.5.0/f2abd0b28fa366d02b8a255bf5fa2b952f904a18/spring-security-oauth2-client-5.5.0.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-oauth2-client/5.5.0/f2abd0b28fa366d02b8a255bf5fa2b952f904a18/spring-security-oauth2-client-5.5.0.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-oauth2-client/5.5.0/f2abd0b28fa366d02b8a255bf5fa2b952f904a18/spring-security-oauth2-client-5.5.0.jar,/le/caches/modules-2/files-2.1/org.springframework.security/spring-security-oauth2-client/5.5.0/f2abd0b28fa366d02b8a255bf5fa2b952f904a18/spring-security-oauth2-client-5.5.0.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-oauth2-client/5.5.0/f2abd0b28fa366d02b8a255bf5fa2b952f904a18/spring-security-oauth2-client-5.5.0.jar
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.
CVE-2022-31690 - High Severity Vulnerability
Vulnerable Library - spring-security-oauth2-client-5.5.0.jar
Spring Security
Library home page: https://spring.io/projects/spring-security
Path to dependency file: /spring-boot-project/spring-boot-starters/spring-boot-starter-oauth2-client/build.gradle
Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-oauth2-client/5.5.0/f2abd0b28fa366d02b8a255bf5fa2b952f904a18/spring-security-oauth2-client-5.5.0.jar,/le/caches/modules-2/files-2.1/org.springframework.security/spring-security-oauth2-client/5.5.0/f2abd0b28fa366d02b8a255bf5fa2b952f904a18/spring-security-oauth2-client-5.5.0.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-oauth2-client/5.5.0/f2abd0b28fa366d02b8a255bf5fa2b952f904a18/spring-security-oauth2-client-5.5.0.jar,/le/caches/modules-2/files-2.1/org.springframework.security/spring-security-oauth2-client/5.5.0/f2abd0b28fa366d02b8a255bf5fa2b952f904a18/spring-security-oauth2-client-5.5.0.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-oauth2-client/5.5.0/f2abd0b28fa366d02b8a255bf5fa2b952f904a18/spring-security-oauth2-client-5.5.0.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-oauth2-client/5.5.0/f2abd0b28fa366d02b8a255bf5fa2b952f904a18/spring-security-oauth2-client-5.5.0.jar,/le/caches/modules-2/files-2.1/org.springframework.security/spring-security-oauth2-client/5.5.0/f2abd0b28fa366d02b8a255bf5fa2b952f904a18/spring-security-oauth2-client-5.5.0.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-oauth2-client/5.5.0/f2abd0b28fa366d02b8a255bf5fa2b952f904a18/spring-security-oauth2-client-5.5.0.jar
Dependency Hierarchy:
Found in HEAD commit: 12b99a3ee31b333f29415387505dfb45f75ced5f
Found in base branch: main
Vulnerability Details
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.
Publish Date: 2022-10-31
URL: CVE-2022-31690
CVSS 3 Score Details (8.1)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: https://tanzu.vmware.com/security/cve-2022-31690
Release Date: 2022-10-31
Fix Resolution: 5.6.9
Step up your Open Source Security Game with Mend here
The text was updated successfully, but these errors were encountered: