<?xml version="1.0" encoding="utf-8"?>
  <?xml-stylesheet type="text/xsl" href="sa-render.xsl"?>
  <update from="huaweicloud.com" type="security" status="stable" version="1">
    <id>HCE2-SA-2023-0212</id>
    <title>An update for openssl is now available for HCE 2.0</title>
    <severity>Important</severity>
    <release>HCE 2.0</release>
    <issued date="2023-06-28 16:11:19"/>
    <updated date="2023-06-28 16:11:19"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2023-0465" id="CVE-2023-0465" title="CVE-2023-0465 Base Score: 5.3 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2023-0464" id="CVE-2023-0464" title="CVE-2023-0464 Base Score: 7.5 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2023-0466" id="CVE-2023-0466" title="CVE-2023-0466 Base Score: 5.3 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N" type="cve"/>
    </references>
    <description>Security Fix(es):

Applications that use a non-default option when verifying certificates may be
vulnerable to an attack from a malicious CA to circumvent certain checks.

Invalid certificate policies in leaf certificates are silently ignored by
OpenSSL and other certificate policy checks are skipped for that certificate.
A malicious CA could use this to deliberately assert invalid certificate policies
in order to circumvent policy checking on the certificate altogether.

Policy processing is disabled by default but can be enabled by passing
the `-policy' argument to the command line utilities or by calling the
`X509_VERIFY_PARAM_set1_policies()' function. (CVE-2023-0465)

A security vulnerability has been identified in all supported versions of OpenSSL related to the verification of X.509 certificate chains that include policy constraints. Attackers may be able to exploit this vulnerability by creating a malicious certificate chain that triggers exponential use of computational resources, leading to a denial-of-service (DoS) attack on affected systems. Policy processing is disabled by default but can be enabled by passing the `-policy' argument to the command line utilities or by calling the `X509_VERIFY_PARAM_set1_policies()' function. (CVE-2023-0464)

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. (CVE-2023-0466)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="openssl">
        <name>HCE 2.0</name>
        <package arch="aarch64" name="openssl" version="1.1.1m" release="2.r27.hce2">
          <filename>openssl-1.1.1m-2.r27.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="openssl-devel" version="1.1.1m" release="2.r27.hce2">
          <filename>openssl-devel-1.1.1m-2.r27.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="openssl-help" version="1.1.1m" release="2.r27.hce2">
          <filename>openssl-help-1.1.1m-2.r27.hce2.noarch.rpm</filename>
        </package>
        <package arch="aarch64" name="openssl-libs" version="1.1.1m" release="2.r27.hce2">
          <filename>openssl-libs-1.1.1m-2.r27.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="openssl-perl" version="1.1.1m" release="2.r27.hce2">
          <filename>openssl-perl-1.1.1m-2.r27.hce2.aarch64.rpm</filename>
        </package>
        <package arch="x86_64" name="openssl" version="1.1.1m" release="2.r27.hce2">
          <filename>openssl-1.1.1m-2.r27.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="openssl-devel" version="1.1.1m" release="2.r27.hce2">
          <filename>openssl-devel-1.1.1m-2.r27.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="openssl-libs" version="1.1.1m" release="2.r27.hce2">
          <filename>openssl-libs-1.1.1m-2.r27.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="openssl-perl" version="1.1.1m" release="2.r27.hce2">
          <filename>openssl-perl-1.1.1m-2.r27.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
