Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2022-31690 (High) detected in spring-security-oauth2-client-5.5.0.jar #262

Open
mend-bolt-for-github bot opened this issue Nov 11, 2022 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented Nov 11, 2022

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:

  • spring-security-oauth2-client-5.5.0.jar (Vulnerable Library)

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:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

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

@mend-bolt-for-github mend-bolt-for-github bot added the security vulnerability Security vulnerability detected by WhiteSource label Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants