Vulnerability CVE-2023-0466: Information

Description

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.

Severity: MEDIUM (5.3) Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Published: March 28, 2023
Modified: Feb. 4, 2024
Error type identifier: CWE-295

Fixed packages

Package name
Branch
Fixed in version
Version from repository
Errata ID
Task #
State
openssl1.1sisyphus1.1.1t-alt21.1.1w-alt1ALT-PU-2023-1804-1320549Fixed
openssl1.1sisyphus_e2k1.1.1t-alt21.1.1w-alt1ALT-PU-2023-3528-1-Fixed
openssl1.1sisyphus_mipsel1.1.1t-alt21.1.1w-alt1ALT-PU-2023-3533-1-Fixed
openssl1.1sisyphus_riscv641.1.1t-alt21.1.1w-alt1ALT-PU-2023-3551-1-Fixed
openssl1.1p101.1.1t-alt31.1.1w-alt0.p10.1ALT-PU-2023-1876-1321598Fixed
openssl1.1p10_e2k1.1.1t-alt31.1.1w-alt0.p10.1ALT-PU-2023-3670-1-Fixed
openssl1.1p91.1.1t-alt31.1.1u-alt1ALT-PU-2023-1929-1321600Fixed
openssl1.1p9_e2k1.1.1u-alt11.1.1u-alt1ALT-PU-2023-5380-1-Fixed
openssl1.1p9_mipsel1.1.1u-alt11.1.1u-alt1ALT-PU-2023-6358-1-Fixed
openssl1.1c10f11.1.1u-alt11.1.1w-alt0.p10.1ALT-PU-2023-2083-1322203Fixed
openssl1.1c9f21.1.1t-alt31.1.1w-alt0.p9.1ALT-PU-2023-1888-1321596Fixed

References to Advisories, Solutions, and Tools

    1. Configuration 1

      cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
      Start including
      3.1.0
      End excliding
      3.1.1

      cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
      Start including
      3.0.0
      End excliding
      3.0.9

      cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
      Start including
      1.1.1
      End excliding
      1.1.1u

      cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
      Start including
      1.0.2
      End excliding
      1.0.2zh