Public on 2023-03-28
Modified on 2023-05-09
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.
Medium severity
CVSS v3 Base Score
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 2 - Core edk2 2024-03-13 ALAS2-2024-2502 Fixed
Amazon Linux 1 openssl 2023-06-05 ALAS-2023-1762 Fixed
Amazon Linux 2 - Core openssl 2023-06-05 ALAS2-2023-2073 Fixed
Amazon Linux 2023 openssl 2023-05-11 ALAS2023-2023-181 Fixed
Amazon Linux 2 - Openssl-snapsafe Extra openssl-snapsafe 2023-07-17 ALAS2OPENSSL-SNAPSAFE-2023-002 Fixed
Amazon Linux 2 - Core openssl11 2023-05-11 ALAS2-2023-2039 Fixed

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N