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-data-6.3.0.jar: 2 vulnerabilities (highest severity is: 4.8) #341

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

Vulnerable Library - spring-security-data-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-crypto/6.3.0/78f15b86c791fc7af446cec84ccd941e2eee32cb/spring-security-crypto-6.3.0.jar

Found in HEAD commit: 6ee4f43fb5f1725de0c7363ccaaee1a06fb08db6

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-security-data version) Remediation Possible**
CVE-2024-38827 Medium 4.8 detected in multiple dependencies Transitive 6.3.5
CVE-2024-38820 Low 3.1 spring-context-6.1.8.jar Transitive 6.3.4

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

Details

CVE-2024-38827

Vulnerable Libraries - spring-security-core-6.3.0.jar, spring-security-crypto-6.3.0.jar

spring-security-core-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-core/6.3.0/5775b401f2764e72bc8a47300a940b2d1e4ea719/spring-security-core-6.3.0.jar

Dependency Hierarchy:

  • spring-security-data-6.3.0.jar (Root Library)
    • spring-security-core-6.3.0.jar (Vulnerable Library)

spring-security-crypto-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-crypto/6.3.0/78f15b86c791fc7af446cec84ccd941e2eee32cb/spring-security-crypto-6.3.0.jar

Dependency Hierarchy:

  • spring-security-data-6.3.0.jar (Root Library)
    • spring-security-core-6.3.0.jar
      • spring-security-crypto-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-core): 6.3.5

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

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

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

Step up your Open Source Security Game with Mend here

CVE-2024-38820

Vulnerable Library - spring-context-6.1.8.jar

Spring Context

Library home page: https://spring.io/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-context/6.1.8/21219a0df58e5b96ef489a172b449232573352e8/spring-context-6.1.8.jar

Dependency Hierarchy:

  • spring-security-data-6.3.0.jar (Root Library)
    • spring-security-core-6.3.0.jar
      • spring-context-6.1.8.jar (Vulnerable Library)

Found in HEAD commit: 6ee4f43fb5f1725de0c7363ccaaee1a06fb08db6

Found in base branch: main

Vulnerability Details

The fix for CVE-2022-22968 made disallowedFields patterns in DataBinder case insensitive. However, String.toLowerCase() has some Locale dependent exceptions that could potentially result in fields not protected as expected.

Publish Date: 2024-10-18

URL: CVE-2024-38820

CVSS 3 Score Details (3.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • 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-38820

Release Date: 2024-10-18

Fix Resolution (org.springframework:spring-context): 6.1.14

Direct dependency fix Resolution (org.springframework.security:spring-security-data): 6.3.4

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 20, 2024
@mend-bolt-for-github mend-bolt-for-github bot changed the title spring-security-data-6.3.0.jar: 1 vulnerabilities (highest severity is: 3.1) spring-security-data-6.3.0.jar: 2 vulnerabilities (highest severity is: 5.5) Nov 20, 2024
@mend-bolt-for-github mend-bolt-for-github bot changed the title spring-security-data-6.3.0.jar: 2 vulnerabilities (highest severity is: 5.5) spring-security-data-6.3.0.jar: 2 vulnerabilities (highest severity is: 4.8) Nov 21, 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