CVE-2012-5783 json
Improper Certificate Validation in Apache Commons HttpClient
published 2012-11-04 14 y ago modified 2026-09-10 1 mo ago also GHSA-3832-9276-x7gf , EUVD-2022-2129
- cvss
- 5.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 9.3%
- EPSS 9.3% chance of exploitation in 30 days, percentile 95%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- commons-httpclient Debian 14, Debian 13, Debian 12 3.1-10.1
debian advisories DEBIAN-CVE-2012-5783
- redhat-support-plugin-rhev rhev manager 3 3.3.0-14.el6ev
- jakarta-commons-httpclient jboss enterprise web platform 5, jboss enterprise application platform 5 1:3.1-2.1_patch_01.ep5.el5
- jakarta-commons-httpclient jboss enterprise web platform 5, jboss enterprise application platform 5 1:3.1-2_patch_01.ep5.el6
- jakarta-commons-httpclient jboss enterprise application platform 5 1:3.1-2.1_patch_01.ep5.el4
- jakarta-commons-httpclient RHEL 5 1:3.0-7jpp.2
- jakarta-commons-httpclient RHEL 6 1:3.1-0.7.el6_3
- jakarta-commons-httpclient-demo RHEL 5 1:3.0-7jpp.2
- jakarta-commons-httpclient-demo RHEL 6 1:3.1-0.7.el6_3
red hat advisories RHSA-2014:0224RHSA-2013:0682RHSA-2013:0680RHSA-2013:0270
- apache-commons-httpclient openSUSE Tumbleweed 3.1-8.5
opensuse advisories openSUSE-SU-2024:10381-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-5783 updated cvss 3.7
jakarta-commons-httpclient: missing connection hostname check against X.509 certificate name
-
Red Hat JBoss BRMS 5 jakarta-commons-httpclientaffected: no fix available
-
Red Hat JBoss Enterprise Web Server 1 jakarta-commons-httpclientaffected: no fix planned “Will not fix”
-
Red Hat JBoss Fuse 6 apache-commons-httpclient apache-commons-httpclient Red Hat JBoss Operations Network 3 jakarta-commons-httpclientaffected: no fix available
-
Red Hat JBoss Portal 4 jakarta-commons-httpclient Red Hat JBoss Portal 5 jakarta-commons-httpclient Red Hat JBoss SOA Platform 4 jakarta-commons-httpclientaffected: no fix planned “Will not fix”
-
Red Hat JBoss SOA Platform 5 jakarta-commons-httpclientaffected: no fix available
-
Red Hat JBoss Enterprise BRMS Platform 5.3fixed: vendor fix RHSA-2013:1006
-
Red Hat Enterprise Linux (v. 5 server) jakarta-commons-httpclient 3.0-7jpp.2, jakarta-commons-httpclient-demo 3.0-7jpp.2, jakarta-commons-httpclient-manual 3.0-7jpp.2, jakarta-commons-httpclient-javadoc 3.0-7jpp.2 Red Hat Enterprise Linux Desktop (v. 6) jakarta-commons-httpclient 3.1-0.7.el6_3 Red Hat Enterprise Linux Desktop Optional (v. 6) jakarta-commons-httpclient 3.1-0.7.el6_3, jakarta-commons-httpclient-demo 3.1-0.7.el6_3, jakarta-commons-httpclient-manual 3.1-0.7.el6_3, jakarta-commons-httpclient-javadoc 3.1-0.7.el6_3 Red Hat Enterprise Linux HPC Node (v. 6) jakarta-commons-httpclient 3.1-0.7.el6_3 Red Hat Enterprise Linux HPC Node Optional (v. 6) jakarta-commons-httpclient 3.1-0.7.el6_3, jakarta-commons-httpclient-demo 3.1-0.7.el6_3, jakarta-commons-httpclient-manual 3.1-0.7.el6_3, jakarta-commons-httpclient-javadoc 3.1-0.7.el6_3 Red Hat Enterprise Linux Server (v. 6) jakarta-commons-httpclient 3.1-0.7.el6_3fixed: vendor fix RHSA-2013:0270
+3 more productsfewer
Red Hat Enterprise Linux Server Optional (v. 6) jakarta-commons-httpclient 3.1-0.7.el6_3, jakarta-commons-httpclient-demo 3.1-0.7.el6_3, jakarta-commons-httpclient-manual 3.1-0.7.el6_3, jakarta-commons-httpclient-javadoc 3.1-0.7.el6_3 Red Hat Enterprise Linux Workstation (v. 6) jakarta-commons-httpclient 3.1-0.7.el6_3 Red Hat Enterprise Linux Workstation Optional (v. 6) jakarta-commons-httpclient 3.1-0.7.el6_3, jakarta-commons-httpclient-demo 3.1-0.7.el6_3, jakarta-commons-httpclient-manual 3.1-0.7.el6_3, jakarta-commons-httpclient-javadoc 3.1-0.7.el6_3 -
Red Hat Fuse 7.12fixed: vendor fix RHSA-2023:3954
show 11 moreshow fewer
-
Red Hat JBoss A-MQ 6.3fixed: vendor fix RHSA-2017:0868
-
Red Hat JBoss Enterprise Application Platform 5 for RHEL 4 AS jakarta-commons-httpclient 3.1-2.1_patch_01.ep5.el4 Red Hat JBoss Enterprise Application Platform 5 for RHEL 4 ES jakarta-commons-httpclient 3.1-2.1_patch_01.ep5.el4 Red Hat JBoss Enterprise Application Platform 5 for RHEL 5 Server jakarta-commons-httpclient 3.1-2.1_patch_01.ep5.el5 Red Hat JBoss Enterprise Application Platform 5 for RHEL 6 Server jakarta-commons-httpclient 3.1-2_patch_01.ep5.el6fixed: vendor fix RHSA-2013:0680
-
Red Hat JBoss Enterprise Application Platform 5.2fixed: vendor fix RHSA-2013:0679
-
Red Hat JBoss Fuse 6.3fixed: vendor fix RHSA-2017:0868
-
Red Hat JBoss Operations Network 3.2fixed: vendor fix RHSA-2013:1853
-
Red Hat JBoss SOA Platform 5.3fixed: vendor fix RHSA-2013:1147
-
Red Hat JBoss Web Framework Kit 2.2fixed: vendor fix RHSA-2013:0763
-
Red Hat JBoss Web Platform 5 for RHEL 5 Server jakarta-commons-httpclient 3.1-2.1_patch_01.ep5.el5 Red Hat JBoss Web Platform 5 for RHEL 6 Server jakarta-commons-httpclient 3.1-2_patch_01.ep5.el6fixed: vendor fix RHSA-2013:0682
-
Red Hat JBoss Web Platform 5.2fixed: vendor fix RHSA-2013:0681
-
Red Hat RHEV-M 3.3 redhat-support-plugin-rhev 3.3.0-14.el6evfixed: vendor fix RHSA-2014:0224
-
Red Hat JBoss Web Platform 5 for RHEL 4 AS jakarta-commons-httpclient 3.1-2.1_patch_01.ep5.el4 Red Hat JBoss Web Platform 5 for RHEL 4 ES jakarta-commons-httpclient 3.1-2.1_patch_01.ep5.el4 Red Hat Subscription Asset Manager candlepinnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
9.25% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | commons-httpclient:commons-httpclient | >=3.0 |
no fix listed |
Classification
- Weakness
-
- CWE-295 Improper Certificate Validation
References
-
issues.apache.org
/jira/browse/HTTPCLIENT-1265
web, issue-tracking, patch, vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2013-0681.html
vendor-advisory, broken-link
-
lists.opensuse.org
/opensuse-updates/2013-04/msg00040.html
vendor-advisory, web, broken-link
-
rhn.redhat.com
/errata/RHSA-2013-0680.html
vendor-advisory, web, broken-link
-
access.redhat.com
/errata/RHSA-2017:0868
vendor-advisory, web, third-party-advisory
-
lists.opensuse.org
/opensuse-updates/2013-02/msg00078.html
vendor-advisory, web, broken-link
-
rhn.redhat.com
/errata/RHSA-2013-0270.html
vendor-advisory, web, broken-link
-
rhn.redhat.com
/errata/RHSA-2013-0682.html
vendor-advisory, web, broken-link
-
lists.opensuse.org
/opensuse-updates/2013-04/msg00053.html
vendor-advisory, web, broken-link
-
lists.opensuse.org
/opensuse-updates/2013-04/msg00041.html
vendor-advisory, web, broken-link
-
rhn.redhat.com
/errata/RHSA-2013-1853.html
vendor-advisory, web, broken-link
-
rhn.redhat.com
/errata/RHSA-2013-0679.html
vendor-advisory, web, broken-link
-
rhn.redhat.com
/errata/RHSA-2013-1147.html
vendor-advisory, broken-link
-
ubuntu.com
/usn/USN-2769-1
vendor-advisory, web, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2014-0224.html
vendor-advisory, web, broken-link
-
securityfocus.com
/bid/58073
vdb-entry, third-party-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/79984
vdb-entry, web, third-party-advisory
-
cs.utexas.edu
/~shmat/shmat_ccs12.pdf
web, technical-description, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2012-5783
advisory
-
github.com
/apache/httpcomponents-client
package
Sources
- CVE List CVE-2012-5783
- GitHub Advisory GHSA-3832-9276-x7gf
- NVD CVE-2012-5783
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.