Denial of Service in Apache HttpComponents HttpClient

commons-httpclient Updated 02 Oct 2025

Summary

27/10/2015
N/A
Yes i
Unrated
Not published

CVE-2015-5262: http/conn/ssl/SSLConnectionSocketFactory.java in Apache HttpComponents HttpClient before 4.3.6 ignores the http.socket.timeout configuration setting during an SSL handshake, which allows remote attackers to cause a denia... Affects commons-httpclient versions < 3.1-12. Fixed in 3.1-12. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Apache HttpComponents HttpClient is a library for making HTTP requests in Java. It provides a set of classes and methods to interact with HTTP servers and handle various aspects of the HTTP protocol. This vulnerability affects versions before 4.3.6 of the library.

Vulnerability Detail

The vulnerability, identified as CVE-2015-5262, exists in the SSLConnectionSocketFactory class of Apache HttpComponents HttpClient. During an SSL handshake, the library ignores the http.socket.timeout configuration setting. This oversight allows remote attackers to cause a denial of service by initiating an HTTPS call that hangs indefinitely. The exact vectors for exploitation are unspecified.

How To Fix

Minimum fixed version

3.1-12

This is the first release that contains the fix.

sudo apt-get install --only-upgrade commons-httpclient

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

Workaround

No workaround has been provided for this vulnerability.

Conclusion

In conclusion, the Apache HttpComponents HttpClient library before version 4.3.6 is vulnerable to a denial of service attack. It is recommended to upgrade to the latest version of the httpcomponents-client package to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for commons-httpclient →

Share this vulnerability

FAQ

Apache HttpComponents HttpClient is a Java library for making HTTP requests.

The vulnerability allows remote attackers to cause a denial of service by hanging HTTPS calls.

Versions before 4.3.6-1 of the httpcomponents-client package are affected.

No workaround has been provided for this vulnerability.

To fix this vulnerability, upgrade to version 4.3.6-1 or later of the httpcomponents-client package.

Related vulnerabilities

Recent vulnerabilities recorded for commons-httpclient.

How To Fix

Minimum fixed version

3.1-12

This is the first release that contains the fix.

sudo apt-get install --only-upgrade commons-httpclient

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