<?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-0141</id>
    <title>An update for gssntlmssp is now available for HCE 2.0</title>
    <severity>Important</severity>
    <release>HCE 2.0</release>
    <issued date="2023-03-27 08:19:36"/>
    <updated date="2023-03-27 08:19:36"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2023-25564" id="CVE-2023-25564" title="CVE-2023-25564 Base Score: 8.2 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2023-25567" id="CVE-2023-25567" title="CVE-2023-25567 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-25563" id="CVE-2023-25563" title="CVE-2023-25563 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-25565" id="CVE-2023-25565" title="CVE-2023-25565 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"/>
    </references>
    <description>Security Fix(es):

GSS-NTLMSSP is a mechglue plugin for the GSSAPI library that implements NTLM authentication. Prior to version 1.2.0, memory corruption can be triggered when decoding UTF16 strings. The variable `outlen` was not initialized and could cause writing a zero to an arbitrary place in memory if `ntlm_str_convert()` were to fail, which would leave `outlen` uninitialized. This can lead to a denial of service if the write hits unmapped memory or randomly corrupts a byte in the application memory space. This vulnerability can trigger an out-of-bounds write, leading to memory corruption. This vulnerability can be triggered via the main `gss_accept_sec_context` entry point. This issue is fixed in version 1.2.0. (CVE-2023-25564)

GSS-NTLMSSP, a mechglue plugin for the GSSAPI library that implements NTLM authentication, has an out-of-bounds read when decoding target information prior to version 1.2.0. The length of the `av_pair` is not checked properly for two of the elements which can trigger an out-of-bound read. The out-of-bounds read can be triggered via the main `gss_accept_sec_context` entry point and could cause a denial-of-service if the memory is unmapped. The issue is fixed in version 1.2.0. (CVE-2023-25567)

GSS-NTLMSSP is a mechglue plugin for the GSSAPI library that implements NTLM authentication. Prior to version 1.2.0, multiple out-of-bounds reads when decoding NTLM fields can trigger a denial of service. A 32-bit integer overflow condition can lead to incorrect checks of consistency of length of internal buffers. Although most applications will error out before accepting a singe input buffer of 4GB in length this could theoretically happen. This vulnerability can be triggered via the main `gss_accept_sec_context` entry point if the application allows tokens greater than 4GB in length. This can lead to a large, up to 65KB, out-of-bounds read which could cause a denial-of-service if it reads from unmapped memory. Version 1.2.0 contains a patch for the out-of-bounds reads. (CVE-2023-25563)

GSS-NTLMSSP is a mechglue plugin for the GSSAPI library that implements NTLM authentication. Prior to version 1.2.0, an incorrect free when decoding target information can trigger a denial of service. The error condition incorrectly assumes the `cb` and `sh` buffers contain a copy of the data that needs to be freed. However, that is not the case. This vulnerability can be triggered via the main `gss_accept_sec_context` entry point. This will likely trigger an assertion failure in `free`, causing a denial-of-service. This issue is fixed in version 1.2.0. (CVE-2023-25565)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="gssntlmssp">
        <name>HCE 2.0</name>
        <package arch="aarch64" name="gssntlmssp" version="0.7.0" release="9.hce2">
          <filename>gssntlmssp-0.7.0-9.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="gssntlmssp-devel" version="0.7.0" release="9.hce2">
          <filename>gssntlmssp-devel-0.7.0-9.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="gssntlmssp-help" version="0.7.0" release="9.hce2">
          <filename>gssntlmssp-help-0.7.0-9.hce2.aarch64.rpm</filename>
        </package>
        <package arch="x86_64" name="gssntlmssp" version="0.7.0" release="9.hce2">
          <filename>gssntlmssp-0.7.0-9.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="gssntlmssp-devel" version="0.7.0" release="9.hce2">
          <filename>gssntlmssp-devel-0.7.0-9.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="gssntlmssp-help" version="0.7.0" release="9.hce2">
          <filename>gssntlmssp-help-0.7.0-9.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
