Skip to content
OpenAdvisories
High CVE-2012-6153 EUVD-2018-0479GHSA-2x83-r56g-cv47

Improper certificate validation in org.apache.httpcomponents:httpclient

Published Sep 4, 2014 · Updated Aug 6, 2024 · Assigned by redhat

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 commons-httpclient 3.1-10.2 —
Debian 13 commons-httpclient 3.1-10.2 —
Debian 12 commons-httpclient 3.1-10.2 —
Debian 6.0 commons-httpclient 3.1-9+deb6u1 DLA-222-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS commons-httpclient 3.1-10.2ubuntu0.14.04.1 USN-2769-1
ReleasePackageFixed inAdvisory
Red Hat Rhev Manager 3 rhevm +16 3.5.0-0.29.el6ev RHSA-2015:0158
Red Hat JBoss Web Platform 5 apache-cxf 2.2.12-14.patch_09.el6 RHSA-2014:1833
Red Hat JBoss Web Platform 5 jakarta-commons-httpclient 1:3.1-4_patch_02.el6_5 RHSA-2014:1320
Red Hat JBoss Web Platform 5 jboss-seam2 +3 2.2.6.EAP5-22_patch_01.el6 RHSA-2014:1320
Red Hat JBoss EAP 6 apache-cxf 2.7.12-1.SP1_redhat_5.1.ep6.el5 RHSA-2014:2019
Red Hat JBoss EAP 6 httpcomponents-eap6 +1 6-12.redhat_2.1.ep6.el5 RHSA-2014:1162
Red Hat JBoss EAP 6 httpcore-eap6 +4 4.2.1-12.redhat_2.1.ep6.el5 RHSA-2014:1162
Red Hat JBoss EAP 6 wss4j 1.6.16-2.redhat_3.1.ep6.el5 RHSA-2014:2019
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat JBoss EAP 5 apache-cxf 2.2.12-14.patch_09.el6 RHSA-2014:1834
Red Hat JBoss EAP 5 jakarta-commons-httpclient 1:3.1-4_patch_02.el6_5 RHSA-2014:1321
Red Hat JBoss EAP 5 jboss-seam2 +3 2.2.6.EAP5-22_patch_01.el6 RHSA-2014:1321
Red Hat Developer Toolset 2 devtoolset-2-httpcomponents-client +1 4.2.1-6.el6 RHSA-2014:1098

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.httpcomponents:httpclient < 4.2.3 4.2.3 GHSA-2x83-r56g-cv47

Advisories 11

References