<?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-0202</id>
    <title>An update for libssh is now available for HCE 2.0</title>
    <severity>Moderate</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-2283" id="CVE-2023-2283" title="CVE-2023-2283 Base Score: 4.2 Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2023-1667" id="CVE-2023-1667" title="CVE-2023-1667 Base Score: 4.3 Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L" type="cve"/>
    </references>
    <description>Security Fix(es):

A vulnerability was found in libssh, where the authentication check of the connecting client can be bypassed in thepki_verify_data_signature function in memory allocation problems. This issue may happen if there is insufficient memory or the memory usage is limited. The problem is caused by the return value rc, which is initialized to SSH_ERROR and later rewritten to save the return value of the function call pki_key_check_hash_compatible. The value of the variable is not changed between this point and the cryptographic verification. Therefore any error between them calls goto error returning SSH_OK. (CVE-2023-2283)

A NULL pointer dereference was found In libssh during re-keying with algorithm guessing. This issue may allow an authenticated client to cause a denial of service. (CVE-2023-1667)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="libssh">
        <name>HCE 2.0</name>
        <package arch="aarch64" name="libssh" version="0.9.6" release="2.r10.hce2">
          <filename>libssh-0.9.6-2.r10.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="libssh-devel" version="0.9.6" release="2.r10.hce2">
          <filename>libssh-devel-0.9.6-2.r10.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="libssh-help" version="0.9.6" release="2.r10.hce2">
          <filename>libssh-help-0.9.6-2.r10.hce2.noarch.rpm</filename>
        </package>
        <package arch="x86_64" name="libssh" version="0.9.6" release="2.r10.hce2">
          <filename>libssh-0.9.6-2.r10.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="libssh-devel" version="0.9.6" release="2.r10.hce2">
          <filename>libssh-devel-0.9.6-2.r10.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
