Live threats

All CVEs / Apache

CVE-2012-6153Apache Commons-httpclient

Medium 4.3 No auth needed

Priority
41
CVSS 2.0
4.3
EPSS
5.8%
probability of exploitation in 30 days · percentile 94
Auth required
No
Published
Sep 4, 2014
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N

What happens

http/conn/ssl/AbstractVerifier.java in Apache Commons HttpClient before 4.2.3 does not properly verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via a certificate with a subject that specifies a common name in a field that is not the CN field. NOTE: this issue exists because of an incomplete fix for CVE-2012-5783.

Original NVD text.

What to do

  1. Apply the vendor's security update for Commons-httpclient.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.httpcomponents:httpclient < 4.2.3 4.2.3 —

Per OSV / GitHub Advisories (GHSA-2x83-r56g-cv47). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachecommons-httpclient≥ 4.0 ≤ 4.2.2

Official sources

References

Links published by the sources. Open them with care.