Improper Validation of Certificate with Host Mismatch The advisory has been revoked - it doesn't affect any version of package jakarta-commons-httpclient.src  (opens in a new tab)


Threat Intelligence

EPSS
1.25% (80th 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-RHEL10-JAKARTACOMMONSHTTPCLIENTSRC-15132942
  • published29 Jan 2026
  • disclosed1 Jan 2012

Introduced: 1 Jan 2012

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

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:10.

NVD Description

Note: Versions mentioned in the description apply only to the upstream jakarta-commons-httpclient.src package and not the jakarta-commons-httpclient.src package as distributed by RHEL.

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.