Security mailing lists by PureSourceCode

CVE-2024-38816

HIGH 7.5CVSS 3.1

Path traversal vulnerability in functional web frameworks

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:

Published
13 Sep 2024
Last modified
10 Sep 2026
Assigned by
security@vmware.com
NVD status
Deferred
Weakness
CWE-22
Also known as
GHSA-cx7f-g6mp-7hqm
Sources
NVDJSONOSV GHSA-cx7f-g6mp-7hqmJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@vmware.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Maven org.springframework:spring-webmvc >= 6.1.0, < 6.1.13 6.1.13
OSV Maven org.springframework:spring-webflux >= 6.1.0, < 6.1.13 6.1.13
OSV Maven org.springframework:spring-webmvc >= 6.0.0, <= 6.0.23
OSV Maven org.springframework:spring-webflux >= 6.0.0, <= 6.0.23
OSV Maven org.springframework:spring-webmvc >= 5.3.0, <= 5.3.39
OSV Maven org.springframework:spring-webflux >= 5.3.0, <= 5.3.39

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 13 Sep 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 Sep 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.