GitHub Advisoryadvisory · Maven

GHSA-2x83-r56g-cv47 Improper certificate validation in org.apache.httpcomponents:httpclient

HIGH Published 2018-10-17 Modified 2024-03-05 Official page ↗
Aliases
CVE-2012-6153
Ecosystem
Maven
Packages
org.apache.httpcomponents:httpclient
Severity
High
Weaknesses
CWE-20
Reviewed
2020-06-16

Affected packages

• Maven org.apache.httpcomponents:httpclient: < 4.2.3 → fixed in 4.2.3

Description

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.

Related

Alias · CVE (1)

  • CVE-2012-6153 http/conn/ssl/AbstractVerifier.java in Apache Commons HttpClient before 4.2.3 does not properly verify that the server hostname matches a… vulnerability

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References