Skip to content
OpenAdvisories
Medium · 5.3 CVE-2023-0466 EUVD-2023-12520GHSA-pxvj-4wx4-gv6w

Certificate policy check not enabled

Published Mar 28, 2023 · Updated Oct 14, 2026 · Assigned by openssl

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 products

VendorProductAffectedFixed
OpenSSL OpenSSL 3.1.0 – < 3.1.1, 3.0.0 – < 3.0.9, 1.1.1 – < 1.1.1u, 1.0.2 – < 1.0.2zh 3.1.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openssl 3.0.9-1 —
Debian 13 openssl 3.0.9-1 —
Debian 12 openssl 3.0.9-1 —
Debian 11 openssl 1.1.1n-0+deb11u5 DSA-5417-1
Debian 10 openssl 1.1.1n-0+deb10u5 DLA-3449-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS edk2 2024.02-2ubuntu0.6 USN-7894-1
Ubuntu 22.04 LTS edk2 2022.02-3ubuntu0.22.04.4 USN-7894-1
Ubuntu 22.04 LTS openssl 3.0.2-0ubuntu1.9 USN-6039-1
Ubuntu 20.04 LTS openssl 1.1.1f-1ubuntu2.18 USN-6039-1
Ubuntu 18.04 LTS openssl 1.1.1-1ubuntu2.1~18.04.22 USN-6039-1
Ubuntu 18.04 LTS openssl1.0 1.0.2n-1ubuntu5.12 USN-6039-1
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS 20.04 LTS openssl No fix yet —
Ubuntu Pro FIPS 18.04 LTS openssl No fix yet —
Ubuntu Pro FIPS 16.04 LTS openssl No fix yet —
Ubuntu Pro FIPS-updates 20.04 LTS openssl 1.1.1f-1ubuntu2.fips.18 —
Ubuntu Pro FIPS-updates 18.04 LTS openssl 1.1.1-1ubuntu2.fips.2.1~18.04.22 —
Ubuntu Pro FIPS-updates 16.04 LTS openssl 1.0.2g-1ubuntu4.fips.4.20.7 —
Ubuntu Pro 22.04 LTS nodejs No fix yet —
Ubuntu Pro 20.04 LTS edk2 No fix yet —
Ubuntu Pro 18.04 LTS edk2 No fix yet —
Ubuntu Pro 16.04 LTS edk2 No fix yet —
Ubuntu Pro 16.04 LTS openssl 1.0.2g-1ubuntu4.20+esm7 USN-6039-1
Ubuntu Pro 14.04 LTS openssl 1.0.1f-1ubuntu2.27+esm7 USN-6039-1
ReleasePackageFixed inAdvisory
RHEL 9 openssl +3 1:3.0.7-16.el9_2 RHSA-2023:3722
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat JBoss Web Server 5 jws5-tomcat +11 9.0.62-19.redhat_00017.1.el7jws RHSA-2023:7622
Red Hat JBoss Web Server 5 jws5-tomcat-native 1.2.31-16.redhat_16.el7jws RHSA-2023:7622
Red Hat JBoss Core Services 1 jbcs-httpd24-curl +2 8.4.0-2.el7jbcs RHSA-2023:7625
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_http2 1.15.19-32.el7jbcs RHSA-2023:7625
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_jk +1 1.2.49-1.redhat_1.el7jbcs RHSA-2023:7625
Red Hat JBoss Core Services 1 jbcs-httpd24-openssl +4 1:1.1.1k-16.el7jbcs RHSA-2023:7625

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 openssl +3 1:3.0.7-16.el9_2 ALSA-2023:3722
ReleasePackageFixed inAdvisory
SLES 15 SP4 openssl-1_0_0 1.0.2p-150000.3.73.1 SUSE-SU-2023:1922-1
SLES 15 SP4 openssl-1_1 1.1.1l-150400.7.34.1 SUSE-SU-2023:1911-1
SLES 15 SP4 openssl-3 3.0.1-150400.4.23.1 SUSE-SU-2023:1898-1
SLES 15 SP3 openssl-1_0_0 1.0.2p-150000.3.73.1 SUSE-SU-2023:1922-1
SLES 15 SP3 openssl-1_1 1.1.1d-150200.11.62.1 SUSE-SU-2023:1790-1
SLES 15 SP2 openssl-1_0_0 1.0.2p-150000.3.73.1 SUSE-SU-2023:1922-1
SLES 15 SP2 openssl-1_1 1.1.1d-150200.11.62.1 SUSE-SU-2023:1790-1
SLES 15 SP1 openssl-1_0_0 1.0.2p-150000.3.73.1 SUSE-SU-2023:1922-1
SLES 15 SP1 openssl-1_1 1.1.0i-150100.14.48.1 SUSE-SU-2023:1908-1
SLES 12 SP5 openssl-1_0_0 1.0.2p-3.72.1 SUSE-SU-2023:1914-1
SLES 12 SP5 openssl-1_1 1.1.1d-2.81.1 SUSE-SU-2023:1794-1
Show 22 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP4 openssl-1_0_0 1.0.2p-3.72.1 SUSE-SU-2023:1914-1
SLES 12 SP4 openssl-1_1 1.1.1d-2.81.1 SUSE-SU-2023:1794-1
SLES 12 SP2 openssl 1.0.2j-60.92.1 SUSE-SU-2023:1907-1
SLES 11 SP4 openssl1 1.0.1g-0.58.62.1 SUSE-SU-2023:1926-1
SLES for SAP 15 SP3 openssl-1_0_0 1.0.2p-150000.3.73.1 SUSE-SU-2023:1922-1
SLES for SAP 15 SP3 openssl-1_1 1.1.1d-150200.11.62.1 SUSE-SU-2023:1790-1
SLES for SAP 15 SP2 openssl-1_0_0 1.0.2p-150000.3.73.1 SUSE-SU-2023:1922-1
SLES for SAP 15 SP2 openssl-1_1 1.1.1d-150200.11.62.1 SUSE-SU-2023:1790-1
SLES for SAP 15 SP1 openssl-1_0_0 1.0.2p-150000.3.73.1 SUSE-SU-2023:1922-1
SLES for SAP 15 SP1 openssl-1_1 1.1.0i-150100.14.48.1 SUSE-SU-2023:1908-1
SLES for SAP 12 SP5 openssl-1_0_0 1.0.2p-3.72.1 SUSE-SU-2023:1914-1
SLES for SAP 12 SP5 openssl-1_1 1.1.1d-2.81.1 SUSE-SU-2023:1794-1
SLES for SAP 12 SP4 openssl-1_0_0 1.0.2p-3.72.1 SUSE-SU-2023:1914-1
SLES for SAP 12 SP4 openssl-1_1 1.1.1d-2.81.1 SUSE-SU-2023:1794-1
SLE Real Time 15 SP3 openssl-1_1 1.1.1d-150200.11.62.1 SUSE-SU-2023:1790-1
SLE Micro 5.4 openssl-1_1 1.1.1l-150400.7.34.1 SUSE-SU-2023:1911-1
SLE Micro 5.3 openssl-1_1 1.1.1l-150400.7.34.1 SUSE-SU-2023:1911-1
SLE Micro 5.2 openssl-1_1 1.1.1d-150200.11.62.1 SUSE-SU-2023:1790-1
SLE Micro 5.1 openssl-1_1 1.1.1d-150200.11.62.1 SUSE-SU-2023:1790-1
SLE HPC 15 SP3 openssl-1_0_0 1.0.2p-150000.3.73.1 SUSE-SU-2023:1922-1
SLE HPC 15 SP3 openssl-1_1 1.1.1d-150200.11.62.1 SUSE-SU-2023:1790-1
SLE HPC 15 SP2 openssl-1_1 1.1.1d-150200.11.62.1 SUSE-SU-2023:1790-1
SLE HPC 15 SP1 openssl-1_1 1.1.0i-150100.14.48.1 SUSE-SU-2023:1908-1
SUSE OpenStack Cloud Crowbar 9 openssl-1_0_0 1.0.2p-3.72.1 SUSE-SU-2023:1914-1
SUSE OpenStack Cloud Crowbar 9 openssl-1_1 1.1.1d-2.81.1 SUSE-SU-2023:1794-1
SUSE OpenStack Cloud 9 openssl-1_0_0 1.0.2p-3.72.1 SUSE-SU-2023:1914-1
SUSE OpenStack Cloud 9 openssl-1_1 1.1.1d-2.81.1 SUSE-SU-2023:1794-1
SUSE Manager Server 4.2 openssl-1_1 1.1.1d-150200.11.62.1 SUSE-SU-2023:1790-1
SUSE Manager Proxy 4.2 openssl-1_1 1.1.1d-150200.11.62.1 SUSE-SU-2023:1790-1
SUSE Enterprise Storage 7.1 openssl-1_0_0 1.0.2p-150000.3.73.1 SUSE-SU-2023:1922-1
SUSE Enterprise Storage 7.1 openssl-1_1 1.1.1d-150200.11.62.1 SUSE-SU-2023:1790-1
SUSE Enterprise Storage 7 openssl-1_0_0 1.0.2p-150000.3.73.1 SUSE-SU-2023:1922-1
SUSE Enterprise Storage 7 openssl-1_1 1.1.1d-150200.11.62.1 SUSE-SU-2023:1790-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed openssl-1_0_0 1.0.2u-15.1 openSUSE-SU-2024:12837-1
openSUSE Tumbleweed openssl-1_1 1.1.1t-3.1 openSUSE-SU-2024:12842-1
openSUSE Tumbleweed openssl-3 3.1.1-1.1 openSUSE-SU-2024:12969-1
openSUSE Leap 15.4 openssl-1_0_0 1.0.2p-150000.3.73.1 SUSE-SU-2023:1922-1
openSUSE Leap 15.4 openssl-1_1 1.1.1l-150400.7.34.1 SUSE-SU-2023:1911-1
openSUSE Leap 15.4 openssl-3 3.0.1-150400.4.23.1 SUSE-SU-2023:1898-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.3 openssl-1_1 1.1.1l-150400.7.34.1 SUSE-SU-2023:1911-1
ReleasePackageFixed inAdvisory
Alpine v3.17 openssl 3.0.8-r3 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 openssl +3 1:3.0.8-1.amzn2023.0.2 ALAS2023-2023-181
Amazon Linux 2 edk2-ovmf +4 20200801stable-1.amzn2.0.5 ALAS2-2024-2502
Amazon Linux 2 openssl +4 1:1.0.2k-24.amzn2.0.7 ALAS2-2023-2073
Amazon Linux 2 openssl11 +3 1:1.1.1g-12.amzn2.0.14 ALAS2-2023-2039

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) hvloader 1.0.1-6 —
Azure Linux 2 (CBL-Mariner) openssl 1.1.1k-23 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 openssl +3 1:3.0.7-16.0.1.el9_2 ELSA-2023-3722

Advisories 50

References