Skip to content

Improper certificate validation in org.apache.httpcomponents:httpclient

High severity GitHub Reviewed Published Oct 17, 2018 to the GitHub Advisory Database • Updated Mar 5, 2024

Package

maven org.apache.httpcomponents:httpclient (Maven)

Affected versions

< 4.2.3

Patched versions

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.

References

Published to the GitHub Advisory Database Oct 17, 2018
Reviewed Jun 16, 2020
Last updated Mar 5, 2024

Severity

High

EPSS score

Exploit Prediction Scoring System (EPSS)

This score estimates the probability of this vulnerability being exploited within the next 30 days. Data provided by FIRST.
(82nd percentile)

Weaknesses

CVE ID

CVE-2012-6153

GHSA ID

GHSA-2x83-r56g-cv47

Source code

No known source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.