<?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-2024-0041</id>
    <title>An update for golang is now available for HCE 2.0</title>
    <severity>Important</severity>
    <release>HCE 2.0</release>
    <issued date="2024-02-23 07:36:42"/>
    <updated date="2024-02-23 07:36:42"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2023-39326" id="CVE-2023-39326" title="CVE-2023-39326 Base Score: 5.3 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2023-45285" id="CVE-2023-45285" title="CVE-2023-45285 Base Score: 7.5 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N" type="cve"/>
    </references>
    <description>Security Fix(es):

A malicious HTTP sender can use chunk extensions to cause a receiver reading from a request or response body to read many more bytes from the network than are in the body. A malicious HTTP client can further exploit this to cause a server to automatically read a large amount of data (up to about 1GiB) when a handler fails to read the entire body of a request. Chunk extensions are a little-used HTTP feature which permit including additional metadata in a request or response body sent using the chunked encoding. The net/http chunked encoding reader discards this metadata. A sender can exploit this by inserting a large metadata segment with each byte transferred. The chunk reader now produces an error if the ratio of real body to encoded bytes grows too small. (CVE-2023-39326)

Using go get to fetch a module with the &quot;.git&quot; suffix may unexpectedly fallback to the insecure &quot;git://&quot; protocol if the module is unavailable via the secure &quot;https://&quot; and &quot;git+ssh://&quot; protocols, even if GOINSECURE is not set for said module. This only affects users who are not using the module proxy and are fetching modules directly (i.e. GOPROXY=off). (CVE-2023-45285)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="golang">
        <name>HCE 2.0</name>
        <package arch="aarch64" name="golang" version="1.17.3" release="1.r28.hce2">
          <filename>golang-1.17.3-1.r28.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="golang-devel" version="1.17.3" release="1.r28.hce2">
          <filename>golang-devel-1.17.3-1.r28.hce2.noarch.rpm</filename>
        </package>
        <package arch="noarch" name="golang-help" version="1.17.3" release="1.r28.hce2">
          <filename>golang-help-1.17.3-1.r28.hce2.noarch.rpm</filename>
        </package>
        <package arch="x86_64" name="golang" version="1.17.3" release="1.r28.hce2">
          <filename>golang-1.17.3-1.r28.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
