This vulnerability is potentially used
```
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 (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.
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
CVE-2018-1271 - Medium Severity Vulnerability
Spring Web MVC
Library home page: https://github.com/spring-projects/spring-framework
Path to dependency file: /pom.xml
Path to vulnerable library: /Users/alexmaybaum/.m2/repository/org/springframework/spring-webmvc/4.2.1.RELEASE/spring-webmvc-4.2.1.RELEASE.jar
Dependency Hierarchy: - :x: **spring-webmvc-4.2.1.RELEASE.jar** (Vulnerable Library)
Found in HEAD commit: 9c6901108cf0138889fa46846fabfcb78828d070
Found in base branch: vp-rem
Reachability Analysis(Reachable)
This vulnerability is potentially used ``` 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 (Extension) -> ❌ org.springframework.web.servlet.resource.PathResourceResolver (Vulnerable Component) ```
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
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.Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1271
Release Date: 2018-04-06
Fix Resolution: org.springframework:spring-webflux:5.0.5.RELEASE,org.springframework:spring-webmvc:4.3.15.RELEASE,5.0.5.RELEASE
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.