Open Redirect and SSRF Vulnerability in libspring-java

libspring-java Updated 02 Oct 2025

Summary

16/04/2024
N/A
No i
Unrated
Not published

CVE-2024-22262: Applications that use UriComponentsBuilder to parse an externally provided URL (e.g. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

libspring-java is a Java library used in Debian operating systems. It provides various functionalities for developing Spring applications. However, it is susceptible to an open redirect and Server-Side Request Forgery (SSRF) vulnerability when using UriComponentsBuilder to parse externally provided URLs and perform validation checks on the host of the parsed URL.

Vulnerability Detail

The vulnerability allows an attacker to manipulate the parsed URL and redirect users to malicious websites or perform SSRF attacks. This can lead to phishing attacks, unauthorized access to internal resources, and potential data breaches. The vulnerability is similar to CVE-2024-22259 and CVE-2024-22243 but with different input.

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

A possible workaround for this vulnerability is to manually validate and sanitize the externally provided URLs before passing them to UriComponentsBuilder. This can be done by checking the URL scheme, host, and other relevant components for any suspicious or malicious values.

Conclusion

The open redirect and SSRF vulnerability in libspring-java can have serious security implications. It is crucial to update the library to a patched version and implement proper validation and sanitization of externally provided URLs. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for libspring-java →

Share this vulnerability

FAQ

libspring-java is a Java library used in Debian operating systems for developing Spring applications.

An open redirect vulnerability occurs when a web application allows an attacker to redirect users to arbitrary URLs, potentially leading to phishing attacks or other malicious activities.

Server-Side Request Forgery (SSRF) vulnerability allows an attacker to make requests to internal resources on the server, potentially leading to unauthorized access or data breaches.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your manifest file, like package-lock.json, and Vulert will analyze it for any open-source vulnerabilities.

You can find more information about this vulnerability in the CVE-2024-22262 JSON report available at https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-22262.json.

Related vulnerabilities

Recent vulnerabilities recorded for libspring-java.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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