CVE-2013-4366
Critical · 9.8CVSS
9.8
EPSS
3.3%
Published
Oct 30, 2017
CISA due date
—
Cloudanix analysis
A bug in code that checks website identities during secure connections could let attackers secretly read or alter data sent between systems.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Library
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw allows a null X509HostnameVerifier to be used during TLS hostname verification, enabling acceptance of certificates that do not match the requested host.
Why it matters to the business
Attackers can intercept encrypted traffic to affected systems, risking data exposure or unauthorized access across any products relying on the vulnerable client code.
How an attack unfolds
An attacker performs a man-in-the-middle position on the network and supplies a certificate for an incorrect hostname; because the verifier object is null, the client skips validation and establishes the connection.
How to fix it
Upgrade to a fixed version: ffmpeg (Debian:11/12/13) 7:4.0.2-1 or ffmpeg GIT commit 2aa9047486dbff12d9e040f917e5f799ed2fd78b; rebuild any dependent applications against the corrected library.
How to confirm the fix worked
Confirm package versions match the fixed releases listed above and review code paths that construct HttpClientBuilder to ensure a non-null verifier is always supplied.
Typical attack path
- Position as network man-in-the-middle
- Respond to client TLS handshake with mismatched certificate
- Trigger HTTPS request from vulnerable client library
- Bypass hostname check due to missing verifier
- Decrypt or modify traffic undetected
How to detect it
Review application and TLS proxy logs for connections that completed with hostname mismatches; inspect source or dependency trees for the vulnerable HttpClientBuilder usage.
What your security team should do
- Apply the listed fixed versions within the next maintenance window
- Scan all build pipelines and containers for the affected ffmpeg packages
- Add dependency checks to CI to prevent reintroduction of vulnerable versions
The record
http/impl/client/HttpClientBuilder.java in Apache HttpClient 4.3.x before 4.3.1 does not ensure that X509HostnameVerifier is not null, which allows attackers to have unspecified impact via vectors involving hostname verification.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Maven | org.apache.httpcomponents:httpclient | 4.3 | 4.3.1 |
| Debian:11 | httpcomponents-client | 0 | 4.3.2-1 |
| Debian:12 | httpcomponents-client | 0 | 4.3.2-1 |
| Debian:13 | httpcomponents-client | 0 | 4.3.2-1 |
| Debian:14 | httpcomponents-client | 0 | 4.3.2-1 |
| Ubuntu:14.04:LTS | httpcomponents-client | 0 | 4.3.3-1 |
| Ubuntu:16.04:LTS | httpcomponents-client | 0 | 4.5.1-1 |
| maven | org.apache.httpcomponents/httpclient | 4.3 | 4.3.1 |
Related vulnerabilities
- CVE-2015-5262 http/conn/ssl/SSLConnectionSocketFactory.java in Apache HttpComponents HttpClient before… Also affects org.apache.httpcomponents:httpclient
- CVE-2012-6153 http/conn/ssl/AbstractVerifier.java in Apache Commons HttpClient before 4.2.3 does not… Also affects org.apache.httpcomponents:httpclient
- CVE-2014-3577 org.apache.http.conn.ssl.AbstractVerifier in Apache HttpComponents HttpClient before… Also affects org.apache.httpcomponents:httpclient
- CVE-2011-1498 Apache HttpClient 4.x before 4.1.1 in Apache HttpComponents, when used with an… Also affects org.apache.httpcomponents:httpclient
- CVE-2012-5783 Apache Commons HttpClient 3.x, as used in Amazon Flexible Payments Service (FPS) merchant… Also affects httpcomponents-client
- CVE-2026-116654 Tanium addressed an improper input validation vulnerability in Threat Response. CWE-20
- CVE-2026-116653 Tanium addressed an improper input validation vulnerability in Threat Response. CWE-20
- CVE-2026-121240 Improper input validation in Variations in Google Chrome prior to 157.0.8103.38 allowed a… CWE-20