<?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>HCE3-SA-2025-0206</id>
    <title>An update for golang is now available for HCE 3.0</title>
    <severity>Critical</severity>
    <release>HCE 3.0</release>
    <issued date="2025-12-21 18:16:55"/>
    <updated date="2025-12-21 18:16:55"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-58185" id="CVE-2025-58185" title="CVE-2025-58185 Base Score: 5.3 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-47906" id="CVE-2025-47906" title="CVE-2025-47906 Base Score: 6.5 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-61723" id="CVE-2025-61723" title="CVE-2025-61723 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-2025-47907" id="CVE-2025-47907" title="CVE-2025-47907 Base Score: 7.0 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-22871" id="CVE-2025-22871" title="CVE-2025-22871 Base Score: 9.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-4674" id="CVE-2025-4674" title="CVE-2025-4674 Base Score: 8.6 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-58189" id="CVE-2025-58189" title="CVE-2025-58189 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"/>
    </references>
    <description>Security Fix(es):

Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion. (CVE-2025-58185)

If the PATH environment variable contains paths which are executables (rather than just directories), passing certain strings to LookPath (&quot;&quot;, &quot;.&quot;, and &quot;..&quot;), can result in the binaries listed in the PATH being unexpectedly returned. (CVE-2025-47906)

The processing time for parsing some invalid inputs scales non-linearly with respect to the size of the input. This affects programs which parse untrusted PEM inputs. (CVE-2025-61723)

Cancelling a query (e.g. by cancelling the context passed to one of the query methods) during a call to the Scan method of the returned Rows can result in unexpected results if other queries are being made in parallel. This can result in a race condition that may overwrite the expected results with those of another query, causing the call to Scan to return either unexpected results from the other query or an error. (CVE-2025-47907)

The net/http package improperly accepts a bare LF as a line terminator in chunked data chunk-size lines. This can permit request smuggling if a net/http server is used in conjunction with a server that incorrectly accepts a bare LF as part of a chunk-ext. (CVE-2025-22871)

The go command may execute unexpected commands when operating in untrusted VCS repositories. This occurs when possibly dangerous VCS configuration is present in repositories. This can happen when a repository was fetched via one VCS (e.g. Git), but contains metadata for another VCS (e.g. Mercurial). Modules which are retrieved using the go command line, i.e. via &quot;go get&quot;, are not affected. (CVE-2025-4674)

When Conn.Handshake fails during ALPN negotiation the error contains attacker controlled information (the ALPN protocols sent by the client) which is not escaped. (CVE-2025-58189)
</description>
    <pkglist>
      <collection short="HCE 3.0" package="golang">
        <name>HCE 3.0</name>
        <package arch="x86_64" name="golang" version="1.21.4" release="28.r10.hce3">
          <filename>golang-1.21.4-28.r10.hce3.x86_64.rpm</filename>
        </package>
        <package arch="noarch" name="golang-devel" version="1.21.4" release="28.r10.hce3">
          <filename>golang-devel-1.21.4-28.r10.hce3.noarch.rpm</filename>
        </package>
        <package arch="noarch" name="golang-help" version="1.21.4" release="28.r10.hce3">
          <filename>golang-help-1.21.4-28.r10.hce3.noarch.rpm</filename>
        </package>
        <package arch="aarch64" name="golang" version="1.21.4" release="28.r10.hce3">
          <filename>golang-1.21.4-28.r10.hce3.aarch64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
