CVE-2012-5817
HIGH 7.4CVSS 3.1Improper Input Validation in XFire
Codehaus XFire 1.2.6 and earlier, as used in the Amazon EC2 API Tools Java library 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
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-20CWE-295
- Also known as
- GHSA-5jc8-8xhv-g8qm
- Sources
- NVDJSONOSV GHSA-5jc8-8xhv-g8qmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| 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 | amazon | ec2_api_tools_java_librarycpe:2.3:a:amazon:ec2_api_tools_java_library:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | codehaus | xfirecpe:2.3:a:codehaus:xfire:*:*:*:*:*:*:*:* |
<= 1.2.6 | |
| OSV | Maven | org.codehaus.xfire:xfire-core | <= 1.2.6 |
References
- http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf · Exploit, WEB
- https://exchange.xforce.ibmcloud.com/vulnerabilities/79934 · Third Party Advisory, VDB Entry, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2012-5817 · ADVISORY
History
- 25 Nov 2026 20:17 UTC · NVD: first stored (published 4 Nov 2012)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 May 2022)