CVE-2012-5817
CVE-2012-5817 is a high-severity vulnerability in Amazon Ec2 Api Tools Java Library with a CVSS 3.x base score of 7.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-295.
Key facts
- Severity: High (CVSS 3.x base score 7.4)
- CVSS v2: 5.8
- EPSS exploit prediction: 1% (57th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-295
- Affected product: Amazon Ec2 Api Tools Java Library
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2012-5817?
- 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.
- How severe is CVE-2012-5817?
- CVE-2012-5817 has a CVSS 3.x base score of 7.4, rated high severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2012-5817 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (57th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2012-5817?
- CVE-2012-5817 primarily affects Amazon Ec2 Api Tools Java Library. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2012-5817?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2012-5817 published?
- CVE-2012-5817 was published on 2012-11-04 and last updated on 2026-06-16.
References
- http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf
- https://exchange.xforce.ibmcloud.com/vulnerabilities/79934
Affected products (2)
- cpe:2.3:a:amazon:ec2_api_tools_java_library:-:*:*:*:*:*:*:*
- cpe:2.3:a:codehaus:xfire:*:*:*:*:*:*:*:*
Other CWE-295 (Improper Certificate Validation) vulnerabilities
- CVE-2026-75521 — Critical (CVSS 10.0): Miren Runtime provides the runtime component for the Miren application platform. Prior to 0.11.1, the QUIC/HTTP3 RPC…
- CVE-2026-112816 — Critical (CVSS 10.0): Improper certificate validation in the HTTPS listener in Canonical LXD 4.0.14, 5.0.10, 5.21.8, 6.9 before 4.0.15,…
- CVE-2026-111815 — Critical (CVSS 10.0): Apache Traffic Server can resume a TLS session across SNI virtual hosts without re-verifying a client certificate…
- CVE-2026-111814 — Critical (CVSS 10.0): Apache Traffic Server's default outbound session-sharing policy can reuse a pooled TLS session authenticated with one…
- CVE-2026-96207 — Critical (CVSS 10.0): Improper certificate validation in Microsoft Partner Center allows an unauthorized attacker to elevate privileges over…
- CVE-2026-58162 — Critical (CVSS 10.0): The Apache Traffic Server certifier plugin generates certificates based on attacker-controlled client SNI. This…
Browse all CWE-295 (Improper Certificate Validation) vulnerabilities →