CVE-2023-0466Certificate policy check not enabled
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | edk2 | Fixed | 2022.02-3ubuntu0.22.04.4 | UBUNTU-CVE-2023-0466 |
| Ubuntu 22.04 | nodejs | Fix pending | UBUNTU-CVE-2023-0466 | |
| Ubuntu 22.04 | openssl | Fixed | 3.0.2-0ubuntu1.9 | UBUNTU-CVE-2023-0466 |
| Ubuntu 20.04 | edk2 | Fix pending | UBUNTU-CVE-2023-0466 | |
| Ubuntu 20.04 | openssl | Fixed | 1.1.1f-1ubuntu2.18 | UBUNTU-CVE-2023-0466 |
| Ubuntu 18.04 | edk2 | Fix pending | UBUNTU-CVE-2023-0466 | |
| Ubuntu 18.04 | openssl | Fixed | 1.1.1-1ubuntu2.1~18.04.22 | UBUNTU-CVE-2023-0466 |
| Ubuntu 18.04 | openssl1.0 | Fixed | 1.0.2n-1ubuntu5.12 | UBUNTU-CVE-2023-0466 |
| Ubuntu 16.04 | edk2 | Fix pending | UBUNTU-CVE-2023-0466 | |
| Ubuntu 16.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | openssl | Fix pending | 1.0.2g-1ubuntu4.20+esm7 (Ubuntu Pro) | UBUNTU-CVE-2023-0466 |
| Ubuntu 14.04 | edk2 | Fix pending | ||
| Ubuntu 14.04 | openssl | Fix pending | 1.0.1f-1ubuntu2.27+esm7 (Ubuntu Pro) | UBUNTU-CVE-2023-0466 |
| Debian 14 | openssl | Fixed | 3.0.9-1 | DEBIAN-CVE-2023-0466 |
| Debian 13 | openssl | Fixed | 3.0.9-1 | DEBIAN-CVE-2023-0466 |
| Debian 12 | openssl | Fixed | 3.0.9-1 | DEBIAN-CVE-2023-0466 |
| Red Hat Enterprise Linux 9 | compat-openssl11 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | edk2 | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2-aarch64 | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2-ovmf | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2-tools | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2-tools-doc | Not affected | ||
| Red Hat Enterprise Linux 9 | openssl | Fixed | 1:3.0.7-16.el9_2 | RHSA-2023:3722 |
| Red Hat Enterprise Linux 9 | openssl-devel | Fixed | 1:3.0.7-16.el9_2 | RHSA-2023:3722 |
| Red Hat Enterprise Linux 9 | openssl-libs | Fixed | 1:3.0.7-16.el9_2 | RHSA-2023:3722 |
| Red Hat Enterprise Linux 9 | openssl-perl | Fixed | 1:3.0.7-16.el9_2 | RHSA-2023:3722 |
| Red Hat Enterprise Linux 9 | shim | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | shim-aa64 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | shim-x64 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | compat-openssl10 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | edk2 | Not affected | ||
| Red Hat Enterprise Linux 8 | edk2-aarch64 | Not affected | ||
| Red Hat Enterprise Linux 8 | edk2-ovmf | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | openssl-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | openssl-libs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | openssl-perl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | openssl-static | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | shim | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | shim-aa64 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | shim-ia32 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | shim-x64 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | AAVMF | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | OVMF | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | openssl | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | openssl-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | openssl-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | openssl-perl | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | openssl-static | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | ovmf | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openssl | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openssl-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openssl-perl | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openssl-static | Will not fix Out of support scope | ||
| AlmaLinux 9 | openssl | Fixed | 1:3.0.7-16.el9_2 | ALSA-2023:3722 |
| AlmaLinux 9 | openssl-devel | Fixed | 1:3.0.7-16.el9_2 | ALSA-2023:3722 |
| AlmaLinux 9 | openssl-libs | Fixed | 1:3.0.7-16.el9_2 | ALSA-2023:3722 |
| AlmaLinux 9 | openssl-perl | Fixed | 1:3.0.7-16.el9_2 | ALSA-2023:3722 |
| Alpine Linux 3.17 | openssl | Fixed | 3.0.8-r3 | ALPINE-CVE-2023-0466 |
What the vendor says
As published in the CVE record by openssl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- OpenSSL: affected: 3.1.0 to before 3.1.1, 3.0.0 to before 3.0.9, 1.1.1 to before 1.1.1u, 1.0.2 to before 1.0.2zh; fixed in
3.1.1,3.0.9,1.1.1u,1.0.2zh
Vendor advisories:
- https://www.openssl.org/news/secadv/20230328.txt (vendor-advisory)
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=fc814a30fc4f0bc54fcea7d9a746… (patch)
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=51e8a84ce742db0f6c70510d0159… (patch)
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=0d16b7e99aafc0b4a6d729eec65a… (patch)
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=73398dea26de9899fb4baa94098a… (patch)
References
- https://www.openssl.org/news/secadv/20230328.txt
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=fc814a30fc4f0bc54fcea7d9a7462f5457aab061
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=51e8a84ce742db0f6c70510d0159dad8f7825908
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=0d16b7e99aafc0b4a6d729eec65a411a7e025f0a
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=73398dea26de9899fb4baa94098ad0a61f435c72
- https://security.netapp.com/advisory/ntap-20230414-0001/
- https://www.debian.org/security/2023/dsa-5417
- https://lists.debian.org/debian-lts-announce/2023/06/msg00011.html
- http://www.openwall.com/lists/oss-security/2023/09/28/4
- https://security.gentoo.org/glsa/202402-08
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.