Skip to content
OpenAdvisories
Unscored SUSE-SU-2022:0723-1 3 CVEs

Security update for go1.17

Published Mar 4, 2022 · Updated May 2, 2025

Summary

This update for go1.17 fixes the following issues:

- CVE-2022-23806: Fixed incorrect returned value in crypto/elliptic IsOnCurve (bsc#1195838).
- CVE-2022-23772: Fixed overflow in Rat.SetString in math/big can lead to uncontrolled memory consumption (bsc#1195835).
- CVE-2022-23773: Fixed incorrect access control in cmd/go (bsc#1195834).

The following non-security bugs were fixed:

- go#50978 crypto/elliptic: IsOnCurve returns true for invalid field elements
- go#50701 math/big: Rat.SetString may consume large amount of RAM and crash
- go#50687 cmd/go: do not treat branches with semantic-version names as releases
- go#50942 cmd/asm: 'compile: loop' compiler bug?
- go#50867 cmd/compile: incorrect use of CMN on arm64
- go#50812 cmd/go: remove bitbucket VCS probing
- go#50781 runtime: incorrect frame information in traceback traversal may hang the process.
- go#50722 debug/pe: reading debug_info section of PE files that use the DWARF5 form DW_FORM_line_strp causes error
- go#50683 cmd/compile: MOVWreg missing sign-extension following a Copy from a floating-point LoadReg
- go#50586 net/http/httptest: add fipsonly compliant certificate in for NewTLSServer(), for dev.boringcrypto branch
- go#50297 cmd/link: does not set section type of .init_array correctly
- go#50246 runtime: intermittent os/exec.Command.Start() Hang on Darwin in Presence of 'plugin' Package

Fixed packages 11

ReleasePackageFixed in
SUSE · Enterprise Storage 7 go1.17 1.17.7-1.20.1
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-ESPOS go1.17 1.17.7-1.20.1
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS go1.17 1.17.7-1.20.1
SUSE · SLES 15 SP3 Linux Enterprise Module for Development Tools 15 SP3 go1.17 1.17.7-1.20.1
SUSE · SLE Real Time 15 SP2 Linux Enterprise Real Time 15 SP2 go1.17 1.17.7-1.20.1
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-BCL go1.17 1.17.7-1.20.1
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS go1.17 1.17.7-1.20.1
SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 go1.17 1.17.7-1.20.1
SUSE · Manager Proxy 4.1 go1.17 1.17.7-1.20.1
SUSE · Manager Retail Branch Server 4.1 go1.17 1.17.7-1.20.1
SUSE · Manager Server 4.1 go1.17 1.17.7-1.20.1

Vulnerabilities 3

  • Unscored —

    Uncontrolled memory consumption in math/big

    Rat.SetString in math/big in Go before 1.16.14 and 1.17.x before 1.17.7 has an overflow that can lead to Uncontrolled Memory Consumption.

  • Unscored —
    CVE-2022-23773 Public exploit

    Incorrect access control in the go command in cmd/go/internal/modfetch

    cmd/go in Go before 1.16.14 and 1.17.x before 1.17.7 can misinterpret branch names that falsely appear to be version tags. This can lead to incorrect access control if an actor is supposed to be able to create branches but not tags.

  • Unscored —

    Incorrect computation for some invalid field elements in crypto/elliptic

    Curve.IsOnCurve in crypto/elliptic in Go before 1.16.14 and 1.17.x before 1.17.7 can incorrectly return true in situations with a big.Int value that is not a valid field element.

References

  • report
    https://bugzilla.suse.com/1190649
  • report
    https://bugzilla.suse.com/1195834
  • report
    https://bugzilla.suse.com/1195835
  • report
    https://bugzilla.suse.com/1195838
  • web
    https://www.suse.com/security/cve/CVE-2022-23772
  • web
    https://www.suse.com/security/cve/CVE-2022-23773
  • web
    https://www.suse.com/security/cve/CVE-2022-23806