Vulnerability · Published Mar 28, 2023 · Assigned by openssl

CVE-2023-0466Certificate policy check not enabled

Medium 5.3

In plain English

A medium-severity security flaw in OpenSSL from OpenSSL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 78% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)1.8%top 21.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

The function X509_VERIFY_PARAM_add0_policy() is documented to implicitly enable the certificate policy check when doing certificate verification. However the implementation of the function does not enable the check which allows certificates with invalid or incorrect policies to pass the certificate verification. As suddenly enabling the policy check could break existing deployments it was decided to keep the existing behavior of the X509_VERIFY_PARAM_add0_policy() function. Instead the 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. Certificate policy checks are disabled by default in OpenSSL and are not commonly used by applications.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:9openssl1:3.0.7-16.el9_2ALSA-2023:3722
AlmaLinux:9openssl-devel1:3.0.7-16.el9_2ALSA-2023:3722
AlmaLinux:9openssl-libs1:3.0.7-16.el9_2ALSA-2023:3722
AlmaLinux:9openssl-perl1:3.0.7-16.el9_2ALSA-2023:3722
Debian:12openssl3.0.9-1DEBIAN-CVE-2023-0466
Debian:13openssl3.0.9-1DEBIAN-CVE-2023-0466
Debian:14openssl3.0.9-1DEBIAN-CVE-2023-0466
Ubuntu:22.04:LTSedk22022.02-3ubuntu0.22.04.4USN-7894-1
Ubuntu:22.04:LTSedk22022.02-3ubuntu0.22.04.4UBUNTU-CVE-2023-0466
Ubuntu:24.04:LTSedk22024.02-2ubuntu0.6USN-7894-1
Ubuntu:22.04:LTSopenssl3.0.2-0ubuntu1.9USN-6039-1
Ubuntu:22.04:LTSopenssl3.0.2-0ubuntu1.9UBUNTU-CVE-2023-0466

Affected products (as reported)

VendorProductVersions
OpenSSL OpenSSL 3.1.0 – before 3.1.13.0.0 – before 3.0.91.1.1 – before 1.1.1u1.0.2 – before 1.0.2zh

References