CVE-2023-0466
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.
Affected Packages
openssl (CONAN):
Affected version(s) >=1.1.1p <1.1.1wFix Suggestion:
Update to version 1.1.1wopenssl (CONAN):
Affected version(s) =3.1.0 <3.1.3Fix Suggestion:
Update to version 3.1.3https://github.com/openssl/openssl.git (GITHUB):
Affected version(s) >=openssl-3.0.0 <openssl-3.0.9Fix Suggestion:
Update to version openssl-3.0.9https://github.com/openssl/openssl.git (GITHUB):
Affected version(s) =openssl-3.1.0 <openssl-3.1.1Fix Suggestion:
Update to version openssl-3.1.1Related Resources (12)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Certificate Validation
EPSS
Base Score:
0.71