org.springframework:spring-webmvc@4.3.10.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
  • M
Denial of Service (DoS)

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 Denial of Service (DoS) via MVC controller @RequestBody byte[] method parameters.

Note: This vulnerable open source versions are no longer supported and the fixed version 5.3.42 is only available for the commercial release.

How to fix Denial of Service (DoS)?

There is no fixed version for org.springframework:spring-webmvc.

[0,)
  • 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 through the functional web frameworks WebMvc.fn or WebFlux.fn. An attacker can craft malicious HTTP requests and obtain any file on the file system that is also accessible.

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

How to fix Path Traversal?

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

[,6.1.14)
  • L
Improper Handling of Case Sensitivity

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 Improper Handling of Case Sensitivity due to String.toLowerCase() having some Locale dependent exceptions that could potentially result in fields not protected as expected.

Note: The fix for CVE-2022-22968 made disallowedFields patterns in DataBinder case insensitive.

How to fix Improper Handling of Case Sensitivity?

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

[,6.1.14)
  • 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
Multipart Content Pollution

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 Multipart Content Pollution. It provides client-side support for multipart requests. When the server application (server A) receives input from a remote client, and then uses that input to make a multipart request to another server (server B), it can be exposed to an attack, where an extra multipart is inserted in the content of the request from server A, causing server B to use the wrong value for a part it expects. This could to lead privilege escalation, for example, if the part content represents a username or user roles.

How to fix Multipart Content Pollution?

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

[4.3.0.RELEASE,4.3.14.RELEASE) [5.0.0.RELEASE,5.0.5.RELEASE)
  • 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)
  • M
Information Exposure

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 Information Exposure. It allows web applications to enable cross-domain requests via JSONP (JSON with Padding) through AbstractJsonpResponseBodyAdvice for REST controllers, and MappingJackson2JsonView for browser requests. When MappingJackson2JsonView is configured in an application, JSONP support is automatically ready to use through the jsonp and callback JSONP parameters, enabling cross-domain requests. Allowing cross-domain requests from untrusted origins may expose user information to 3rd party browser scripts.

How to fix Information Exposure?

Upgrade org.springframework:spring-webmvc to version 4.3.18.RELEASE, 5.0.7.RELEASE or higher.

[4.3.0.RELEASE,4.3.18.RELEASE) [5.0.0.RELEASE,5.0.7.RELEASE)