Improper Certificate Validation Affecting openssl package, versions [1.1.0,1.1.1u)[3.0.0,3.0.9)[3.1.0,3.1.1)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.48% (76th 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-UNMANAGED-OPENSSL-5296699
  • published30 Mar 2023
  • disclosed28 Mar 2023
  • creditDavid Benjamin

Introduced: 28 Mar 2023

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

How to fix?

Upgrade openssl to version 1.1.1u, 3.0.9, 3.1.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Certificate Validation because the implementation of the X509_VERIFY_PARAM_add0_policy() function does not enable certificate policy check, it allows certificates with invalid or incorrect policies to pass the certificate verification.

Note:

Since enabling the policy check could break existing deployments, it was decided to keep the existing behavior of the X509_VERIFY_PARAM_add0_policy() function. Applications that require OpenSSL to perform certificate policy check need to use X509_VERIFY_PARAM_set1_policies() or explicitly enable the policy check by calling X509_VERIFY_PARAM_set_flags() with the X509_V_FLAG_POLICY_CHECK flag argument.

CVSS Scores

version 3.1