Skip to content
Fencer Intel
medium 4.3

CVE-2012-6153 json

Improper certificate validation in org.apache.httpcomponents:httpclient

published 2014-09-04 12 y ago modified 2026-06-16 4 mo ago also GHSA-2x83-r56g-cv47 , EUVD-2018-0479

cvss
4.3
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
5.8%
EPSS 5.8% chance of exploitation in 30 days, percentile 93%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.apache.httpcomponents:httpclient 4.2.3
  • commons-httpclient Debian 14, Debian 13, Debian 12 3.1-10.2

debian advisories DEBIAN-CVE-2012-6153

  • rhevm rhev manager 3 3.5.0-0.29.el6ev
  • rhevm-lib rhev manager 3 3.5.0-0.29.el6ev
  • rhevm-setup rhev manager 3 3.5.0-0.29.el6ev
  • rhevm-tools rhev manager 3 3.5.0-0.29.el6ev
  • rhevm-backend rhev manager 3 3.5.0-0.29.el6ev
  • rhevm-restapi rhev manager 3 3.5.0-0.29.el6ev
  • rhevm-dbscripts rhev manager 3 3.5.0-0.29.el6ev
  • rhevm-setup-base rhev manager 3 3.5.0-0.29.el6ev

red hat advisories RHSA-2015:0158RHSA-2014:2019RHSA-2014:1834RHSA-2014:1833RHSA-2014:1321RHSA-2014:1320

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2012-6153 updated cvss 5.8

CXF: SSL hostname verification bypass, incomplete CVE-2012-5783 fix

  • Red Hat OpenShift Enterprise 1 jakarta-commons-httpclient
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Virtualization 3 rhevm-dependencies, redhat-support-plugin-rhev
    affected: no fix available
  • Red Hat JBoss BRMS 5 cxf, httpclient, jakarta-commons-httpclient, modeshape-client modeshape-client
    affected: no fix available, no fix planned “Will not fix”
  • Red Hat JBoss Data Grid 6 cxf, httpclient
    affected: no fix available
  • Red Hat JBoss Data Virtualization 6 cxf, modeshape-client modeshape-client
    affected: no fix available “Fix deferred”
  • Red Hat JBoss Enterprise Application Platform 4 jakarta-commons-httpclient
    affected: no fix planned “Will not fix”
  • Red Hat JBoss Enterprise Application Platform 5 cxf
    affected: no fix available
  • Red Hat JBoss Enterprise Application Platform 6 cxf, jakarta-commons-httpclient
    affected: no fix available “Fix deferred”
show 20 more
  • Red Hat JBoss Enterprise Web Server 1 jakarta-commons-httpclient
    affected: no fix planned “Will not fix”
  • Red Hat JBoss Fuse Service Works 6 cxf Red Hat JBoss Operations Network 3 cxf Red Hat JBoss Portal 5 httpclient, jakarta-commons-httpclient Red Hat JBoss Portal 6 cxf
    affected: no fix available
  • Red Hat JBoss SOA Platform 4 jakarta-commons-httpclient
    affected: no fix planned “Will not fix”
  • Red Hat OpenShift Enterprise 2 jakarta-commons-httpclient Red Hat Satellite 5 jakarta-commons-httpclient Red Hat Satellite 6 httpcomponents-client
    affected: no fix available
  • Red Hat Storage 2 rhevm-dependencies Red Hat Storage 3 rhevm-dependencies
    affected: no fix planned “Will not fix”
  • Red Hat Developer Toolset 2 for Red Hat Enterprise Linux 6 Server devtoolset-2-httpcomponents-client 4.2.1-6.el6, devtoolset-2-httpcomponents-client-javadoc 4.2.1-6.el6 Red Hat Developer Toolset 2 for Red Hat Enterprise Linux 6 Workstation devtoolset-2-httpcomponents-client 4.2.1-6.el6, devtoolset-2-httpcomponents-client-javadoc 4.2.1-6.el6
    fixed: vendor fix RHSA-2014:1098
  • Red Hat JBoss BPMS 6.0
    fixed: vendor fix RHSA-2015:0234
  • Red Hat JBoss BRMS 6.0
    fixed: vendor fix RHSA-2015:0235
  • Red Hat JBoss Data Virtualization 6.0
    fixed: vendor fix RHSA-2015:0765
  • Red Hat JBoss Data Virtualization 6.1
    fixed: vendor fix RHSA-2015:0675
  • Red Hat JBoss Enterprise Application Platform 5 for RHEL 4 AS apache-cxf 2.2.12-14.patch_09.ep5.el4, jboss-seam2 2.2.6.EAP5-22_patch_01.ep5.el4, jakarta-commons-httpclient 3.1-4_patch_02.ep5.el4, jboss-seam2-runtime 2.2.6.EAP5-22_patch_01.ep5.el4, jboss-seam2-examples 2.2.6.EAP5-22_patch_01.ep5.el4 Red Hat JBoss Enterprise Application Platform 5 for RHEL 4 ES apache-cxf 2.2.12-14.patch_09.ep5.el4, jboss-seam2 2.2.6.EAP5-22_patch_01.ep5.el4, jakarta-commons-httpclient 3.1-4_patch_02.ep5.el4, jboss-seam2-runtime 2.2.6.EAP5-22_patch_01.ep5.el4, jboss-seam2-examples 2.2.6.EAP5-22_patch_01.ep5.el4 Red Hat JBoss Enterprise Application Platform 5 for RHEL 5 Server apache-cxf 2.2.12-14.patch_09.ep5.el5, jboss-seam2 2.2.6.EAP5-22_patch_01.ep5.el5, jakarta-commons-httpclient 3.1-4_patch_02.ep5.el5, jboss-seam2-runtime 2.2.6.EAP5-22_patch_01.ep5.el5, jboss-seam2-examples 2.2.6.EAP5-22_patch_01.ep5.el5 Red Hat JBoss Enterprise Application Platform 5 for RHEL 6 Server apache-cxf 2.2.12-14.patch_09.el6, jboss-seam2 2.2.6.EAP5-22_patch_01.el6, jboss-seam2-runtime 2.2.6.EAP5-22_patch_01.el6, jakarta-commons-httpclient 3.1-4_patch_02.el6_5, jboss-seam2-examples 2.2.6.EAP5-22_patch_01.el6
    fixed: vendor fix RHSA-2014:1834
  • Red Hat JBoss Enterprise Application Platform 5.2
    fixed: vendor fix RHSA-2014:1836
  • Red Hat JBoss Enterprise Application Platform 6.3
    fixed: vendor fix RHSA-2014:2020
  • Red Hat JBoss Enterprise Application Platform 6.3 for RHEL 5 Server wss4j 1.6.16-2.redhat_3.1.ep6.el5, httpcore-eap6 4.2.1-12.redhat_2.1.ep6.el5, httpmime-eap6 4.2.1-12.redhat_2.1.ep6.el5, apache-cxf 2.7.12-1.SP1_redhat_5.1.ep6.el5, httpclient-eap6 4.2.1-12.redhat_2.1.ep6.el5, httpcomponents-eap6 6-12.redhat_2.1.ep6.el5, +3 more Red Hat JBoss Enterprise Application Platform 6.3 for RHEL 6 Server wss4j 1.6.16-2.redhat_3.1.ep6.el6, httpcore-eap6 4.2.1-12.redhat_2.1.ep6.el6, httpmime-eap6 4.2.1-12.redhat_2.1.ep6.el6, apache-cxf 2.7.12-1.SP1_redhat_5.1.ep6.el6, httpclient-eap6 4.2.1-12.redhat_2.1.ep6.el6, httpcomponents-eap6 6-12.redhat_2.1.ep6.el6, +3 more Red Hat JBoss Enterprise Application Platform 6.3 for RHEL 7 Server wss4j 1.6.16-2.redhat_3.1.ep6.el7, httpcore-eap6 4.2.1-12.redhat_2.1.ep6.el7, httpmime-eap6 4.2.1-12.redhat_2.1.ep6.el7, apache-cxf 2.7.12-1.SP1_redhat_5.1.ep6.el7, httpclient-eap6 4.2.1-12.redhat_2.1.ep6.el7, httpcomponents-eap6 6-12.redhat_2.1.ep6.el7, +3 more
    fixed: vendor fix RHSA-2014:2019
  • Red Hat JBoss Fuse Service Works 6.0
    fixed: vendor fix RHSA-2015:0720
  • Red Hat JBoss Operations Network 3.3
    fixed: vendor fix RHSA-2014:1904
  • Red Hat JBoss Portal 6.2
    fixed: vendor fix RHSA-2015:1009
  • Red Hat JBoss SOA Platform 5.3
    fixed: vendor fix RHSA-2015:1888
  • Red Hat JBoss Web Framework Kit 2.7
    fixed: vendor fix RHSA-2015:0125
  • Red Hat JBoss Web Platform 5 for RHEL 5 Server apache-cxf 2.2.12-14.patch_09.ep5.el5, jboss-seam2 2.2.6.EAP5-22_patch_01.ep5.el5, jakarta-commons-httpclient 3.1-4_patch_02.ep5.el5, jboss-seam2-runtime 2.2.6.EAP5-22_patch_01.ep5.el5, jboss-seam2-examples 2.2.6.EAP5-22_patch_01.ep5.el5
    fixed: vendor fix RHSA-2014:1833

3 more fixed, 8 more not affected in the full advisory

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

5.84% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected packages

ecosystem package affected fixed in
maven org.apache.httpcomponents:httpclient
<4.2.3
4.2.3

Classification

Weakness
  • CWE-20 Improper Input Validation

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.