CVE-2012-5783Apache Httpclient
Medium 5.8 No auth needed
Follow: this CVE · Apache · Apache Httpclient We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 2.0
- 5.8
- EPSS
- 9.3% probability of exploitation in 30 days · percentile 96
- Auth required
- No
- Published
- Nov 4, 2012
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-295
- Vector
AV:N/AC:M/Au:N/C:P/I:P/A:N
What happens
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.
What to do
- Apply the vendor's security update for Httpclient.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | commons-httpclient:commons-httpclient |
≥ 3.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-3832-9276-x7gf). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | httpclient | 3.1 |
| canonical | ubuntu_linux | 12.04 |
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 15.04 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Broken Link
- lists.opensuse.org Broken Link
- lists.opensuse.org Broken Link
- lists.opensuse.org Broken Link
- rhn.redhat.com Broken Link
- rhn.redhat.com Broken Link
- rhn.redhat.com Broken Link
- rhn.redhat.com Broken Link
- rhn.redhat.com Broken Link
- rhn.redhat.com Broken Link
- rhn.redhat.com Broken Link
- rhn.redhat.com Broken Link
- www.cs.utexas.edu Technical Description Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- www.ubuntu.com Third Party Advisory
- access.redhat.com Third Party Advisory
- exchange.xforce.ibmcloud.com Third Party Advisory VDB Entry
- issues.apache.org Issue Tracking Patch Vendor Advisory