Improper Validation of Certificate with Host Mismatch Affecting jakarta-commons-httpclient-javadoc package, versions <1:3.1-0.9.el6_5


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.52% (87th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL6-JAKARTACOMMONSHTTPCLIENTJAVADOC-1486038
  • published26 Jul 2021
  • disclosed18 Aug 2014

Introduced: 18 Aug 2014

CVE-2014-3577  (opens in a new tab)
CWE-297  (opens in a new tab)

How to fix?

Upgrade RHEL:6 jakarta-commons-httpclient-javadoc to version 1:3.1-0.9.el6_5 or higher.
This issue was patched in RHSA-2014:1166.

NVD Description

Note: Versions mentioned in the description apply only to the upstream jakarta-commons-httpclient-javadoc package and not the jakarta-commons-httpclient-javadoc package as distributed by RHEL. See How to fix? for RHEL:6 relevant fixed versions and status.

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&#34; string in the O field.

References

CVSS Scores

version 3.1