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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | openssl | 1:3.0.7-16.el9_2 | ALSA-2023:3722 |
| AlmaLinux:9 | openssl-devel | 1:3.0.7-16.el9_2 | ALSA-2023:3722 |
| AlmaLinux:9 | openssl-libs | 1:3.0.7-16.el9_2 | ALSA-2023:3722 |
| AlmaLinux:9 | openssl-perl | 1:3.0.7-16.el9_2 | ALSA-2023:3722 |
| Debian:12 | openssl | 3.0.9-1 | DEBIAN-CVE-2023-0466 |
| Debian:13 | openssl | 3.0.9-1 | DEBIAN-CVE-2023-0466 |
| Debian:14 | openssl | 3.0.9-1 | DEBIAN-CVE-2023-0466 |
| Ubuntu:22.04:LTS | edk2 | 2022.02-3ubuntu0.22.04.4 | USN-7894-1 |
| Ubuntu:22.04:LTS | edk2 | 2022.02-3ubuntu0.22.04.4 | UBUNTU-CVE-2023-0466 |
| Ubuntu:24.04:LTS | edk2 | 2024.02-2ubuntu0.6 | USN-7894-1 |
| Ubuntu:22.04:LTS | openssl | 3.0.2-0ubuntu1.9 | USN-6039-1 |
| Ubuntu:22.04:LTS | openssl | 3.0.2-0ubuntu1.9 | UBUNTU-CVE-2023-0466 |
Affected products (as reported)
References
- OpenSSL Advisory vendor-advisory
- 3.1.1 git commit patch
- 3.0.9 git commit patch
- 1.1.1u git commit patch
- 1.0.2zh patch (premium) patch
- 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
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-556635.html
- https://cert-portal.siemens.com/productcert/html/ssa-879734.html
- https://cert-portal.siemens.com/productcert/html/ssa-625862.html
- https://cert-portal.siemens.com/productcert/html/ssa-337522.html
- https://cert-portal.siemens.com/productcert/html/ssa-341067.html
- https://cert-portal.siemens.com/productcert/html/ssa-769027.html