CVE Catalog

CVE-2023-0466

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

High risk
1.77%

78th percentile - higher than 78% of all known CVEs

Summary

The X509_VERIFY_PARAM_add0_policy() function in OpenSSL is documented to implicitly enable certificate policy checking, but the implementation does not. Certificates with invalid or incorrect policies can therefore pass verification.

Risk Assessment

Applications relying on this function may accept certificates violating policies, potentially leading to unauthorized access. Only applications using this specific function are affected.

Recommendation

Update OpenSSL to a patched version. In applications requiring policy checks, use X509_VERIFY_PARAM_set1_policies() or explicitly enable the X509_V_FLAG_POLICY_CHECK flag.

Other vulnerabilities in OpenSSL

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS