org.springframework:spring-webmvc@4.0.8.RELEASE vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the org.springframework:spring-webmvc package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Path Traversal

org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

Affected versions of this package are vulnerable to Path Traversal via the WebMvc.fn and WebFlux.fn frameworks. An attacker can access any file on the file system that is also accessible to the process in which the Spring application is running by crafting malicious HTTP requests.

Note:

This is only exploitable if the web application uses RouterFunctions to serve static resources and resource handling is explicitly configured with a FileSystemResource location.

How to fix Path Traversal?

Upgrade org.springframework:spring-webmvc to version 6.1.13 or higher.

[,6.1.13)
  • M
Directory Traversal

org.springframework:spring-webmvc Spring provides everything you need beyond the Java language to create enterprise applications in a wide range of scenarios and architectures.

Affected versions of this package are vulnerable to Directory Traversal. 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.

How to fix Directory Traversal?

Upgrade org.springframework:spring-webmvc to version 4.3.15, 5.0.5 or higher.

[,4.3.15.RELEASE) [5.0.0.RELEASE,5.0.5.RELEASE)
  • H
Authentication Bypass

org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

Affected versions of this package are vulnerable to Authentication Bypass. The strictness of the Spring Security and the Spring Framework request mapping may differ, which could lead to resources not being secured.

How to fix Authentication Bypass?

Upgrade org.springframework:spring-webmvc to version 4.3.1.RELEASE or higher.

[3.2.0.RELEASE,4.3.1.RELEASE)