GitHub Advisoryadvisory · Maven

GHSA-3832-9276-x7gf Improper Certificate Validation in Apache Commons HttpClient

MEDIUM Published 2022-05-13 Modified 2024-11-05 Official page ↗
Aliases
CVE-2012-5783
Ecosystem
Maven
Packages
commons-httpclient:commons-httpclient
Severity
Moderate
Weaknesses
CWE-295
Reviewed
2022-07-13

Affected packages

• Maven commons-httpclient:commons-httpclient: < 4.0 (no fix yet)

Description

Apache Commons HttpClient 3.x, as used in Amazon Flexible Payments Service (FPS) merchant Java SDK and other products, does not 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 an arbitrary valid certificate. Note that the Commons HttpClient project is end of life. It has been replaced by the Apache HttpComponents project in its HttpClient and HttpCore modules. CVE-2012-5783 has been patched in v4.0 of the Apache HttpComponents HttpClient module.

Related

Alias · CVE (1)

  • CVE-2012-5783 Apache Commons HttpClient 3.x, as used in Amazon Flexible Payments Service (FPS) merchant Java SDK and other products, does not verify that… vulnerability

Weakness · CWE (1)

  • CWE-295 Improper Certificate Validation weakness

References