Sensitive Information Exposure in Apache HttpClient 4.x - Proxy-Authorization Header Leak

httpcomponents-client Updated 02 Oct 2025

Summary

07/07/2011
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2011-1498: Apache HttpClient 4.x before 4.1.1 in Apache HttpComponents, when used with an authenticating proxy server, sends the Proxy-Authorization header to the origin server, which allows remote web servers to obtain sensitive i... Affects httpcomponents-client versions < 4.1.1-1. Fixed in 4.1.1-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

Apache HttpClient is a popular library used for making HTTP requests in Java applications. It provides a robust and flexible way to interact with web services, handling various aspects of HTTP communication, including authentication, connection management, and response handling. However, versions prior to 4.1.1 have a vulnerability that can expose sensitive information when used with an authenticating proxy server.

Vulnerability Detail

The vulnerability arises from the way Apache HttpClient 4.x handles the Proxy-Authorization header. When an authenticating proxy server is used, the library inadvertently sends this header to the origin server. This behavior can lead to remote web servers logging the Proxy-Authorization header, potentially exposing sensitive credentials or tokens to unauthorized parties. The issue is particularly concerning for applications that rely on proxy servers for authentication, as it can result in data breaches and unauthorized access.

How To Fix

Minimum fixed version

4.1.1-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade httpcomponents-client

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

Workaround

If updating the package is not immediately feasible, consider configuring your application to avoid sending the Proxy-Authorization header to the origin server. This can be done by modifying your HTTP client configuration to disable proxy authentication or by using a different method for authenticating with the proxy.

Conclusion

The Apache HttpClient vulnerability (CVE-2011-1498) poses a significant risk by exposing sensitive information through the Proxy-Authorization header. It is crucial for users of affected versions to update to version 4.1.1 or later to mitigate this risk. Additionally, implementing workarounds can provide temporary relief until an update can be applied.

See every vulnerability recorded for httpcomponents-client →

Share this vulnerability

FAQ

The vulnerability can lead to sensitive information exposure, as the Proxy-Authorization header may contain credentials that can be logged by remote servers.

Apache HttpClient versions prior to 4.1.1 are affected by this vulnerability.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Consider implementing a workaround by disabling proxy authentication or modifying your HTTP client configuration to prevent sending the Proxy-Authorization header.

Related vulnerabilities

Recent vulnerabilities recorded for httpcomponents-client.

How To Fix

Minimum fixed version

4.1.1-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade httpcomponents-client

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