CVEfocus › CVE database › CVE-2012-6153

CVE-2012-6153

EPSS 5.8% (higher than 93% of CVEs)Published 2014-09-04Updated 2024-08-06Assigner: redhat

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.

What to do

Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
14Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04commons-httpclientNot affected
vulnerable_code_not_present
Ubuntu 16.04httpcomponents-clientNot affected
vulnerable_code_not_present
Ubuntu 14.04commons-httpclientNot affected
vulnerable_code_not_present
Debian 14commons-httpclientFixed3.1-10.2DEBIAN-CVE-2012-6153
Debian 13commons-httpclientFixed3.1-10.2DEBIAN-CVE-2012-6153
Debian 12commons-httpclientFixed3.1-10.2DEBIAN-CVE-2012-6153
Red Hat Enterprise Linux 7httpcomponents-clientNot affected
Red Hat Enterprise Linux 7httpcomponents-client-javadocNot affected
Red Hat Enterprise Linux 7jakarta-commons-httpclientNot affected
Red Hat Enterprise Linux 7jakarta-commons-httpclient-demoNot affected
Red Hat Enterprise Linux 7jakarta-commons-httpclient-javadocNot affected
Red Hat Enterprise Linux 7jakarta-commons-httpclient-manualNot affected
Red Hat Enterprise Linux 6jakarta-commons-httpclientNot affected
Red Hat Enterprise Linux 6jakarta-commons-httpclient-demoNot affected
Red Hat Enterprise Linux 6jakarta-commons-httpclient-javadocNot affected
Red Hat Enterprise Linux 6jakarta-commons-httpclient-manualNot affected
Red Hat Enterprise Linux 5jakarta-commons-httpclientNot affected
Maven libraryorg.apache.httpcomponents:httpclientFixed4.2.3GHSA-2x83-r56g-cv47

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.