Ubuntu CVE Tracker
UBUNTU-CVE-2012-6153
This advisory was withdrawn on 18 July 2025.
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:14.04:LTS | commons-httpclient | All versions before 3.1-10.2 (fixed in 3.1-10.2) |
| Ubuntu:14.04:LTS | httpcomponents-client | All versions before 4.3.3-1 (fixed in 4.3.3-1) |
| Ubuntu:16.04:LTS | httpcomponents-client | All versions before 4.4.1-1 (fixed in 4.4.1-1) |