CVE-2022-29631: Server-Side Request Forgery in Jodd HTTP

org.jodd:jodd-http Updated 02 Oct 2025

Summary

07/06/2022
Yes i
High
7.5

CVE-2022-29631: Server-Side Request Forgery in Jodd HTTP. Affects org.jodd:jodd-http versions >= 5.0.0, < 6.2.1. Fixed in 6.2.1. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Jodd HTTP is a Java library that provides a simple and convenient way to perform HTTP requests. It offers various components and methods for handling HTTP communication, including sending requests and receiving responses. The vulnerability identified as CVE-2022-29631 affects Jodd HTTP version 6.0.9. This vulnerability allows attackers to execute Server-Side Request Forgery (SSRF) attacks by injecting malicious TCP payloads through the 'jodd.http.HttpRequest#set' and 'jodd.http.HttpRequest#send' components. SSRF attacks can lead to unauthorized access to internal resources, information leakage, and potential further exploitation of the target system.

Vulnerability Detail

The vulnerability in Jodd HTTP version 6.0.9 arises from the presence of multiple CLRF injection vulnerabilities in the 'jodd.http.HttpRequest#set' and 'jodd.http.HttpRequest#send' components. These vulnerabilities enable attackers to manipulate TCP payloads and forge requests to internal servers. By crafting a malicious payload, an attacker can trick the server into making unintended requests to internal resources, potentially bypassing security measures and gaining unauthorized access to sensitive information. The impact of successful SSRF attacks can be severe, ranging from data breaches to further exploitation of the target system.

How To Fix

Minimum fixed version

6.2.1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, developers can implement input validation and sanitization measures to prevent CLRF injection. This can involve validating user-supplied input and ensuring that it does not contain any malicious characters or sequences. Additionally, it is crucial to implement proper access controls and restrict the server's ability to make requests to internal resources. By carefully filtering and validating user input, developers can reduce the risk of SSRF attacks.

Conclusion

The vulnerability identified as CVE-2022-29631 in Jodd HTTP version 6.0.9 allows for Server-Side Request Forgery (SSRF) attacks through CLRF injection. This can lead to unauthorized access to internal resources and potential further exploitation of the target system. To mitigate this vulnerability, it is recommended to upgrade to Jodd HTTP version 6.2.1 or later. Implementing input validation, sanitization measures, and access controls can provide temporary protection. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.jodd:jodd-http →

Share this vulnerability

FAQ

Jodd HTTP is a Java library that provides functionality for performing HTTP requests and handling HTTP communication in Java applications.

Server-Side Request Forgery (SSRF) is a type of vulnerability that allows an attacker to make requests from a server to internal resources, potentially bypassing security measures and gaining unauthorized access to sensitive information.

CLRF injection refers to the injection of carriage return (CR) and line feed (LF) characters into input data. In the context of this vulnerability, CLRF injection allows attackers to manipulate TCP payloads and forge requests to internal servers.

Successful SSRF attacks can lead to unauthorized access to internal resources, information leakage, and potential further exploitation of the target system. This can result in data breaches, compromised systems, and potential damage to an organization's reputation.

To protect your application from SSRF attacks, it is essential to implement proper input validation and sanitization measures. Additionally, access controls should be enforced to restrict the server's ability to make requests to internal resources. Regularly updating dependencies to patched versions is also crucial to mitigate known vulnerabilities.

How To Fix

Minimum fixed version

6.2.1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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