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

spring-boot-starter-oauth2-client-3.3.3.jar: 2 vulnerabilities (highest severity is: 9.1) #131

Open
mend-bolt-for-github bot opened this issue Nov 4, 2024 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Nov 4, 2024

Vulnerable Library - spring-boot-starter-oauth2-client-3.3.3.jar

Path to dependency file: /server/application-server/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/security/spring-security-web/6.3.3/spring-security-web-6.3.3.jar

Found in HEAD commit: 32dfb6d6691e6f7d252f5f3edcb14c78767352aa

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-boot-starter-oauth2-client version) Remediation Possible**
CVE-2024-38821 Critical 9.1 spring-security-web-6.3.3.jar Transitive 3.3.5
CVE-2024-38827 Medium 4.8 detected in multiple dependencies Transitive 3.3.6

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2024-38821

Vulnerable Library - spring-security-web-6.3.3.jar

Spring Security

Library home page: https://spring.io/projects/spring-security

Path to dependency file: /server/application-server/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/security/spring-security-web/6.3.3/spring-security-web-6.3.3.jar

Dependency Hierarchy:

  • spring-boot-starter-oauth2-client-3.3.3.jar (Root Library)
    • spring-security-oauth2-client-6.3.3.jar
      • spring-security-web-6.3.3.jar (Vulnerable Library)

Found in HEAD commit: 32dfb6d6691e6f7d252f5f3edcb14c78767352aa

Found in base branch: develop

Vulnerability Details

Spring WebFlux applications that have Spring Security authorization rules on static resources can be bypassed under certain circumstances.
For this to impact an application, all of the following must be true: It must be a WebFlux application, It must be using Spring's static resources support, and it must have a non-permitAll authorization rule applied to the static resources support.

Publish Date: 2024-10-28

URL: CVE-2024-38821

CVSS 3 Score Details (9.1)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://spring.io/security/cve-2024-38821

Release Date: 2024-10-28

Fix Resolution (org.springframework.security:spring-security-web): 6.3.4

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-oauth2-client): 3.3.5

Step up your Open Source Security Game with Mend here

CVE-2024-38827

Vulnerable Libraries - spring-security-oauth2-client-6.3.3.jar, spring-security-config-6.3.3.jar, spring-security-core-6.3.3.jar, spring-security-crypto-6.3.3.jar, spring-security-web-6.3.3.jar

spring-security-oauth2-client-6.3.3.jar

Spring Security

Library home page: https://spring.io/projects/spring-security

Path to dependency file: /server/application-server/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/security/spring-security-oauth2-client/6.3.3/spring-security-oauth2-client-6.3.3.jar

Dependency Hierarchy:

  • spring-boot-starter-oauth2-client-3.3.3.jar (Root Library)
    • spring-security-oauth2-client-6.3.3.jar (Vulnerable Library)

spring-security-config-6.3.3.jar

Spring Security

Library home page: https://spring.io/projects/spring-security

Path to dependency file: /server/application-server/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/security/spring-security-config/6.3.3/spring-security-config-6.3.3.jar

Dependency Hierarchy:

  • spring-boot-starter-oauth2-client-3.3.3.jar (Root Library)
    • spring-security-config-6.3.3.jar (Vulnerable Library)

spring-security-core-6.3.3.jar

Spring Security

Library home page: https://spring.io/projects/spring-security

Path to dependency file: /server/application-server/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/6.3.3/spring-security-core-6.3.3.jar

Dependency Hierarchy:

  • spring-boot-starter-oauth2-client-3.3.3.jar (Root Library)
    • spring-security-config-6.3.3.jar
      • spring-security-core-6.3.3.jar (Vulnerable Library)

spring-security-crypto-6.3.3.jar

Spring Security

Library home page: https://spring.io/projects/spring-security

Path to dependency file: /server/application-server/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/security/spring-security-crypto/6.3.3/spring-security-crypto-6.3.3.jar

Dependency Hierarchy:

  • spring-boot-starter-oauth2-client-3.3.3.jar (Root Library)
    • spring-security-config-6.3.3.jar
      • spring-security-core-6.3.3.jar
        • spring-security-crypto-6.3.3.jar (Vulnerable Library)

spring-security-web-6.3.3.jar

Spring Security

Library home page: https://spring.io/projects/spring-security

Path to dependency file: /server/application-server/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/security/spring-security-web/6.3.3/spring-security-web-6.3.3.jar

Dependency Hierarchy:

  • spring-boot-starter-oauth2-client-3.3.3.jar (Root Library)
    • spring-security-oauth2-client-6.3.3.jar
      • spring-security-web-6.3.3.jar (Vulnerable Library)

Found in HEAD commit: 32dfb6d6691e6f7d252f5f3edcb14c78767352aa

Found in base branch: develop

Vulnerability Details

The usage of String.toLowerCase() and String.toUpperCase() has some Locale dependent exceptions that could potentially result in authorization rules not working properly.

Publish Date: 2024-06-20

URL: CVE-2024-38827

CVSS 3 Score Details (4.8)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://spring.io/security/cve-2024-38827

Release Date: 2024-06-20

Fix Resolution (org.springframework.security:spring-security-oauth2-client): 6.3.5

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-oauth2-client): 3.3.6

Fix Resolution (org.springframework.security:spring-security-config): 6.3.5

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-oauth2-client): 3.3.6

Fix Resolution (org.springframework.security:spring-security-core): 6.3.5

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-oauth2-client): 3.3.6

Fix Resolution (org.springframework.security:spring-security-crypto): 6.3.5

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-oauth2-client): 3.3.6

Fix Resolution (org.springframework.security:spring-security-web): 6.3.5

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-oauth2-client): 3.3.6

Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Nov 4, 2024
@mend-bolt-for-github mend-bolt-for-github bot changed the title spring-boot-starter-oauth2-client-3.3.3.jar: 1 vulnerabilities (highest severity is: 9.1) spring-boot-starter-oauth2-client-3.3.3.jar: 2 vulnerabilities (highest severity is: 9.1) Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend
Projects
None yet
Development

No branches or pull requests

0 participants