CVE-2023-0466
Node.js vulnerability analysis and mitigation

Overview

CVE-2023-0466 affects OpenSSL versions 3.1, 3.0, 1.1.1, and 1.0.2. The vulnerability relates to the X509VERIFYPARAMadd0policy() function, which was documented to enable certificate policy checking during certificate verification, but the implementation does not actually enable this check. This allows certificates with invalid or incorrect policies to pass the certificate verification process (OpenSSL Advisory).

Technical details

The vulnerability stems from a discrepancy between documentation and implementation in the X509VERIFYPARAMadd0policy() function. While the function was documented to implicitly enable certificate policy checking during verification, the actual implementation does not enable this check. Certificate policy checks are disabled by default in OpenSSL and are not commonly used by applications (OpenSSL Advisory).

Impact

The impact of this vulnerability is considered Low severity with a CVSS score of 5.3 (Medium). The vulnerability could potentially allow certificates with invalid or incorrect policies to pass the certificate verification process. However, since certificate policy checks are disabled by default and not commonly used by applications, the real-world impact is limited (Ubuntu Security).

Mitigation and workarounds

Applications requiring OpenSSL to perform certificate policy checks should use X509VERIFYPARAMset1policies() or explicitly enable the policy check by calling X509VERIFYPARAMsetflags() with the X509VFLAGPOLICYCHECK flag argument. Due to the low severity of this issue, OpenSSL maintained the existing behavior of X509VERIFYPARAMadd0policy() to avoid breaking existing deployments (OpenSSL Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management