Advisory

RLSA-2022:5799

Also known as: CVE-2022-1705, CVE-2022-1962, CVE-2022-24675, CVE-2022-24921, CVE-2022-28131, CVE-2022-28327, CVE-2022-29526, CVE-2022-30629, CVE-2022-30630, CVE-2022-30631, CVE-2022-30632, CVE-2022-30633, CVE-2022-30635, CVE-2022-32148

Summary

Important: go-toolset and golang security and bug fix update

Details

Go Toolset provides the Go programming language tools and libraries. Go is alternatively known as golang.

The golang packages provide the Go programming language compiler.

Security Fix(es):

  • golang: compress/gzip: stack exhaustion in Reader.Read (CVE-2022-30631)
  • golang: net/http: improper sanitization of Transfer-Encoding header (CVE-2022-1705)
  • golang: go/parser: stack exhaustion in all Parse* functions (CVE-2022-1962)
  • golang: encoding/xml: stack exhaustion in Decoder.Skip (CVE-2022-28131)
  • golang: io/fs: stack exhaustion in Glob (CVE-2022-30630)
  • golang: path/filepath: stack exhaustion in Glob (CVE-2022-30632)
  • golang: encoding/xml: stack exhaustion in Unmarshal (CVE-2022-30633)
  • golang: encoding/gob: stack exhaustion in Decoder.Decode (CVE-2022-30635)
  • golang: net/http/httputil: NewSingleHostReverseProxy - omit X-Forwarded-For not working (CVE-2022-32148)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Bug Fix(es):

  • Clean up dist-git patches (BZ#2109174)
  • Update Go to version 1.17.12 (BZ#2109183)

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2022-08-01 15:29 UTC
Modified
2026-02-04 07:40 UTC

Affected packages and fixes

golang

RPM packages (rpm) · Rocky Linux 9

Affected

  • introduced 0, fixed 0:1.17.12-1.el9_0 (ecosystem)

Fixed versions

0:1.17.12-1.el9_0

Fix

  • Fixed version 0:1.17.12-1.el9_0
    sudo dnf upgrade golang-0:1.17.12-1.el9_0

go-toolset

RPM packages (rpm) · Rocky Linux 9

Affected

  • introduced 0, fixed 0:1.17.12-1.el9_0 (ecosystem)

Fixed versions

0:1.17.12-1.el9_0

Fix

  • Fixed version 0:1.17.12-1.el9_0
    sudo dnf upgrade go-toolset-0:1.17.12-1.el9_0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Rocky Linux errata (Apollo)

Rocky Linux errata, Rocky Enterprise Software Foundation.

Sources & licences