Live threats

All CVEs / Amazon

CVE-2012-5817Amazon Ec2 Api Tools Java Library

High 7.4 No auth needed

Priority
59
CVSS 3.1
7.4
EPSS
0.8%
probability of exploitation in 30 days · percentile 52
Auth required
No
Published
Nov 4, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-295
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ec2 Api Tools Java Library.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.codehaus.xfire:xfire-core ≤ 1.2.6 no fixed version —

Per OSV / GitHub Advisories (GHSA-5jc8-8xhv-g8qm). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
amazonec2_api_tools_java_libraryall
codehausxfire≤ 1.2.6

Official sources

References

Links published by the sources. Open them with care.