Improper Validation of Certificate with Host Mismatch Affecting httpmime-eap6 package, versions <0:4.2.1-12.redhat_2.1.ep6.el7


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
5.84% (93rd 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-RHEL7-HTTPMIMEEAP6-3498651
  • published1 Nov 2021
  • disclosed14 Aug 2014

Introduced: 14 Aug 2014

CVE-2012-6153  (opens in a new tab)
CWE-297  (opens in a new tab)

How to fix?

Upgrade RHEL:7 httpmime-eap6 to version 0:4.2.1-12.redhat_2.1.ep6.el7 or higher.
This issue was patched in RHSA-2014:1162.

NVD Description

Note: Versions mentioned in the description apply only to the upstream httpmime-eap6 package and not the httpmime-eap6 package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

http/conn/ssl/AbstractVerifier.java in Apache Commons HttpClient before 4.2.3 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 certificate with a subject that specifies a common name in a field that is not the CN field. NOTE: this issue exists because of an incomplete fix for CVE-2012-5783.

CVSS Base Scores

version 3.1