Skip to main content
← All vulnerabilities
CVE-2023-0466

Certificate policy check not enabled

Published
Last modified
published
Not listed in CISA KEV
Low (openssl)
Fix
Fixed in 3.1.1, 3.0.9, 1.1.1u, 1.0.2zh
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • OpenSSL OpenSSL

    From 3.1.0 · fixed in 3.1.1; From 3.0.0 · fixed in 3.0.9; From 1.1.1 · fixed in 1.1.1u; From 1.0.2 · fixed in 1.0.2zh

References 10

openssl.org

git.openssl.org

security.netapp.com

debian.org

lists.debian.org

openwall.com

security.gentoo.org