CVE-2012-5783
Improper Certificate Validation in Apache Commons HttpClient
Reported by mitre · Published November 4, 2012
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| wolfi | trino | 0 |
| wolfi | apicurio-registry | 0 |
| chainguard | zaproxy | 0 |
| chainguard | hadoop-fips-3.3.6 | 0 |
| Maven | commons-httpclient:commons-httpclient | 3.0 |
| chainguard | apicurio-registry | 0 |
| Maven | org.apache.httpcomponents:httpclient | 3.0 |
| chainguard | trino | 0 |
Timeline
- Nov 4, 2012 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Jul 16, 2025 CVE Rejected
- Jul 16, 2025 CVE Updated
- Mar 5, 2026 Distribution Patch (5 in total, the first dated here)
- Mar 5, 2026 Security Advisory (9 in total, the first dated here)
- Oct 25, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2012-5783
vulnetix vdb fixes CVE-2012-5783
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2012-5783/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2013:0681 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- openSUSE-SU-2013:0622 vendor-advisoryx_refsource_SUSE
- RHSA-2013:0680 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:0868 vendor-advisoryx_refsource_REDHAT
- openSUSE-SU-2013:0354 vendor-advisoryx_refsource_SUSE
- 58073 vdb-entryx_refsource_BID
- apache-commons-ssl-spoofing(79984) vdb-entryx_refsource_XF
- RHSA-2013:0270 vendor-advisoryx_refsource_REDHAT
- RHSA-2013:0682 vendor-advisoryx_refsource_REDHAT
- openSUSE-SU-2013:0638 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2013:0623 vendor-advisoryx_refsource_SUSE
- RHSA-2013:1853 vendor-advisoryx_refsource_REDHAT
- x_refsource_MISC
- RHSA-2013:0679 vendor-advisoryx_refsource_REDHAT
- RHSA-2013:1147 vendor-advisoryx_refsource_REDHAT
- USN-2769-1 vendor-advisoryx_refsource_UBUNTU
- RHSA-2014:0224 vendor-advisoryx_refsource_REDHAT
- https://nvd.nist.gov/vuln/detail/CVE-2012-5783 advisory
- https://github.com/advisories/GHSA-3832-9276-x7gf advisory
…and 1 more