MGASA-2022-0091 - Updated golang packages fix security vulnerability

Publication date: 07 Mar 2022
URL: https://advisories.mageia.org/MGASA-2022-0091.html
Type: security
Affected Mageia releases: 8
CVE: CVE-2022-23772,
     CVE-2022-23773,
     CVE-2022-23806

Overflow in Rat.SetString in math/big can lead to uncontrolled memory
consumption (CVE-2022-23772)
Incorrect access control in cmd/go (CVE-2022-23773)
Incorrect returned value in crypto/elliptic IsOnCurve (CVE-2022-23806)
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

References:
- https://bugs.mageia.org/show_bug.cgi?id=30117
- https://lists.opensuse.org/archives/list/[email protected]/thread/OPXUBD6DBIW4WEXMYCUH5OXEVJIKJHR4/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23772
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23773
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23806

SRPMS:
- 8/core/golang-1.17.7-1.mga8