{"cve":"CVE-2012-6153","nvd":{"published":"2014-09-04T17:55:04.623","modified":"2026-06-16T23:47:55.373","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-20"],"references":["http://rhn.redhat.com/errata/RHSA-2014-1098.html","http://rhn.redhat.com/errata/RHSA-2014-1833.html","http://rhn.redhat.com/errata/RHSA-2014-1834.html","http://rhn.redhat.com/errata/RHSA-2014-1835.html","http://rhn.redhat.com/errata/RHSA-2014-1836.html"],"products":["apache:commons-httpclient"],"source":"nvd","synced_at":"2026-10-19T20:34:04.196504363+00:00"},"epss":{"cve":"CVE-2012-6153","score":0.05844,"percentile":0.93175,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-2x83-r56g-cv47","url":"https://osv.dev/vulnerability/GHSA-2x83-r56g-cv47","summary":"Improper certificate validation in org.apache.httpcomponents:httpclient","modified":"2024-12-02T05:48:49.049751Z","packages":[{"ecosystem":"Maven","name":"org.apache.httpcomponents:httpclient","purl":"pkg:maven/org.apache.httpcomponents/httpclient","ranges":["<4.2.3"],"fixed":["4.2.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}