Apache Commons HttpClient 3.x, as used in Amazon Flexible Payments Service (FPS) merchant Java SDK and other products, does not verify that
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.
- Published
- Nov 4, 2012
- Updated
- Jun 16, 2026
- EPSS
- 9.3% · 95th percentile
- CWE
- CWE-295
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
26
Monitor
Low priority for now.
- CVSS
- 23 / 40 · 5.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 3 / 30 · 9.3%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| apache | httpclient | cpe:2.3:a:apache:httpclient |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apache httpclient3.1
- canonical ubuntu linux12.04
- canonical ubuntu linux14.04
- canonical ubuntu linux15.04
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | commons-httpclient | before 3.1-10.1 | 3.1-10.1 |
| Debian:6.0 | commons-httpclient | before 3.1-9+deb6u1 | 3.1-9+deb6u1 |
| Maven | commons-httpclient:commons-httpclient | from 3.0 | — |
| openSUSE:Tumbleweed | apache-commons-httpclient | before 3.1-8.5 | 3.1-8.5 |
| Red Hat:enterprise_linux:5::server | jakarta-commons-httpclient | before 1:3.0-7jpp.2 | 1:3.0-7jpp.2 |
| Red Hat:enterprise_linux:5::server | jakarta-commons-httpclient-debuginfo | before 1:3.0-7jpp.2 | 1:3.0-7jpp.2 |
| Red Hat:enterprise_linux:5::server | jakarta-commons-httpclient-demo | before 1:3.0-7jpp.2 | 1:3.0-7jpp.2 |
| Red Hat:enterprise_linux:5::server | jakarta-commons-httpclient-javadoc | before 1:3.0-7jpp.2 | 1:3.0-7jpp.2 |
| Red Hat:enterprise_linux:5::server | jakarta-commons-httpclient-manual | before 1:3.0-7jpp.2 | 1:3.0-7jpp.2 |
| Red Hat:enterprise_linux:6::client | jakarta-commons-httpclient | before 1:3.1-0.7.el6_3 | 1:3.1-0.7.el6_3 |
| Red Hat:enterprise_linux:6::client | jakarta-commons-httpclient-debuginfo | before 1:3.1-0.7.el6_3 | 1:3.1-0.7.el6_3 |
| Red Hat:enterprise_linux:6::client | jakarta-commons-httpclient-demo | before 1:3.1-0.7.el6_3 | 1:3.1-0.7.el6_3 |
| Red Hat:enterprise_linux:6::client | jakarta-commons-httpclient-javadoc | before 1:3.1-0.7.el6_3 | 1:3.1-0.7.el6_3 |
| Red Hat:enterprise_linux:6::client | jakarta-commons-httpclient-manual | before 1:3.1-0.7.el6_3 | 1:3.1-0.7.el6_3 |
| Red Hat:jboss_enterprise_application_platform:5::el4 | jakarta-commons-httpclient | before 1:3.1-2.1_patch_01.ep5.el4 | 1:3.1-2.1_patch_01.ep5.el4 |
| Red Hat:jboss_enterprise_application_platform:5::el5 | jakarta-commons-httpclient | before 1:3.1-2.1_patch_01.ep5.el5 | 1:3.1-2.1_patch_01.ep5.el5 |
| Red Hat:jboss_enterprise_application_platform:5::el6 | jakarta-commons-httpclient | before 1:3.1-2_patch_01.ep5.el6 | 1:3.1-2_patch_01.ep5.el6 |
| Red Hat:rhev_manager:3 | redhat-support-plugin-rhev | before 0:3.3.0-14.el6ev | 0:3.3.0-14.el6ev |
Same product
apache: all recordsOther highest-scoring records for the same primary product.
- CVE-2013-4366http/impl/client/HttpClientBuilder.java in Apache HttpClient 4.3.x before 4.3.1 does not ensure that X509HostnameVerifier is not null, which40Plan
- CVE-2026-71290Apache HttpComponents Client: TLS hostname verification silently disabled on the async transport (default config, MITM)36Monitor
- CVE-2025-27820Apache HttpComponents: PSL (Public Suffix List) validation bypass30Monitor
- CVE-2026-40542Apache HttpClient: SCRAM-SHA-256 mutual authentication bypass may cause the client to accept authentication without proper mutual authentication verification29Monitor
- CVE-2014-3577org.apache.http.conn.ssl.AbstractVerifier in Apache HttpComponents HttpClient before 4.3.5 and HttpAsyncClient before 4.0.2 does not properl26Monitor
- CVE-2020-13956Apache HttpClient versions prior to version 4.5.13 and 5.0.3 can misinterpret malformed authority component in request URIs passed to the li24Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:commons-httpclient | 3.1-10.1 · Debian:12 | Package registry (OSV) |
| opensuse:apache-commons-httpclient | 3.1-8.5 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:jakarta-commons-httpclient | 1:3.0-7jpp.2 · Red Hat:enterprise_linux:5::server | Package registry (OSV) |
| red hat:jakarta-commons-httpclient-debuginfo | 1:3.0-7jpp.2 · Red Hat:enterprise_linux:5::server | Package registry (OSV) |
| red hat:jakarta-commons-httpclient-demo | 1:3.0-7jpp.2 · Red Hat:enterprise_linux:5::server | Package registry (OSV) |
| red hat:jakarta-commons-httpclient-javadoc | 1:3.0-7jpp.2 · Red Hat:enterprise_linux:5::server | Package registry (OSV) |
| red hat:jakarta-commons-httpclient-manual | 1:3.0-7jpp.2 · Red Hat:enterprise_linux:5::server | Package registry (OSV) |
| red hat:redhat-support-plugin-rhev | 0:3.3.0-14.el6ev · Red Hat:rhev_manager:3 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- none
- Attack complexity
- M
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- None
Weakness class (CWE)
CWE-295 · Improper Certificate ValidationCVSS vector
AV:N/AC:M/Au:N/C:P/I:P/A:N
nvd-primary
Root cause
A certificate validation error is silently swallowed instead of terminating the connection. Often, code added for a test environment makes its way into production.
The bug in code
The whole CWE-295 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
override fun checkServerTrusted(chain: Array<X509Certificate>, type: String) { // Left empty for the test environment}Fixed
val client = OkHttpClient.Builder() .certificatePinner( CertificatePinner.Builder() .add("api.sirius.example", "sha256/…") .build() ).build()Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
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-0681.html
- rhn.redhat.com/errata/RHSA-2013-0682.html
- rhn.redhat.com/errata/RHSA-2013-1147.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.securityfocus.com/bid/58073
- www.ubuntu.com/usn/USN-2769-1
- access.redhat.com/errata/RHSA-2017:0868
- exchange.xforce.ibmcloud.com/vulnerabilities/79984
- issues.apache.org/jira/browse/HTTPCLIENT-1265
Vendor advisories and official records. Exploit/PoC links are deliberately left out.