Directory Traversal The advisory has been revoked - it doesn't affect any version of package org.springframework/spring-webmvc  (opens in a new tab)


Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
14.72% (97th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-ORGSPRINGFRAMEWORKSPRINGWEBMVC-7986117
  • published17 Sept 2024
  • disclosed13 Sept 2024

Introduced: 13 Sep 2024

CVE-2024-38816  (opens in a new tab)
CWE-22  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:7.

NVD Description

Note: Versions mentioned in the description apply only to the upstream org.springframework/spring-webmvc package and not the org.springframework/spring-webmvc package as distributed by RHEL.

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: