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-webmvc-4.2.0.RELEASE.jar: 7 vulnerabilities (highest severity is: 9.6) reachable #31

Open
mend-for-github-com bot opened this issue Apr 17, 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 17, 2023

Vulnerable Library - spring-webmvc-4.2.0.RELEASE.jar

Spring Web MVC

Library home page: http://projects.spring.io/spring-framework

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-webmvc/4.2.0.RELEASE/spring-webmvc-4.2.0.RELEASE.jar

Found in HEAD commit: 643a7fad08d6608eaf25b22f87aee4b43387f2fc

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-webmvc version) Remediation Possible** Reachability
CVE-2015-5211 Critical 9.6 spring-webmvc-4.2.0.RELEASE.jar Direct 4.2.2.RELEASE

Reachable

CVE-2024-38819 High 7.5 spring-webmvc-4.2.0.RELEASE.jar Direct 6.1.14

Reachable

CVE-2024-38816 High 7.5 spring-webmvc-4.2.0.RELEASE.jar Direct 6.1.13

Reachable

CVE-2016-5007 High 7.5 spring-webmvc-4.2.0.RELEASE.jar Direct 4.3.0.RELEASE

Reachable

CVE-2018-1271 Medium 5.9 spring-webmvc-4.2.0.RELEASE.jar Direct 4.3.15.RELEASE

Reachable

CVE-2021-22096 Medium 4.3 spring-webmvc-4.2.0.RELEASE.jar Direct 5.2.18.RELEASE

Reachable

CVE-2016-9878 High 7.5 spring-webmvc-4.2.0.RELEASE.jar Direct 4.2.9.RELEASE

Unreachable

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

Details

CVE-2015-5211

Vulnerable Library - spring-webmvc-4.2.0.RELEASE.jar

Spring Web MVC

Library home page: http://projects.spring.io/spring-framework

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-webmvc/4.2.0.RELEASE/spring-webmvc-4.2.0.RELEASE.jar

Dependency Hierarchy:

  • spring-webmvc-4.2.0.RELEASE.jar (Vulnerable Library)

Found in HEAD commit: 643a7fad08d6608eaf25b22f87aee4b43387f2fc

Found in base branch: vp-rem

Reachability Analysis

This vulnerability is potentially reachable

com.visualpathit.account.validator.UserValidator (Application)
  -> org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport$NoOpValidator (Extension)
   -> org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport (Extension)
    -> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping (Extension)
     -> org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry (Extension)
      -> ❌ org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistration (Vulnerable Component)

Vulnerability Details

Under some situations, the Spring Framework 4.2.0 to 4.2.1, 4.0.0 to 4.1.7, 3.2.0 to 3.2.14 and older unsupported versions is vulnerable to a Reflected File Download (RFD) attack. The attack involves a malicious user crafting a URL with a batch script extension that results in the response being downloaded rather than rendered and also includes some input reflected in the response.

Publish Date: 2017-05-25

URL: CVE-2015-5211

CVSS 3 Score Details (9.6)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-5211

Release Date: 2017-05-25

Fix Resolution: 4.2.2.RELEASE

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2024-38819

Vulnerable Library - spring-webmvc-4.2.0.RELEASE.jar

Spring Web MVC

Library home page: http://projects.spring.io/spring-framework

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-webmvc/4.2.0.RELEASE/spring-webmvc-4.2.0.RELEASE.jar

Dependency Hierarchy:

  • spring-webmvc-4.2.0.RELEASE.jar (Vulnerable Library)

Found in HEAD commit: 643a7fad08d6608eaf25b22f87aee4b43387f2fc

Found in base branch: vp-rem

Reachability Analysis

This vulnerability is potentially reachable

com.visualpathit.account.validator.UserValidator (Application)
  -> org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport$NoOpValidator (Extension)
   -> org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport (Extension)
    -> org.springframework.web.servlet.resource.ResourceUrlProvider (Extension)
     -> ❌ org.springframework.web.servlet.resource.ResourceHttpRequestHandler (Vulnerable Component)

Vulnerability Details

Applications serving static resources through the functional web frameworks WebMvc.fn or WebFlux.fn are vulnerable to path traversal attacks. An attacker can craft malicious HTTP requests and obtain any file on the file system that is also accessible to the process in which the Spring application is running.

This is similar to CVE-2024-38816, but with different input.

Publish Date: 2024-12-19

URL: CVE-2024-38819

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: 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-38819

Release Date: 2024-06-20

Fix Resolution: 6.1.14

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2024-38816

Vulnerable Library - spring-webmvc-4.2.0.RELEASE.jar

Spring Web MVC

Library home page: http://projects.spring.io/spring-framework

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-webmvc/4.2.0.RELEASE/spring-webmvc-4.2.0.RELEASE.jar

Dependency Hierarchy:

  • spring-webmvc-4.2.0.RELEASE.jar (Vulnerable Library)

Found in HEAD commit: 643a7fad08d6608eaf25b22f87aee4b43387f2fc

Found in base branch: vp-rem

Reachability Analysis

This vulnerability is potentially reachable

com.visualpathit.account.validator.UserValidator (Application)
  -> org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport$NoOpValidator (Extension)
   -> org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport (Extension)
    -> org.springframework.web.servlet.resource.ResourceUrlProvider (Extension)
     -> ❌ org.springframework.web.servlet.resource.ResourceHttpRequestHandler (Vulnerable Component)

Vulnerability Details

Applications serving static resources through the functional web frameworks WebMvc.fn or WebFlux.fn are vulnerable to path traversal attacks. An attacker can craft malicious HTTP requests and obtain any file on the file system that is also accessible to the process in which the Spring application is running.

Specifically, an application is vulnerable when both of the following are true:

  • the web application uses RouterFunctions to serve static resources
  • resource handling is explicitly configured with a FileSystemResource location

However, malicious requests are blocked and rejected when any of the following is true:

Publish Date: 2024-09-13

URL: CVE-2024-38816

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: 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-38816

Release Date: 2024-09-13

Fix Resolution: 6.1.13

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2016-5007

Vulnerable Library - spring-webmvc-4.2.0.RELEASE.jar

Spring Web MVC

Library home page: http://projects.spring.io/spring-framework

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-webmvc/4.2.0.RELEASE/spring-webmvc-4.2.0.RELEASE.jar

Dependency Hierarchy:

  • spring-webmvc-4.2.0.RELEASE.jar (Vulnerable Library)

Found in HEAD commit: 643a7fad08d6608eaf25b22f87aee4b43387f2fc

Found in base branch: vp-rem

Reachability Analysis

This vulnerability is potentially reachable

com.visualpathit.account.validator.UserValidator (Application)
  -> org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport$NoOpValidator (Extension)
   -> org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport (Extension)
    -> ❌ org.springframework.web.servlet.handler.AbstractHandlerMapping (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.3.0.RELEASE

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2018-1271

Vulnerable Library - spring-webmvc-4.2.0.RELEASE.jar

Spring Web MVC

Library home page: http://projects.spring.io/spring-framework

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-webmvc/4.2.0.RELEASE/spring-webmvc-4.2.0.RELEASE.jar

Dependency Hierarchy:

  • spring-webmvc-4.2.0.RELEASE.jar (Vulnerable Library)

Found in HEAD commit: 643a7fad08d6608eaf25b22f87aee4b43387f2fc

Found in base branch: vp-rem

Reachability Analysis

This vulnerability is potentially reachable

com.visualpathit.account.validator.UserValidator (Application)
  -> org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport$NoOpValidator (Extension)
   -> org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport (Extension)
    -> org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry (Extension)
     -> org.springframework.web.servlet.config.annotation.ResourceHandlerRegistration (Extension)
      -> org.springframework.web.servlet.config.annotation.ResourceChainRegistration (Extension)
       -> ❌ org.springframework.web.servlet.resource.PathResourceResolver (Vulnerable Component)

Vulnerability Details

Spring Framework, versions 5.0 prior to 5.0.5 and versions 4.3 prior to 4.3.15 and older unsupported versions, allow applications to configure Spring MVC to serve static resources (e.g. CSS, JS, images). When static resources are served from a file system on Windows (as opposed to the classpath, or the ServletContext), a malicious user can send a request using a specially crafted URL that can lead a directory traversal attack.

Publish Date: 2018-04-06

URL: CVE-2018-1271

CVSS 3 Score Details (5.9)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • 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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1271

Release Date: 2018-04-06

Fix Resolution: 4.3.15.RELEASE

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2021-22096

Vulnerable Library - spring-webmvc-4.2.0.RELEASE.jar

Spring Web MVC

Library home page: http://projects.spring.io/spring-framework

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-webmvc/4.2.0.RELEASE/spring-webmvc-4.2.0.RELEASE.jar

Dependency Hierarchy:

  • spring-webmvc-4.2.0.RELEASE.jar (Vulnerable Library)

Found in HEAD commit: 643a7fad08d6608eaf25b22f87aee4b43387f2fc

Found in base branch: vp-rem

Reachability Analysis

This vulnerability is potentially reachable

com.visualpathit.account.validator.UserValidator (Application)
  -> org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport$NoOpValidator (Extension)
   -> org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport (Extension)
    -> org.springframework.web.servlet.resource.ResourceUrlProvider (Extension)
     -> ❌ org.springframework.web.servlet.resource.ResourceHttpRequestHandler (Vulnerable Component)

Vulnerability Details

In Spring Framework versions 5.3.0 - 5.3.10, 5.2.0 - 5.2.17, and older unsupported versions, it is possible for a user to provide malicious input to cause the insertion of additional log entries.

Publish Date: 2021-10-28

URL: CVE-2021-22096

CVSS 3 Score Details (4.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • 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://tanzu.vmware.com/security/cve-2021-22096

Release Date: 2021-10-28

Fix Resolution: 5.2.18.RELEASE

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2016-9878

Vulnerable Library - spring-webmvc-4.2.0.RELEASE.jar

Spring Web MVC

Library home page: http://projects.spring.io/spring-framework

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-webmvc/4.2.0.RELEASE/spring-webmvc-4.2.0.RELEASE.jar

Dependency Hierarchy:

  • spring-webmvc-4.2.0.RELEASE.jar (Vulnerable Library)

Found in HEAD commit: 643a7fad08d6608eaf25b22f87aee4b43387f2fc

Found in base branch: vp-rem

Reachability Analysis

The vulnerable code is unreachable

Vulnerability Details

An issue was discovered in Pivotal Spring Framework before 3.2.18, 4.2.x before 4.2.9, and 4.3.x before 4.3.5. Paths provided to the ResourceServlet were not properly sanitized and as a result exposed to directory traversal attacks.

Publish Date: 2016-12-29

URL: CVE-2016-9878

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-9878

Release Date: 2016-12-29

Fix Resolution: 4.2.9.RELEASE

⛑️ 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 17, 2023
@mend-for-github-com mend-for-github-com bot changed the title spring-webmvc-4.2.0.RELEASE.jar: 6 vulnerabilities (highest severity is: 9.6) spring-webmvc-4.2.0.RELEASE.jar: 6 vulnerabilities (highest severity is: 9.6) reachable Jul 2, 2023
@mend-for-github-com mend-for-github-com bot changed the title spring-webmvc-4.2.0.RELEASE.jar: 6 vulnerabilities (highest severity is: 9.6) reachable spring-webmvc-4.2.0.RELEASE.jar: 8 vulnerabilities (highest severity is: 9.6) reachable Feb 28, 2024
@mend-for-github-com mend-for-github-com bot changed the title spring-webmvc-4.2.0.RELEASE.jar: 8 vulnerabilities (highest severity is: 9.6) reachable spring-webmvc-4.2.0.RELEASE.jar: 7 vulnerabilities (highest severity is: 7.5) reachable Apr 12, 2024
@mend-for-github-com mend-for-github-com bot changed the title spring-webmvc-4.2.0.RELEASE.jar: 7 vulnerabilities (highest severity is: 7.5) reachable spring-webmvc-4.2.0.RELEASE.jar: 6 vulnerabilities (highest severity is: 7.5) reachable Apr 12, 2024
@mend-for-github-com mend-for-github-com bot changed the title spring-webmvc-4.2.0.RELEASE.jar: 6 vulnerabilities (highest severity is: 7.5) reachable spring-webmvc-4.2.0.RELEASE.jar: 5 vulnerabilities (highest severity is: 7.5) reachable Apr 14, 2024
@mend-for-github-com mend-for-github-com bot changed the title spring-webmvc-4.2.0.RELEASE.jar: 5 vulnerabilities (highest severity is: 7.5) reachable spring-webmvc-4.2.0.RELEASE.jar: 5 vulnerabilities (highest severity is: 9.6) reachable Aug 16, 2024
@mend-for-github-com mend-for-github-com bot changed the title spring-webmvc-4.2.0.RELEASE.jar: 5 vulnerabilities (highest severity is: 9.6) reachable spring-webmvc-4.2.0.RELEASE.jar: 6 vulnerabilities (highest severity is: 9.6) reachable Sep 19, 2024
@mend-for-github-com mend-for-github-com bot changed the title spring-webmvc-4.2.0.RELEASE.jar: 6 vulnerabilities (highest severity is: 9.6) reachable spring-webmvc-4.2.0.RELEASE.jar: 7 vulnerabilities (highest severity is: 9.6) reachable Oct 18, 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