Bug 29526 - golang new security issues CVE-2021-39293 and CVE-2021-38297
Summary: golang new security issues CVE-2021-39293 and CVE-2021-38297
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact: Sec team
URL:
Whiteboard: MGA8-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2021-10-04 21:40 CEST by David Walser
Modified: 2021-10-13 21:41 CEST (History)
7 users (show)

See Also:
Source RPM: golang-1.15.15-1.mga8.src.rpm
CVE:
Status comment:


Attachments

Description David Walser 2021-10-04 21:40:57 CEST
Golang has issued an advisory on September 9:
https://groups.google.com/g/golang-announce/c/dx9d7IOseHw

The issue is fixed upstream in 1.16.8.  1.15.x is also affected.

They also made an announcement of an upcoming advisory and 1.16.9 release today (October 4) which will be released on October 7:
https://groups.google.com/g/golang-announce/c/7efr4VBoZIw

Mageia 8 is also affected.
David Walser 2021-10-04 21:41:05 CEST

Whiteboard: (none) => MGA8TOO

Comment 1 Marja Van Waes 2021-10-05 22:14:46 CEST
Assigning to the registered maintainer.

Assignee: bugsquad => joequant
CC: (none) => marja11

David Walser 2021-10-06 17:03:37 CEST

CC: (none) => bruno

Comment 2 David Walser 2021-10-07 16:21:35 CEST
openSUSE has issued an advisory for this on October 6:
https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/5EY52N4KALEDKULS6YHUPW2C7OJTGHTS/
Comment 3 Nicolas Lécureuil 2021-10-09 00:47:51 CEST
pushed into mga8/9


src:
    - golang-1.15.15-1.1.mga8

Version: Cauldron => 8
Assignee: joequant => qa-bugs
CC: (none) => joequant, mageia

Comment 4 David Walser 2021-10-09 00:54:54 CEST
(In reply to David Walser from comment #0)
> They also made an announcement of an upcoming advisory and 1.16.9 release
> today (October 4) which will be released on October 7:
> https://groups.google.com/g/golang-announce/c/7efr4VBoZIw

Here's the announcement from October 7:
https://groups.google.com/g/golang-announce/c/AEBu9j7yj5A

Cauldron needs to be updated again to 1.16.9.  I'm not sure if Mageia 8 is affected by this new issue.

Summary: golang new security issue CVE-2021-39293 => golang new security issues CVE-2021-39293 and CVE-2021-38297
Assignee: qa-bugs => mageia
Version: 8 => Cauldron

Comment 5 David Walser 2021-10-12 02:04:16 CEST
golang-1.17.2-1.mga9 uploaded for Cauldron by Bruno.

Version: Cauldron => 8
Whiteboard: MGA8TOO => (none)

Comment 6 Bruno Cornec 2021-10-13 01:30:16 CEST
same version uploaded for mga8 into update_testing

Assignee: mageia => qa-bugs
Status: NEW => ASSIGNED

Comment 7 David Walser 2021-10-13 01:46:44 CEST
golang-docs-1.17.2-1.mga8
golang-misc-1.17.2-1.mga8
golang-tests-1.17.2-1.mga8
golang-src-1.17.2-1.mga8
golang-race-1.17.2-1.mga8
golang-shared-1.17.2-1.mga8
golang-bin-1.17.2-1.mga8

from golang-1.17.2-1.mga8.src.rpm
Comment 8 Len Lawrence 2021-10-13 10:34:51 CEST
mga8, x64
Installed listed golang components.
$ go version
go version go1.15.15 linux/amd64

Set GOPATH and GOROOT variables.
$ go run src/hello.go
Good morning QA

!AQ gninrom dooG

Updated the files from updates testing.
qarepo failed on four of the files -
rsync: [Receiver] safe_read failed to read 1 bytes: Connection reset by peer (104)
Tried again and received the rest of the files but failed on the pubkey.
Tried again and the pubkey was received.
Proceeded with MageiaUpdate and that failed.

This keeps happening so I am abandoning qarepo.
Installed all the packages manually.
$ rpm -qa | grep golang
golang-docs-1.17.2-1.mga8
golang-1.17.2-1.mga8
golang-tests-1.17.2-1.mga8
golang-bin-1.17.2-1.mga8
golang-race-1.17.2-1.mga8
golang-misc-1.17.2-1.mga8
golang-src-1.17.2-1.mga8
golang-shared-1.17.2-1.mga8

Ran the helloworld test - OK.
Built docker using mgarepo and the build machine.
$ mgarepo co docker
$ cd docker
$ bm -s
creating package list
processing package %{origname}-%{moby_version}-%mkrel 1
building source package
succeeded!
$ sudo urpmi --buildrequires SPECS/docker.spec
.................
Proceed with the installation of the 59 packages? (Y/n)
$ bm
creating package list
processing package %{origname}-%{moby_version}-%mkrel 1
building source and binary packages
succeeded!
$ cd RPMS/x86_64
$ ls
docker-20.10.9-1.mga8.x86_64.rpm
docker-devel-20.10.9-1.mga8.x86_64.rpm
docker-fish-completion-20.10.9-1.mga8.x86_64.rpm
docker-logrotate-20.10.9-1.mga8.x86_64.rpm
docker-nano-20.10.9-1.mga8.x86_64.rpm
docker-zsh-completion-20.10.9-1.mga8.x86_64.rpm

Giving this the go-ahead and validating.

Whiteboard: (none) => MGA8-64-OK
Keywords: (none) => validated_update
CC: (none) => tarazed25, sysadmin-bugs

Dave Hodgins 2021-10-13 20:59:01 CEST

CC: (none) => davidwhodgins
Keywords: (none) => advisory

Comment 9 Mageia Robot 2021-10-13 21:41:21 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGASA-2021-0475.html

Resolution: (none) => FIXED
Status: ASSIGNED => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.