p PatchFirst

CVE-2024-38816

CVE-2024-38816 · CVE-2024-38816: Path traversal vulnerability in functional web frameworks

CVSS 7.5 · High · EPSS 21.3% · Public exploit · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="libspring-java"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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
Published
Updated

Stack: system

Affected products and versions

  • spring

    Versions
    • ≥ 5.3.x, < 5.3.40: Affected (enterprise Support Only)
    • ≥ 6.0.x, < 6.0.24: Affected (enterprise Support Only)
    • ≥ 6.1.x, < 6.1.13: Affected (OSS)

    Update to 5.3.40; Update to 6.0.24; Update to 6.1.13

  • libspring-java Debian 12

    Versions
    • 4.3.30-2
    • 4.3.30-3
    • 4.3.30-4
    • 4.3.30-5
    • 4.3.30-6
    • 5.1.20-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libspring-java Debian 13

    Versions
    • 4.3.30-3
    • 4.3.30-4
    • 4.3.30-5
    • 4.3.30-6
    • 5.1.20-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libspring-java Debian 14

    Versions
    • 4.3.30-3
    • 4.3.30-4
    • 4.3.30-5
    • 4.3.30-6
    • 5.1.20-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libspring-java Ubuntu Pro 14.04 LTS

    Versions
    • 3.0.6.RELEASE-7
    • 3.0.6.RELEASE-8
    • 3.0.6.RELEASE-9
    • 3.0.6.RELEASE-10
    • 3.0.6.RELEASE-11
    • 3.0.6.RELEASE-12
    All versions (9)
    • 3.0.6.RELEASE-13
    • 3.0.6.RELEASE-13ubuntu0.1~esm1
    • 3.0.6.RELEASE-13ubuntu0.1~esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libspring-java Ubuntu Pro 16.04 LTS

    Versions
    • 3.2.13-3
    • 3.2.13-4
    • 3.2.13-5
    • 3.2.13-5ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libspring-java Ubuntu Pro 18.04 LTS

    Versions
    • 4.3.11-1
    • 4.3.12-1
    • 4.3.13-2
    • 4.3.14-1
    • 4.3.22-1~18.04
    • 4.3.22-1~18.04.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libspring-java Ubuntu Pro 20.04 LTS

    Versions
    • 4.3.22-4
    • 4.3.22-4ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libspring-java Ubuntu Pro 22.04 LTS

    Versions
    • 4.3.30-1
    • 4.3.30-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libspring-java Ubuntu Pro 24.04 LTS

    Versions
    • 4.3.30-2
    • 4.3.30-2ubuntu0.24.04.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libspring-java Ubuntu 25.10

    Versions
    • 4.3.30-2ubuntu1
    • 4.3.30-3ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libspring-java Ubuntu 26.10

    Versions
    • 4.3.30-3ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libspring-java Ubuntu 26.04 LTS

    Versions
    • 4.3.30-3ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →