{"id":"UBUNTU-CVE-2012-5783","details":"Apache Commons HttpClient 3.x, as used in Amazon Flexible Payments Service (FPS) merchant Java SDK and other products, does not 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 an arbitrary valid certificate.","modified":"2026-01-30T01:05:21.012850Z","published":"2012-11-04T00:00:00Z","withdrawn":"2025-07-18T16:42:48Z","related":["USN-2769-1"],"upstream":["CVE-2012-5783"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2012-5783"},{"type":"REPORT","url":"http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-2769-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2012-5783"}],"affected":[{"package":{"name":"commons-httpclient","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/commons-httpclient@3.1-10.2?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1-10.2"}]}],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"3.1-10.2","binary_name":"libcommons-httpclient-java"},{"binary_version":"3.1-10.2","binary_name":"libcommons-httpclient-java-doc"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2012/UBUNTU-CVE-2012-5783.json"}},{"package":{"name":"httpcomponents-client","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/httpcomponents-client@4.3.3-1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.3-1"}]}],"versions":["4.2.5-2","4.3.2-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"4.3.3-1","binary_name":"libhttpclient-java"},{"binary_version":"4.3.3-1","binary_name":"libhttpmime-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2012/UBUNTU-CVE-2012-5783.json"}}],"schema_version":"1.7.3","severity":[{"type":"Ubuntu","score":"low"}]}