Improper Certificate Validation Affecting jakarta-commons-httpclient-demo package, versions <1:3.1-12.6.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.15% (52nd 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-AMZN201803-JAKARTACOMMONSHTTPCLIENTDEMO-1666953
  • published27 Sept 2021
  • disclosed4 Nov 2012

Introduced: 4 Nov 2012

CVE-2012-5783  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 jakarta-commons-httpclient-demo to version 1:3.1-12.6.amzn1 or higher.
This issue was patched in ALAS-2013-169.

NVD Description

Note: Versions mentioned in the description apply only to the upstream jakarta-commons-httpclient-demo package and not the jakarta-commons-httpclient-demo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

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.

CVSS Scores

version 3.1