Path Traversal Vulnerability in libspring-java Package

libspring-java Updated 02 Oct 2025

Summary

19/12/2024
N/A
No i
Unrated
Not published

DEBIAN-CVE-2024-38819: Applications serving static resources through the functional web frameworks WebMvc.fn or WebFlux.fn are vulnerable to path traversal attacks. Affects libspring-java versions 4.3.30-1 – 4.3.30-3. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

libspring-java is a widely used library in the Spring Framework, which provides comprehensive support for developing Java applications. It enables developers to create web applications using the WebMvc and WebFlux frameworks, which facilitate the handling of HTTP requests and responses. However, this package has been identified as vulnerable to path traversal attacks, which can compromise the security of applications that serve static resources.

Vulnerability Detail

The vulnerability arises from the way applications using the WebMvc.fn or WebFlux.fn frameworks handle HTTP requests for static resources. An attacker can exploit this flaw by crafting malicious HTTP requests that manipulate file paths, allowing them to access sensitive files on the server's file system. This can lead to unauthorized data exposure and potential system compromise, as the attacker can retrieve any file that the Spring application has access to.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can implement strict input validation and sanitization for file paths in your application. This can help mitigate the risk of path traversal attacks by ensuring that only valid and expected file paths are processed. Additionally, consider restricting access to sensitive directories and files at the server level.

Conclusion

The libspring-java package is vulnerable to path traversal attacks, which can lead to unauthorized access to sensitive files on the server. It is crucial to update the package to the latest patched version and implement additional security measures to protect your applications. Utilizing tools like Vulert can further enhance your vulnerability management efforts.

See every vulnerability recorded for libspring-java →

Share this vulnerability

FAQ

A path traversal attack is a type of security vulnerability that allows an attacker to access files and directories that are stored outside the intended directory structure of an application.

You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. By uploading your manifest file, you can check if your application is affected by this vulnerability.

If exploited, this vulnerability can lead to unauthorized access to sensitive files, data breaches, and potential system compromise, which can have severe implications for your application and users.

Yes, a patched version of the libspring-java package is available. It is recommended to update to this version to mitigate the vulnerability.

Vulert is a tool that monitors open-source vulnerabilities in your software without requiring access to the code. It uses a manifest file to alert you in real-time about any vulnerabilities, helping you maintain the security of your applications.

Related vulnerabilities

Recent vulnerabilities recorded for libspring-java.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback