cve.bz

CVE-2012-5783 Improper Certificate Validation

no score yetEPSS 9.3%Fix available

No CVSS score yet. EPSS 9.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
9.3% (unchanged from 9.3% a week ago; 9.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2012-5783 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2012-5783?via=ask-ai-copy and https://cve.bz/cve/CVE-2012-5783?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2012-5783 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:httpclient3.1
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux15.04

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3832-9276-x7gfMavencommons-httpclient:commons-httpclient>=3.0no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian6.0commons-httpclient3.1-9+deb6u1DLA-222-1
Debian12, 13, 14commons-httpclient3.1-10.1DEBIAN-CVE-2012-5783
Ubuntu14.04:LTScommons-httpclient3.1-10.2ubuntu0.14.04.1USN-2769-1
Red Hatenterprise_linux:5::serverjakarta-commons-httpclient, jakarta-commons-httpclient-demo, jakarta-commons-httpclient-manual and 2 more1:3.0-7jpp.2RHSA-2013:0270
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morejakarta-commons-httpclient, jakarta-commons-httpclient-demo, jakarta-commons-httpclient-manual and 2 more1:3.1-0.7.el6_3RHSA-2013:0270
Red Hatjboss_enterprise_application_platform:5::el4jakarta-commons-httpclient1:3.1-2.1_patch_01.ep5.el4RHSA-2013:0680
Red Hatjboss_enterprise_application_platform:5::el5jakarta-commons-httpclient1:3.1-2.1_patch_01.ep5.el5RHSA-2013:0680
Red Hatjboss_enterprise_application_platform:5::el6jakarta-commons-httpclient1:3.1-2_patch_01.ep5.el6RHSA-2013:0680
Red Hatjboss_enterprise_web_platform:5::el5jakarta-commons-httpclient1:3.1-2.1_patch_01.ep5.el5RHSA-2013:0682
Red Hatjboss_enterprise_web_platform:5::el6jakarta-commons-httpclient1:3.1-2_patch_01.ep5.el6RHSA-2013:0682
Red Hatrhev_manager:3redhat-support-plugin-rhev0:3.3.0-14.el6evRHSA-2014:0224
openSUSETumbleweedapache-commons-httpclient3.1-8.5openSUSE-SU-2024:10381-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
JBEWP 5 for RHEL 5jakarta-commons-httpclient-1:3.1-2.1_patch_01.ep5.el5Fixed 2013-03-25RHSA-2013:0682
JBEWP 5 for RHEL 6jakarta-commons-httpclient-1:3.1-2_patch_01.ep5.el6Fixed 2013-03-25RHSA-2013:0682
JBoss Enterprise BRMS Platform 5.3Fixed 2013-07-01RHSA-2013:1006
Red Hat Enterprise Linux 5jakarta-commons-httpclient-1:3.0-7jpp.2Fixed 2013-02-19RHSA-2013:0270
Red Hat Enterprise Linux 6jakarta-commons-httpclient-1:3.1-0.7.el6_3Fixed 2013-02-19RHSA-2013:0270
Red Hat Fuse 7.12Fixed 2023-06-29RHSA-2023:3954
Red Hat JBoss A-MQ 6.3Fixed 2017-04-03RHSA-2017:0868
Red Hat JBoss Enterprise Application Platform 5.2Fixed 2013-03-25RHSA-2013:0679
Red Hat JBoss Enterprise Application Platform 5 for RHEL 5jakarta-commons-httpclient-1:3.1-2.1_patch_01.ep5.el5Fixed 2013-03-25RHSA-2013:0680
Red Hat JBoss Enterprise Application Platform 5 for RHEL 6jakarta-commons-httpclient-1:3.1-2_patch_01.ep5.el6Fixed 2013-03-25RHSA-2013:0680
Red Hat JBoss Fuse 6.3Fixed 2017-04-03RHSA-2017:0868
Red Hat JBoss BRMS 5jakarta-commons-httpclientAffected
Red Hat JBoss Enterprise Web Server 1jakarta-commons-httpclientWill not fix
Red Hat JBoss Fuse 6apache-commons-httpclientAffected
Red Hat JBoss Operations Network 3jakarta-commons-httpclientAffected
Red Hat JBoss Portal 4jakarta-commons-httpclientWill not fix
Red Hat JBoss Portal 5jakarta-commons-httpclientWill not fix
Red Hat JBoss SOA Platform 4jakarta-commons-httpclientWill not fix
Red Hat JBoss SOA Platform 5jakarta-commons-httpclientAffected
Red Hat Subscription Asset ManagercandlepinNot affected
5 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2012-5783.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON