CVE-2023-0465Invalid certificate policies in leaf certificates are silently ignored
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' argument to the command line utilities or by calling the `X509_VERIFY_PARAM_set1_policies()' function.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Red Hat, Ubuntu have 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-0465 |
| Ubuntu 22.04 | nodejs | Fix pending | UBUNTU-CVE-2023-0465 | |
| Ubuntu 22.04 | openssl | Fixed | 3.0.2-0ubuntu1.9 | UBUNTU-CVE-2023-0465 |
| Ubuntu 20.04 | edk2 | Fix pending | UBUNTU-CVE-2023-0465 | |
| Ubuntu 20.04 | openssl | Fixed | 1.1.1f-1ubuntu2.18 | UBUNTU-CVE-2023-0465 |
| Ubuntu 18.04 | edk2 | Fix pending | UBUNTU-CVE-2023-0465 | |
| Ubuntu 18.04 | openssl | Fixed | 1.1.1-1ubuntu2.1~18.04.22 | UBUNTU-CVE-2023-0465 |
| Ubuntu 18.04 | openssl1.0 | Fixed | 1.0.2n-1ubuntu5.12 | UBUNTU-CVE-2023-0465 |
| Ubuntu 16.04 | edk2 | Fix pending | UBUNTU-CVE-2023-0465 | |
| 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-0465 |
| Ubuntu 14.04 | edk2 | Fix pending | ||
| Ubuntu 14.04 | openssl | Fix pending | 1.0.1f-1ubuntu2.27+esm7 (Ubuntu Pro) | UBUNTU-CVE-2023-0465 |
| Debian 14 | openssl | Fixed | 3.0.9-1 | DEBIAN-CVE-2023-0465 |
| Debian 13 | openssl | Fixed | 3.0.9-1 | DEBIAN-CVE-2023-0465 |
| Debian 12 | openssl | Fixed | 3.0.9-1 | DEBIAN-CVE-2023-0465 |
| 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 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | shim-aa64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | shim-x64 | Fix pending Fix deferred | ||
| 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 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl-perl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim-aa64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim-ia32 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim-x64 | Fix pending Fix deferred | ||
| 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.24 | openssl | Fixed | 3.1.0-r2 | ALPINE-CVE-2023-0465 |
| Alpine Linux 3.23 | openssl | Fixed | 3.1.0-r2 | ALPINE-CVE-2023-0465 |
| Alpine Linux 3.22 | openssl | Fixed | 3.1.0-r2 | ALPINE-CVE-2023-0465 |
| Alpine Linux 3.21 | openssl | Fixed | 3.1.0-r2 | ALPINE-CVE-2023-0465 |
| Alpine Linux 3.20 | openssl | Fixed | 3.1.0-r2 | ALPINE-CVE-2023-0465 |
| Alpine Linux 3.19 | openssl | Fixed | 3.1.0-r2 | ALPINE-CVE-2023-0465 |
| Alpine Linux 3.18 | openssl | Fixed | 3.1.0-r2 | ALPINE-CVE-2023-0465 |
| Alpine Linux 3.18 | openssl1.1-compat | Fixed | 1.1.1t-r2 | ALPINE-CVE-2023-0465 |
| Alpine Linux 3.17 | openssl | Fixed | 3.0.8-r2 | ALPINE-CVE-2023-0465 |
| Alpine Linux 3.17 | openssl1.1-compat | Fixed | 1.1.1t-r2 | ALPINE-CVE-2023-0465 |
| Alpine Linux 3.16 | openssl | Fixed | 1.1.1t-r2 | ALPINE-CVE-2023-0465 |
| Alpine Linux 3.16 | openssl3 | Fixed | 3.0.8-r2 | ALPINE-CVE-2023-0465 |
| Alpine Linux 3.15 | openssl | Fixed | 1.1.1t-r2 | ALPINE-CVE-2023-0465 |
| Alpine Linux 3.15 | openssl3 | Fixed | 3.0.8-r2 | ALPINE-CVE-2023-0465 |
| Alpine Linux 3.14 | openssl | Fixed | 1.1.1t-r2 | ALPINE-CVE-2023-0465 |
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=facfb1ab745646e97a1920977ae4… (patch)
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=1dd43e0709fece299b15208f36cc… (patch)
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=b013765abfa80036dc779dd0e506… (patch)
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=10325176f3d3e98c6e2b3bf5ab1e… (patch)
References
- https://www.openssl.org/news/secadv/20230328.txt
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=facfb1ab745646e97a1920977ae4a9965ea61d5c
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=1dd43e0709fece299b15208f36cc7c76209ba0bb
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=b013765abfa80036dc779dd0e50602c57bb3bf95
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=10325176f3d3e98c6e2b3bf5ab1e3b334de6947a
- 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
- 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.