Skip to content
Noroxi
CVE-2012-5783· NVD / CVE Program· CNA mitre

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.

MediumCVSS 5.8 · v2.0—No exploit Fix available
Published
Nov 4, 2012
Updated
Jun 16, 2026
EPSS
9.3% · 95th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

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

VendorProduct
apachehttpclient
canonicalubuntu 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.

EcosystemPackageAffected rangeFix
Debian:12commons-httpclientbefore 3.1-10.13.1-10.1
Debian:6.0commons-httpclientbefore 3.1-9+deb6u13.1-9+deb6u1
Mavencommons-httpclient:commons-httpclientfrom 3.0—
openSUSE:Tumbleweedapache-commons-httpclientbefore 3.1-8.53.1-8.5
Red Hat:enterprise_linux:5::serverjakarta-commons-httpclientbefore 1:3.0-7jpp.21:3.0-7jpp.2
Red Hat:enterprise_linux:5::serverjakarta-commons-httpclient-debuginfobefore 1:3.0-7jpp.21:3.0-7jpp.2
Red Hat:enterprise_linux:5::serverjakarta-commons-httpclient-demobefore 1:3.0-7jpp.21:3.0-7jpp.2
Red Hat:enterprise_linux:5::serverjakarta-commons-httpclient-javadocbefore 1:3.0-7jpp.21:3.0-7jpp.2
Red Hat:enterprise_linux:5::serverjakarta-commons-httpclient-manualbefore 1:3.0-7jpp.21:3.0-7jpp.2
Red Hat:enterprise_linux:6::clientjakarta-commons-httpclientbefore 1:3.1-0.7.el6_31:3.1-0.7.el6_3
Red Hat:enterprise_linux:6::clientjakarta-commons-httpclient-debuginfobefore 1:3.1-0.7.el6_31:3.1-0.7.el6_3
Red Hat:enterprise_linux:6::clientjakarta-commons-httpclient-demobefore 1:3.1-0.7.el6_31:3.1-0.7.el6_3
Red Hat:enterprise_linux:6::clientjakarta-commons-httpclient-javadocbefore 1:3.1-0.7.el6_31:3.1-0.7.el6_3
Red Hat:enterprise_linux:6::clientjakarta-commons-httpclient-manualbefore 1:3.1-0.7.el6_31:3.1-0.7.el6_3
Red Hat:jboss_enterprise_application_platform:5::el4jakarta-commons-httpclientbefore 1:3.1-2.1_patch_01.ep5.el41:3.1-2.1_patch_01.ep5.el4
Red Hat:jboss_enterprise_application_platform:5::el5jakarta-commons-httpclientbefore 1:3.1-2.1_patch_01.ep5.el51:3.1-2.1_patch_01.ep5.el5
Red Hat:jboss_enterprise_application_platform:5::el6jakarta-commons-httpclientbefore 1:3.1-2_patch_01.ep5.el61:3.1-2_patch_01.ep5.el6
Red Hat:rhev_manager:3redhat-support-plugin-rhevbefore 0:3.3.0-14.el6ev0:3.3.0-14.el6ev

Other 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, which
    40Plan
  • 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 bypass
    30Monitor
  • CVE-2026-40542Apache HttpClient: SCRAM-SHA-256 mutual authentication bypass may cause the client to accept authentication without proper mutual authentication verification
    29Monitor
  • CVE-2014-3577org.apache.http.conn.ssl.AbstractVerifier in Apache HttpComponents HttpClient before 4.3.5 and HttpAsyncClient before 4.0.2 does not properl
    26Monitor
  • 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 li
    24Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:commons-httpclient3.1-10.1 · Debian:12Package registry (OSV)
opensuse:apache-commons-httpclient3.1-8.5 · openSUSE:TumbleweedPackage registry (OSV)
red hat:jakarta-commons-httpclient1:3.0-7jpp.2 · Red Hat:enterprise_linux:5::serverPackage registry (OSV)
red hat:jakarta-commons-httpclient-debuginfo1:3.0-7jpp.2 · Red Hat:enterprise_linux:5::serverPackage registry (OSV)
red hat:jakarta-commons-httpclient-demo1:3.0-7jpp.2 · Red Hat:enterprise_linux:5::serverPackage registry (OSV)
red hat:jakarta-commons-httpclient-javadoc1:3.0-7jpp.2 · Red Hat:enterprise_linux:5::serverPackage registry (OSV)
red hat:jakarta-commons-httpclient-manual1:3.0-7jpp.2 · Red Hat:enterprise_linux:5::serverPackage registry (OSV)
red hat:redhat-support-plugin-rhev0:3.3.0-14.el6ev · Red Hat:rhev_manager:3Package 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.

EPSS, last 120 days

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.

Finders, 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

    CVSS 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.

    A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

    Vulnerable

    kotlin
    override fun checkServerTrusted(chain: Array<X509Certificate>, type: String) {  // Left empty for the test environment}

    Fixed

    kotlin
    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.

    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 help

    Change log

    1. Fix✗ → ✓

    For records you follow, these changes also arrive as notifications. →

    References

    All records