CVE-2012-5783
Improper Certificate Validation in Apache Commons HttpClient
Also known as GHSA-3832-9276-x7gf
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Projects that depend on Maven package commons-httpclient:commons-httpclient (>= 3.0)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- commons-httpclient:commons-httpclient >= 3.0
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.8 (v2.0, NVD)AV:N/AC:M/Au:N/C:P/I:P/A:N
Show all 6 CVSS metrics
- Attack vector: Network
- Attack complexity: Medium
- Authentication: None
- Confidentiality impact: Partial
- Integrity impact: Partial
- Availability impact: None
- EPSS
- 9.25% chance of exploitation in 30 days (percentile 96, 2026-11-26)
- CWE
- CWE-295
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven commons-httpclient:commons-httpclient | >= 3.0 | — | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2012-5783. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2012-5783.md Affected: commons-httpclient:commons-httpclient >= 3.0 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for commons-httpclient:commons-httpclient (Maven), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- http://rhn.redhat.com/errata/RHSA-2013-0681.html
- http://lists.opensuse.org/opensuse-updates/2013-04/msg00040.html
- http://rhn.redhat.com/errata/RHSA-2013-0680.html
- https://access.redhat.com/errata/RHSA-2017:0868
- http://lists.opensuse.org/opensuse-updates/2013-02/msg00078.html
- http://rhn.redhat.com/errata/RHSA-2013-0270.html
- http://rhn.redhat.com/errata/RHSA-2013-0682.html
- http://lists.opensuse.org/opensuse-updates/2013-04/msg00053.html
- http://lists.opensuse.org/opensuse-updates/2013-04/msg00041.html
- http://rhn.redhat.com/errata/RHSA-2013-1853.html
- http://rhn.redhat.com/errata/RHSA-2013-0679.html
- http://rhn.redhat.com/errata/RHSA-2013-1147.html
- http://www.ubuntu.com/usn/USN-2769-1
- http://rhn.redhat.com/errata/RHSA-2014-0224.html
- https://nvd.nist.gov/vuln/detail/CVE-2012-5783
FAQ
Is CVE-2012-5783 being exploited?
There is no confirmed exploitation: CVE-2012-5783 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 9.25% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2012-5783?
Medium: CVSS 5.8 (v2.0, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2012-5783?
commons-httpclient:commons-httpclient >= 3.0.
Is there a fix for CVE-2012-5783?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2012-5783?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.