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-security-3.3.2.jar: 4 vulnerabilities (highest severity is: 9.1) #9

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

Vulnerable Library - spring-boot-starter-security-3.3.2.jar

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-web/6.1.11/8910d08f15492273543d2c8032b2b895e08ed9e/spring-web-6.1.11.jar

Found in HEAD commit: ec97c69a2b236b5bcf79b627e46e1d42617fc207

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-boot-starter-security version) Remediation Possible**
CVE-2024-38821 Critical 9.1 spring-security-web-6.3.1.jar Transitive 3.3.5
CVE-2024-38810 Medium 6.5 spring-security-config-6.3.1.jar Transitive 3.3.3
CVE-2024-38809 Medium 5.3 spring-web-6.1.11.jar Transitive 3.3.3
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.1.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.1/aff43933f28c808252b2d31f768b92fa61b634f6/spring-security-web-6.3.1.jar

Dependency Hierarchy:

  • spring-boot-starter-security-3.3.2.jar (Root Library)
    • spring-security-web-6.3.1.jar (Vulnerable Library)

Found in HEAD commit: ec97c69a2b236b5bcf79b627e46e1d42617fc207

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.boot:spring-boot-starter-security): 3.3.5

Step up your Open Source Security Game with Mend here

CVE-2024-38810

Vulnerable Library - spring-security-config-6.3.1.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-config/6.3.1/e4f6c1cf4f8969c9e5ed26121f0fbd7ee35a7ca4/spring-security-config-6.3.1.jar

Dependency Hierarchy:

  • spring-boot-starter-security-3.3.2.jar (Root Library)
    • spring-security-config-6.3.1.jar (Vulnerable Library)

Found in HEAD commit: ec97c69a2b236b5bcf79b627e46e1d42617fc207

Found in base branch: main

Vulnerability Details

Missing Authorization When Using @AuthorizeReturnObject in Spring Security 6.3.0 and 6.3.1 allows attacker to render security annotations inaffective.

Publish Date: 2024-08-20

URL: CVE-2024-38810

CVSS 3 Score Details (6.5)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

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

Release Date: 2024-08-20

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

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-security): 3.3.3

Step up your Open Source Security Game with Mend here

CVE-2024-38809

Vulnerable Library - spring-web-6.1.11.jar

Spring Web

Library home page: https://github.com/spring-projects/spring-framework

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-web/6.1.11/8910d08f15492273543d2c8032b2b895e08ed9e/spring-web-6.1.11.jar

Dependency Hierarchy:

  • spring-boot-starter-security-3.3.2.jar (Root Library)
    • spring-security-web-6.3.1.jar
      • spring-web-6.1.11.jar (Vulnerable Library)

Found in HEAD commit: ec97c69a2b236b5bcf79b627e46e1d42617fc207

Found in base branch: main

Vulnerability Details

Applications that parse ETags from "If-Match" or "If-None-Match" request headers are vulnerable to DoS attack.

Users of affected versions should upgrade to the corresponding fixed version.

Users of older, unsupported versions could enforce a size limit on "If-Match" and "If-None-Match" headers, e.g. through a Filter.

Publish Date: 2024-09-27

URL: CVE-2024-38809

CVSS 3 Score Details (5.3)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

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

Release Date: 2024-09-27

Fix Resolution (org.springframework:spring-web): 6.1.12

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-security): 3.3.3

Step up your Open Source Security Game with Mend here

CVE-2024-38827

Vulnerable Libraries - spring-security-core-6.3.1.jar, spring-security-config-6.3.1.jar, spring-security-web-6.3.1.jar, spring-security-crypto-6.3.1.jar

spring-security-core-6.3.1.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-core/6.3.1/598c2461a17c29705ca7fd8c02efd23a1f650ccd/spring-security-core-6.3.1.jar

Dependency Hierarchy:

  • spring-boot-starter-security-3.3.2.jar (Root Library)
    • spring-security-web-6.3.1.jar
      • spring-security-core-6.3.1.jar (Vulnerable Library)

spring-security-config-6.3.1.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-config/6.3.1/e4f6c1cf4f8969c9e5ed26121f0fbd7ee35a7ca4/spring-security-config-6.3.1.jar

Dependency Hierarchy:

  • spring-boot-starter-security-3.3.2.jar (Root Library)
    • spring-security-config-6.3.1.jar (Vulnerable Library)

spring-security-web-6.3.1.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.1/aff43933f28c808252b2d31f768b92fa61b634f6/spring-security-web-6.3.1.jar

Dependency Hierarchy:

  • spring-boot-starter-security-3.3.2.jar (Root Library)
    • spring-security-web-6.3.1.jar (Vulnerable Library)

spring-security-crypto-6.3.1.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-crypto/6.3.1/3e66321782db499cca3884830188a091058121f3/spring-security-crypto-6.3.1.jar

Dependency Hierarchy:

  • spring-boot-starter-security-3.3.2.jar (Root Library)
    • spring-security-web-6.3.1.jar
      • spring-security-core-6.3.1.jar
        • spring-security-crypto-6.3.1.jar (Vulnerable Library)

Found in HEAD commit: ec97c69a2b236b5bcf79b627e46e1d42617fc207

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

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

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

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

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

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

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

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-security): 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 Oct 26, 2024
@mend-bolt-for-github mend-bolt-for-github bot changed the title spring-boot-starter-security-3.3.2.jar: 3 vulnerabilities (highest severity is: 6.5) spring-boot-starter-security-3.3.2.jar: 3 vulnerabilities (highest severity is: 9.1) Oct 27, 2024
@mend-bolt-for-github mend-bolt-for-github bot changed the title spring-boot-starter-security-3.3.2.jar: 3 vulnerabilities (highest severity is: 9.1) spring-boot-starter-security-3.3.2.jar: 4 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