CVE-2024-38816

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-38816
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38816.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-38816
Aliases
Related
Published
2024-09-13T06:15:11Z
Modified
2024-09-13T19:57:44.691539Z
Summary
[none]
Details

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:

  • the Spring Security HTTP Firewall https://docs.spring.io/spring-security/reference/servlet/exploits/firewall.html  is in use
  • the application runs on Tomcat or Jetty
References

Affected packages

Debian:11 / libspring-java

Package

Name
libspring-java
Purl
pkg:deb/debian/libspring-java?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.3.30-1
4.3.30-2

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:12 / libspring-java

Package

Name
libspring-java
Purl
pkg:deb/debian/libspring-java?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.3.30-2

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:13 / libspring-java

Package

Name
libspring-java
Purl
pkg:deb/debian/libspring-java?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.3.30-2

Ecosystem specific

{
    "urgency": "unimportant"
}