CVE-2023-0466
Certificate policy check not enabled
Reported by openssl · Published March 28, 2023
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| openssl-static | Amazon Linux | 1:1.0.2k-24.amzn2.0.7 |
| edk2-tools-doc | Amazon Linux | 20200801stable-1.amzn2.0.5 |
| openssl-libs | Amazon Linux | 1:3.0.8-1.amzn2023.0.2, 1:1.0.2k-24.amzn2.0.7 |
| edk2-aarch64 | Amazon Linux | 20200801stable-1.amzn2.0.5 |
| openssl | Amazon Linux | 1:3.0.8-1.amzn2023.0.2, 1:1.0.2k-24.amzn2.0.7 |
| openssl11-static | Amazon Linux | 1:1.1.1g-12.amzn2.0.14 |
| openssl11-libs | Amazon Linux | 1:1.1.1g-12.amzn2.0.14 |
| openssl | Alpine | 3.0.8-r3 |
| openssl | conan.io | 3.1.1, 3.0.9, 1.1.1u, 1.0.2zh |
| edk2-tools | Amazon Linux | 20200801stable-1.amzn2.0.5 |
| openssl11 | Amazon Linux | 1:1.1.1g-12.amzn2.0.14 |
| openssl-devel | Amazon Linux | 1:3.0.8-1.amzn2023.0.2, 1:1.0.2k-24.amzn2.0.7 |
9 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| OpenSSL | OpenSSL | 3.1.0, 3.0.0, 1.1.1 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| OpenSSL | OpenSSL | 1.0.2, 3.1.0, 3.0.0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
Timeline
- Mar 28, 2023 CVE Published
- Mar 28, 2023 PoC Published (6 in total, the first dated here)
- Mar 29, 2023 EPSS Score (30 in total, the first dated here)
- Feb 22, 2026 Security Advisory (15 in total, the first dated here)
- Feb 22, 2026 Distribution Patch (10 in total, the first dated here)
- May 22, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-0466
vulnetix vdb fixes CVE-2023-0466
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-0466/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
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://cert-portal.siemens.com/productcert/html/ssa-794697.html url
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html url
- https://cert-portal.siemens.com/productcert/html/ssa-556635.html url
- https://cert-portal.siemens.com/productcert/html/ssa-879734.html url
- https://cert-portal.siemens.com/productcert/html/ssa-625862.html url
- https://cert-portal.siemens.com/productcert/html/ssa-337522.html url
- https://cert-portal.siemens.com/productcert/html/ssa-341067.html url
- https://cert-portal.siemens.com/productcert/html/ssa-769027.html url