CVE-2012-6153
MEDIUM 4.3CVSS 2.0Improper certificate validation in org.apache.httpcomponents:httpclient
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.
- Published
- 4 Sep 2014
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-2x83-r56g-cv47
- Sources
- NVDJSONOSV GHSA-2x83-r56g-cv47JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | commons-httpclientcpe:2.3:a:apache:commons-httpclient:*:*:*:*:*:*:*:* |
>= 4.0, <= 4.2.2 | |
| OSV | Maven | org.apache.httpcomponents:httpclient | < 4.2.3 | 4.2.3 |
References
- http://rhn.redhat.com/errata/RHSA-2014-1098.html · Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2014-1833.html · Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2014-1834.html · Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2014-1835.html · Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2014-1836.html · Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2014-1891.html · Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2014-1892.html · Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2015-0125.html · Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2015-0158.html · Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2015-0675.html · Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2015-0720.html · Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2015-0765.html · Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2015-0850.html · Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2015-0851.html · Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2015-1888.html · WEB
- http://svn.apache.org/viewvc?view=revision&revision=1411705 · Vendor Advisory, WEB
- http://www.securityfocus.com/bid/69257 · Third Party Advisory, VDB Entry
- http://www.ubuntu.com/usn/USN-2769-1 · Third Party Advisory, WEB
- https://access.redhat.com/solutions/1165533 · Third Party Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=1129916 · Issue Tracking, Third Party Advisory, WEB
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05103564 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2012-6153 · ADVISORY
- https://github.com/apache/httpcomponents-client/commit/6e14fc146a66e0f3eb362f45f95d1a58ee18886a · WEB
- https://github.com/apache/httpcomponents-client/commit/b930227f907af1198765fc47beabbddae344ca7b · WEB
- https://github.com/advisories/GHSA-2x83-r56g-cv47 · ADVISORY
History
- 25 Nov 2026 20:18 UTC · NVD: first stored (published 4 Sep 2014)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 Oct 2018)