CVE
CVE-2023-0465
CNA description
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.
Affected versions
- ≥ 3.1.0, < 3.1.1Fixed in 3.1.1
- ≥ 3.0.0, < 3.0.9Fixed in 3.0.9
- ≥ 1.1.1, < 1.1.1uFixed in 1.1.1u
- ≥ 1.0.2, < 1.0.2zhFixed in 1.0.2zh
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.openssl.org/gitweb/ · Patch
- git.openssl.org/gitweb/ · Patch
- git.openssl.org/gitweb/ · Patch
- www.openssl.org/news/secadv/20230328.txt · Vendor Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.