WaratekVRT Sign in

CVE-2012-5783 Apache HttpClient

Affected softwareApache HttpClient
Severity5.8 Medium CVSS 2.0
WeaknessCWE-295
Published4 Nov 2012
Updated16 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 14 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 9.3% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full
  • Action available patch rule
  • Review human ARMR file
  • Record active
Decided by An ARMR patch file on disk for this CVE
Finding CVE has an ARMR patch rule that provides mitigation

ARMR rule files

1 file

The rule files Waratek ships for this CVE. Some CVEs need more than one, for example one per affected library or one per ARMR version.

CVE-2012-5783.armr patch rule, ARMR 2.6 added 2019-04-01 updated 2026-03-04

How to mitigate CVE-2012-5783

Apply the vendor's fix for Apache HttpClient. Until you can, Waratek RASP blocks exploitation with a rule written for this CVE. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
commons-httpclient:commons-httpclient 3.0 none unbounded

Products and versions

3 products, 5 version entries
SourceVendorProductSchemeAffected versions
nvd apache httpclient generic 3.1
nvd canonical ubuntu linux generic 12.04 · 14.04 · 15.04
osv commons-httpclient commons-httpclient generic ≥ 3.0

References

URLTags
https://access.redhat.com/errata/RHSA-2017:0868 WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/79984 WEB
https://github.com/apache/httpcomponents-client PACKAGE
https://issues.apache.org/jira/browse/HTTPCLIENT-1265 WEB
http://lists.opensuse.org/opensuse-updates/2013-02/msg00078.html WEB
http://lists.opensuse.org/opensuse-updates/2013-04/msg00040.html WEB
http://lists.opensuse.org/opensuse-updates/2013-04/msg00041.html WEB
http://lists.opensuse.org/opensuse-updates/2013-04/msg00053.html WEB
http://rhn.redhat.com/errata/RHSA-2013-0270.html WEB
http://rhn.redhat.com/errata/RHSA-2013-0679.html WEB

Timeline

Published2012-11-04By the CVE Program.
ARMR remediation created2019-04-01Earliest commit adding this CVE's ARMR patch or security rule.
ARMR remediation last updated2026-03-04Most recent commit touching this CVE's ARMR patch or security rule.
Last VRT activity2026-03-04Most recent commit touching this CVE's classification, patch or rule file.
NVD record modified2026-06-16NVD's own last-modified date for this record.