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-security-test-6.3.0.jar: 2 vulnerabilities (highest severity is: 9.1) #343

Open
mend-bolt-for-github bot opened this issue Oct 23, 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 Oct 23, 2024

Vulnerable Library - spring-security-test-6.3.0.jar

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-web/6.3.0/dfdec2d22d6dff861af9e17e0893e3edc742694a/spring-security-web-6.3.0.jar

Found in HEAD commit: 6ee4f43fb5f1725de0c7363ccaaee1a06fb08db6

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-security-test version) Remediation Possible**
CVE-2024-38821 Critical 9.1 spring-security-web-6.3.0.jar Transitive 6.3.4
CVE-2024-38827 Medium 4.8 spring-security-web-6.3.0.jar Transitive 6.3.5

**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.0.jar

Spring Security

Library home page: https://spring.io

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-web/6.3.0/dfdec2d22d6dff861af9e17e0893e3edc742694a/spring-security-web-6.3.0.jar

Dependency Hierarchy:

  • spring-security-test-6.3.0.jar (Root Library)
    • spring-security-web-6.3.0.jar (Vulnerable Library)

Found in HEAD commit: 6ee4f43fb5f1725de0c7363ccaaee1a06fb08db6

Found in base branch: main

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.security:spring-security-test): 6.3.4

Step up your Open Source Security Game with Mend here

CVE-2024-38827

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

Spring Security

Library home page: https://spring.io

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-web/6.3.0/dfdec2d22d6dff861af9e17e0893e3edc742694a/spring-security-web-6.3.0.jar

Dependency Hierarchy:

  • spring-security-test-6.3.0.jar (Root Library)
    • spring-security-web-6.3.0.jar (Vulnerable Library)

Found in HEAD commit: 6ee4f43fb5f1725de0c7363ccaaee1a06fb08db6

Found in base branch: main

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-web): 6.3.5

Direct dependency fix Resolution (org.springframework.security:spring-security-test): 6.3.5

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 Oct 23, 2024
@mend-bolt-for-github mend-bolt-for-github bot changed the title spring-security-test-6.3.0.jar: 1 vulnerabilities (highest severity is: 5.5) spring-security-test-6.3.0.jar: 1 vulnerabilities (highest severity is: 9.1) Oct 27, 2024
@mend-bolt-for-github mend-bolt-for-github bot changed the title spring-security-test-6.3.0.jar: 1 vulnerabilities (highest severity is: 9.1) spring-security-test-6.3.0.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