File _patchinfo of Package patchinfo.16034
<patchinfo incident="16034">
<issue tracker="cve" id="2020-15586"/>
<issue tracker="cve" id="2020-14039"/>
<issue tracker="cve" id="2020-16845"/>
<issue tracker="bnc" id="1164903">go1.14 release tracking</issue>
<issue tracker="bnc" id="1174153">VUL-0: CVE-2020-15586: golang: data race in certain net/http servers including ReverseProxy can lead to DoS</issue>
<issue tracker="bnc" id="1169832">armv6hl: Go applications fails with "Illegal instruction (core dumped)"</issue>
<issue tracker="bnc" id="1174191">VUL-1: CVE-2020-14039: golang: X.509 verification ignores provided EKUs on Windows</issue>
<issue tracker="bnc" id="1174977">(CVE-2020-16845) VUL-0: CVE-2020-16845: ReadUvarint and ReadVarint can read an unlimited number of bytes from invalid inputs</issue>
<issue tracker="bnc" id="1170826">Go packages miss binutils-gold dependency</issue>
<issue tracker="bnc" id="1172868">golang doesn't honour /usr/etc/nsswitch.conf</issue>
<packager>jfkw</packager>
<rating>important</rating>
<category>security</category>
<summary>Security update for go1.14</summary>
<description>This update for go1.14 fixes the following issues:
- go1.14 was updated to version 1.14.7
- CVE-2020-16845: dUvarint and ReadVarint can read an unlimited number of bytes from invalid inputs (bsc#1174977).
- go1.14.6 (released 2020-07-16) includes fixes to the go command,
the compiler, the linker, vet, and the database/sql,
encoding/json, net/http, reflect, and testing packages.
Refs bsc#1164903 go1.14 release tracking
* go#39991 runtime: missing deferreturn on linux/ppc64le
* go#39920 net/http: panic on misformed If-None-Match Header with http.ServeContent
* go#39849 cmd/compile: internal compile error when using sync.Pool: mismatched zero/store sizes
* go#39824 cmd/go: TestBuildIDContainsArchModeEnv/386 fails on linux/386 in Go 1.14 and 1.13, not 1.15
* go#39698 reflect: panic from malloc after MakeFunc function returns value that is also stored globally
* go#39636 reflect: DeepEqual can return true for values that are not equal
* go#39585 encoding/json: incorrect object key unmarshaling when using custom TextUnmarshaler as Key with string values
* go#39562 cmd/compile/internal/ssa: TestNexting/dlv-dbg-hist failing on linux-386-longtest builder because it tries to use an older version of dlv which only supports linux/amd64
* go#39308 testing: streaming output loses parallel subtest associations
* go#39288 cmd/vet: update for new number formats
* go#39101 database/sql: context cancellation allows statements to execute after rollback
* go#38030 doc: BuildNameToCertificate deprecated in go 1.14 not mentioned in the release notes
- go1.14.5 (released 2020-07-14) includes security fixes to the
crypto/x509 and net/http packages addressing the following CVEs:
CVE-2020-15586 CVE-2020-14039
Refs bsc#1174153 bsc#1174191
Refs bsc#1164903 go1.14 release tracking
* bsc#1174153 CVE-2020-15586
* bsc#1174191 CVE-2020-14039 (Windows only)
* go#40212 net/http: Expect 100-continue panics in httputil.ReverseProxy
* go#40210 crypto/x509: Certificate.Verify method seemingly ignoring EKU requirements on Windows
- Add support for riscv64
- Packaging improvements for update-alternatives priority,
%license tag, and permissions in %files macro section.
* update-alternatives increment priority on this and subsequent
go1.x versions using priority = 20 + (minor version) i.e.
go1.13 = 33, go1.14 = 34, etc.
* Use %license tag for LICENSE keep %doc for suse_version < 1500
* Remove %defattr(-,root,root,-) in %files
- Add patch to ensure /etc/hosts is used if /etc/nsswitch.conf is
not present bsc#1172868 gh#golang/go#35305
* add go1.x-prefer-etc-hosts-over-dns.patch
* Patch renamed and fields added per packaging guidelines
on 2020-07-15 by Jeff Kowalczyk <jkowalczyk@suse.com>
* Patch can likely be dropped for go1.16 in February 2021
- go1.14.4 (released 2020-06-01) includes fixes to the go doc command,
the runtime, and the encoding/json and os packages.
Refs bsc#1164903 go1.14 release tracking
* go#39158 os: opening an existing file with O_CREATE|O_TRUNC and permission 0 changes file to be read-only on Windows
* go#38993 cmd/doc: -src flag misbehaves on some systems
* go#38933 runtime: preemption in startTemplateThread may cause infinite hang
* go#38178 encoding/json: marshal result of string type struct field with ",string" option change in go1.14
* go#38106 encoding/json: mangled unmarshal string result
- Ensure ARM arch is set properly - bsc#1169832
- Update compiler-rt snapshot to 0fb8a5356214c47bbb832e89fbb3da1c755eeb73
which is needed for go1.14.3 to build on amd64.
- Change compiler-rt git repo url to new location in LLVM project.
- Allow go-race to be built on arm64 and ppc64le.
- Document (and clean up) LLVM snapshotting for go-race.
- Update _service to no longer fetch Go from git.
- go1.14.3 (released 2020-05-14) includes fixes to cgo, the compiler,
the runtime, and the go/doc and math/big packages.
Refs bsc#1164903 go1.14 release tracking
* go#38856 runtime: scavenger freezes up in Go 1.14 in Windows due to coarse time granularity
* go#38606 runtime: pageAlloc.allocToCache updates pageAlloc.searchAddr in an invalid way
* go#38443 cmd/compile: unexpected nil dereference on s390x
* go#38426 cmd/cgo: types regression for anonymous structs
* go#38418 go/doc: whole file is used as example even when there are tests or benchmarks
* go#38321 runtime/race: race_linux_amd64.syso now depends on glibc 2.16
* go#38123 cmd/compile: conversion from int/float typed constant to complex variable changed in 1.14
* go#37501 math/big: panic in big.ParseFloat (off by one access)
- Requires binutils-gold for %arm and aarch64 - bsc#1170826
- go1.14.2 (released 2020-04-08) includes fixes to cgo, the go command,
the runtime, os/exec, and testing packages.
Refs bsc#1164903 go1.14 release tracking
* go#38156 doc: BuildNameToCertificate deprecated in go 1.14 not mentioned in the release notes
* go#38118 runtime/pprof: lostProfileEvent stack breaks gentraceback guarantee
* go#38083 cmd/go/internal/test: data race in (*runCache).builderRunTest
* go#38072 runtime: timer self-deadlock due to preemption point
* go#38051 runtime: loops forever on sched_yield sometimes(timer related)
* go#38005 runtime: "pipe failed with -89" at program startup(mipsle only), timer related netpoll init.
* go#37970 runtime/pprof: panic: runtime error: index out of range [-1]
* go#37968 runtime: fatal error: found bad pointer in Go heap (incorrect use of unsafe or cgo?)
* go#37959 testing: data race between parallel panicking and normal subtest
* go#37931 cmd/go: explain automatic vendoring in 'go help modules'
* go#37928 runtime: GC pacing exhibits strange behavior with a low GOGC
* go#37800 cmd/go: 'Access is denied' when renaming module cache directory
* go#37699 PowerRegisterSuspendResumeNotification error on Azure App Services with go 1.13.7
* go#37622 cmd/cgo: fails to generate certain types with Go 1.14
* go#37480 runtime: "fatal error: unexpected signal" 0xC0000005 on Windows for a small program with a large allocation
* go#37471 os/exec: environForSysProcAttr is never called as sysattr.Env is never nil
- go1.14.1 (released 2020-03-19) includes fixes to the go command,
tools, and the runtime.
Refs bsc#1164903 go1.14 release tracking
* go#37905 cmd/compile: -d=checkptr should not reject unaligned pointers to non-pointer data
* go#37833 runtime: sometimes 100% CPU spin during init phase in Go 1.14 with preemptive scheduler
* go#37822 cmd/go: module's "go" version should be included in cache key
* go#37807 runtime: mlock of signal stack failed: 12
* go#37782 runtime: crash on 1.14 with unexpected return pc, fatal error: unknown caller pc
* go#37721 reflect: MakeMap() and not native map type wrong behavior
* go#37671 cmd/go: tests that panic or exit are marked as passing when -json flag is used
* go#37667 runtime: asyncPreempt should not try to save floating-point context for softfloat MIPS targets
* go#37630 doc: missing documentation of quoting the URL of url.Errors in go1.14 release notes
* go#37613 runtime: Go 1.14.rc1 3-5% performance regression from 1.13 during protobuf marshalling
* go#37494 time: racy Timer access should either work or throw, not panic
* go#37478 SIGILL: illegal instruction on any go tool under macOS
* go#37447 runtime/pprof: inline frames may not use combined location
* go#37343 cmd/trace: requires HTML imports, which doesn't work on any major browser anymore
- Packaging sync accumulated changes from go1.12
Refs bsc#1164903 go1.14 release tracking
- Use gcc9 by default by updating define gcc_go_version 9 (was 8)
* drop unneeded patch gcc8-go.patch
- Fix broken go_api evaluation (1.12 < 1.5, when evaluated as floats),
let RPM evaluate the expression, drop no longer required bc.
- Own the gdbinit.d directory, avoid the build dependency on gdb.
- Add %ifarch %arm aarch64 BuildRequires: binutils-gold to fix
/usr/lib64/go/{version}/pkg/tool/linux_arm64/link: running gcc failed: exit status 1
collect2: fatal error: cannot find 'ld'-
</description>
</patchinfo>