Improper Certificate Validation Affecting edk2-tools package, versions <0:20200801stable-1.amzn2.0.5


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.17% (56th 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-AMZN2-EDK2TOOLS-6457702
  • published19 Mar 2024
  • disclosed28 Mar 2023

Introduced: 28 Mar 2023

CVE-2023-0465  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 edk2-tools to version 0:20200801stable-1.amzn2.0.5 or higher.
This issue was patched in ALAS2-2024-2502.

NVD Description

Note: Versions mentioned in the description apply only to the upstream edk2-tools package and not the edk2-tools package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

Applications that use a non-default option when verifying certificates may be vulnerable to an attack from a malicious CA to circumvent certain checks.

Invalid certificate policies in leaf certificates are silently ignored by OpenSSL and other certificate policy checks are skipped for that certificate. A malicious CA could use this to deliberately assert invalid certificate policies in order to circumvent policy checking on the certificate altogether.

Policy processing is disabled by default but can be enabled by passing the -policy&#39; argument to the command line utilities or by calling the X509_VERIFY_PARAM_set1_policies()' function.

CVSS Scores

version 3.1