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.
Remediation
References
http://rhn.redhat.com/errata/RHSA-2014-1098.html
http://svn.apache.org/viewvc?view=revision&revision=1411705
https://bugzilla.redhat.com/show_bug.cgi?id=1129916
http://www.securityfocus.com/bid/69257
https://access.redhat.com/solutions/1165533
http://rhn.redhat.com/errata/RHSA-2014-1892.html
http://rhn.redhat.com/errata/RHSA-2014-1891.html
http://rhn.redhat.com/errata/RHSA-2014-1836.html
http://rhn.redhat.com/errata/RHSA-2014-1835.html
http://rhn.redhat.com/errata/RHSA-2014-1834.html
http://rhn.redhat.com/errata/RHSA-2014-1833.html
http://rhn.redhat.com/errata/RHSA-2015-0158.html
http://rhn.redhat.com/errata/RHSA-2015-0675.html
http://rhn.redhat.com/errata/RHSA-2015-0125.html
http://rhn.redhat.com/errata/RHSA-2015-0720.html
http://rhn.redhat.com/errata/RHSA-2015-0765.html
http://rhn.redhat.com/errata/RHSA-2015-0851.html
http://rhn.redhat.com/errata/RHSA-2015-0850.html
http://www.ubuntu.com/usn/USN-2769-1
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05103564
http://rhn.redhat.com/errata/RHSA-2015-1888.html
Related Vulnerabilities
CVE-2017-16081 Vulnerability in npm package cross-env.js
CVE-2023-40816 Vulnerability in maven package org.opencrx:opencrx-core-models
CVE-2020-15125 Vulnerability in npm package auth0
CVE-2022-21144 Vulnerability in npm package libxmljs
CVE-2023-48796 Vulnerability in maven package org.apache.dolphinscheduler:dolphinscheduler-master