Live threats

All CVEs / Apache

CVE-2014-3577Apache Httpclient

Medium 5.8 No auth needed

Priority
51
CVSS 2.0
5.8
EPSS
9.2%
probability of exploitation in 30 days · percentile 96
Auth required
No
Published
Aug 21, 2014
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
AV:N/AC:M/Au:N/C:P/I:P/A:N

What happens

org.apache.http.conn.ssl.AbstractVerifier in Apache HttpComponents HttpClient before 4.3.5 and HttpAsyncClient before 4.0.2 does not properly 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 a "CN=" string in a field in the distinguished name (DN) of a certificate, as demonstrated by the "foo,CN=www.apache.org" string in the O field.

Original NVD text.

What to do

  1. Apply the vendor's security update for Httpclient.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.httpcomponents:httpclient < 4.3.5 4.3.5 —

Per OSV / GitHub Advisories (GHSA-cfh5-3ghh-wfjx). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachehttpclient≥ 4.0 ≤ 4.3.4
apachehttpasyncclient≥ 4.0 ≤ 4.0.1

Official sources

References

Links published by the sources. Open them with care.