CVE-2012-5783
MEDIUM 5.8CVSS 2.0Improper Certificate Validation in Apache Commons HttpClient
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.
- Published
- 4 Nov 2012
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-295
- Also known as
- GHSA-3832-9276-x7gf
- Sources
- NVDJSONOSV GHSA-3832-9276-x7gfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | httpclientcpe:2.3:a:apache:httpclient:3.1:*:*:*:*:*:*:* |
= 3.1 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* |
= 12.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* |
= 14.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:* |
= 15.04 | |
| OSV | Maven | commons-httpclient:commons-httpclient | >= 3.0 |
References
- http://lists.opensuse.org/opensuse-updates/2013-02/msg00078.html · Broken Link, WEB
- http://lists.opensuse.org/opensuse-updates/2013-04/msg00040.html · Broken Link, WEB
- http://lists.opensuse.org/opensuse-updates/2013-04/msg00041.html · Broken Link, WEB
- http://lists.opensuse.org/opensuse-updates/2013-04/msg00053.html · Broken Link, WEB
- http://rhn.redhat.com/errata/RHSA-2013-0270.html · Broken Link, WEB
- http://rhn.redhat.com/errata/RHSA-2013-0679.html · Broken Link, WEB
- http://rhn.redhat.com/errata/RHSA-2013-0680.html · Broken Link, WEB
- http://rhn.redhat.com/errata/RHSA-2013-0681.html · Broken Link
- http://rhn.redhat.com/errata/RHSA-2013-0682.html · Broken Link, WEB
- http://rhn.redhat.com/errata/RHSA-2013-1147.html · Broken Link
- http://rhn.redhat.com/errata/RHSA-2013-1853.html · Broken Link, WEB
- http://rhn.redhat.com/errata/RHSA-2014-0224.html · Broken Link, WEB
- http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf · Technical Description, Third Party Advisory, WEB
- http://www.securityfocus.com/bid/58073 · Third Party Advisory, VDB Entry
- http://www.ubuntu.com/usn/USN-2769-1 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2017:0868 · Third Party Advisory, WEB
- https://exchange.xforce.ibmcloud.com/vulnerabilities/79984 · Third Party Advisory, VDB Entry, WEB
- https://issues.apache.org/jira/browse/HTTPCLIENT-1265 · Issue Tracking, Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2012-5783 · ADVISORY
- https://github.com/apache/httpcomponents-client · PACKAGE
History
- 25 Nov 2026 20:17 UTC · NVD: first stored (published 4 Nov 2012)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 May 2022)