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-config-4.0.1.RELEASE.jar: 2 vulnerabilities (highest severity is: 7.5) reachable #22

Open
mend-for-github-com bot opened this issue Apr 19, 2023 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Apr 19, 2023

Vulnerable Library - spring-security-config-4.0.1.RELEASE.jar

spring-security-config

Library home page: http://spring.io/

Path to dependency file: /pom.xml

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

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-security-config version) Remediation Possible** Reachability
CVE-2016-5007 High 7.5 spring-security-config-4.0.1.RELEASE.jar Direct 4.1.1.RELEASE

Reachable

CVE-2024-38827 Medium 4.8 spring-security-config-4.0.1.RELEASE.jar Direct 5.7.14

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

Details

CVE-2016-5007

Vulnerable Library - spring-security-config-4.0.1.RELEASE.jar

spring-security-config

Library home page: http://spring.io/

Path to dependency file: /pom.xml

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

Dependency Hierarchy:

  • spring-security-config-4.0.1.RELEASE.jar (Vulnerable Library)

Found in base branch: vp-rem

Reachability Analysis

This vulnerability is potentially reachable

com.visualpathit.account.service.UserDetailsServiceImpl (Application)
  -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter$UserDetailsServiceDelegator (Extension)
   -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter (Extension)
    -> ❌ org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer$ExpressionInterceptUrlRegistry (Vulnerable Component)

Vulnerability Details

Both Spring Security 3.2.x, 4.0.x, 4.1.0 and the Spring Framework 3.2.x, 4.0.x, 4.1.x, 4.2.x rely on URL pattern mappings for authorization and for mapping requests to controllers respectively. Differences in the strictness of the pattern matching mechanisms, for example with regards to space trimming in path segments, can lead Spring Security to not recognize certain paths as not protected that are in fact mapped to Spring MVC controllers that should be protected. The problem is compounded by the fact that the Spring Framework provides richer features with regards to pattern matching as well as by the fact that pattern matching in each Spring Security and the Spring Framework can easily be customized creating additional differences.

Publish Date: 2017-05-25

URL: CVE-2016-5007

CVSS 3 Score Details (7.5)

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: High
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://pivotal.io/security/cve-2016-5007

Release Date: 2017-05-25

Fix Resolution: 4.1.1.RELEASE

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2024-38827

Vulnerable Library - spring-security-config-4.0.1.RELEASE.jar

spring-security-config

Library home page: http://spring.io/

Path to dependency file: /pom.xml

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

Dependency Hierarchy:

  • spring-security-config-4.0.1.RELEASE.jar (Vulnerable Library)

Found in base branch: vp-rem

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-12-02

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-12-02

Fix Resolution: 5.7.14

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Apr 19, 2023
@mend-for-github-com mend-for-github-com bot changed the title spring-security-config-4.0.1.RELEASE.jar: 1 vulnerabilities (highest severity is: 7.5) reachable spring-security-config-4.0.1.RELEASE.jar: 1 vulnerabilities (highest severity is: 5.5) reachable Dec 21, 2023
@mend-for-github-com mend-for-github-com bot changed the title spring-security-config-4.0.1.RELEASE.jar: 1 vulnerabilities (highest severity is: 5.5) reachable spring-security-config-4.0.1.RELEASE.jar: 1 vulnerabilities (highest severity is: 7.5) reachable Mar 15, 2024
@mend-for-github-com mend-for-github-com bot changed the title spring-security-config-4.0.1.RELEASE.jar: 1 vulnerabilities (highest severity is: 7.5) reachable spring-security-config-4.0.1.RELEASE.jar: 2 vulnerabilities (highest severity is: 7.5) reachable 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