Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.httpcomponents/httpclient
  4. ›
  5. CVE-2012-5783

CVE-2012-5783: Improper Certificate Validation

May 13, 2022 (updated July 13, 2022)

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.

References

  • lists.opensuse.org/opensuse-updates/2013-02/msg00078.html
  • lists.opensuse.org/opensuse-updates/2013-04/msg00040.html
  • lists.opensuse.org/opensuse-updates/2013-04/msg00041.html
  • lists.opensuse.org/opensuse-updates/2013-04/msg00053.html
  • rhn.redhat.com/errata/RHSA-2013-0270.html
  • rhn.redhat.com/errata/RHSA-2013-0679.html
  • rhn.redhat.com/errata/RHSA-2013-0680.html
  • rhn.redhat.com/errata/RHSA-2013-0682.html
  • rhn.redhat.com/errata/RHSA-2013-1853.html
  • rhn.redhat.com/errata/RHSA-2014-0224.html
  • www.cs.utexas.edu/~shmat/shmat_ccs12.pdf
  • www.ubuntu.com/usn/USN-2769-1
  • access.redhat.com/errata/RHSA-2017:0868
  • exchange.xforce.ibmcloud.com/vulnerabilities/79984
  • github.com/advisories/GHSA-3832-9276-x7gf
  • issues.apache.org/jira/browse/HTTPCLIENT-1265
  • nvd.nist.gov/vuln/detail/CVE-2012-5783

Code Behaviors & Features

Detect and mitigate CVE-2012-5783 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.0 before 4.0

Fixed versions

  • 4.0

Solution

Upgrade to version 4.0 or above.

Impact 5.8 MEDIUM

AV:N/AC:M/Au:N/C:P/I:P/A:N

Learn more about CVSS

Weakness

  • CWE-295: Improper Certificate Validation

Source file

maven/org.apache.httpcomponents/httpclient/CVE-2012-5783.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:44 +0000.