CVE-2020-16845
golang: ReadUvarint and ReadVarint can read an unlimited number of bytes from invalid inputs
Overview
Description
Go before 1.13.15 and 14.x before 1.14.7 can have an infinite read loop in ReadUvarint and ReadVarint in encoding/binary via invalid inputs.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-835
Affected packages · 2
Operating systems · 101 fixes
Azure Linux 1 release · 1 package
fixed 1
python-tensorboard
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | python-tensorboard | 0:2.16.2-2.azl3 |
Oracle Linux 2 releases · 24 packages
fixed 24
kubeadm-ha-setup
flannel
kubernetes-cni
kubernetes-cni-plugins
olcne-agent
cri-tools
+18
| Release | Package | Fixed in |
|---|---|---|
| 7 | kubeadm-ha-setup | 0.0.2-1.0.73.el7 |
| 7 | flannel | 0.10.0-2.1.12.el7 |
| 7 | kubernetes-cni | 0.7.1-1.0.3.el7 |
| 7 | kubernetes-cni-plugins | 0.8.6-1.0.3.el7 |
| 7 | olcne-agent +6 | 1.1.5-2.el7 |
| 7 | cri-tools | 1.17.0-1.0.2.el7 |
18 more rows
Red Hat 4 releases · 32 packages
affected 2
eol 1
wont fix 1
fixed 55
etcd
ansible-service-broker
golang
cpp
faq
openshift-eventrouter
+26
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| etcd +9 | affected | — | |
| 7 | ansible-service-broker +68 | affected | — |
| 7 | golang +6 | eol | — |
| 7 | cpp +44 | wont fix | — |
| 7 | faq | 0:0.0.6-5.el7 | RHBA-2020:5123 |
| 7 | openshift-eventrouter | 0:0.2-5.git7c289cc.el7 | RHSA-2021:1016 |
53 more rows
alpine 4 releases · 1 package
fixed 4
go
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | go | 1.15-r0 |
| 3.23 | go | 1.15-r0 |
| 3.24 | go | 1.15-r0 |
| edge | go | 1.15-r0 |
debian 3 releases · 4 packages
fixed 4
golang-1-11
golang-1-15
golang-1-7
golang-1-8
| Release | Package | Fixed in |
|---|---|---|
| 10 | golang-1-11 | 1.11.6-1+deb10u4 |
| 11 | golang-1-15 | 1.15~rc2-1 |
| 9 | golang-1-7 | 1.7.4-2+deb9u2 |
| 9 | golang-1-8 | 1.8.1-1+deb9u2 |
openSUSE 1 release · 2 packages
fixed 2
go1-13
go1-14
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | go1-13 +2 | 1.13.15-2.6 | openSUSE-SU-2024:10806-1 |
| Tumbleweed | go1-14 +2 | 1.14.15-1.6 | openSUSE-SU-2024:10807-1 |
ubuntu 5 releases · 3 packages
fixed 5
affected 2
golang-1-13
golang-1-10
golang-1-14
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | golang-1-13 | 1.13.8-1ubuntu1~18.04.4 |
| 18.04-ESM | golang-1-10 +2 | affected |
| 18.04-ESM | golang-1-13 | 1.13.8-1ubuntu1~18.04.4 |
| 20.04 | golang-1-13 | 1.13.8-1ubuntu1.1 |
| 20.04-ESM | golang-1-14 | affected |
| 20.04-ESM | golang-1-13 | 1.13.8-1ubuntu1.1 |
1 more row
References
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00021.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00028.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00029.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00030.html
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-16845
- go.dev https://go.dev/cl/247120
- go.dev https://go.dev/issue/40618
- go.googlesource.com https://go.googlesource.com/go/+/027d7241ce050d197e7fabea3d541ffbe3487258
- groups.google.com https://groups.google.com/forum/#!topic/golang-announce/NyPIaucMgXo
- groups.google.com https://groups.google.com/forum/#!topic/golang-announce/_ulYYcIWg3Q
Show all 29 references
- groups.google.com https://groups.google.com/forum/#%21topic/golang-announce/NyPIaucMgXo
- groups.google.com https://groups.google.com/forum/#%21topic/golang-announce/_ulYYcIWg3Q
- groups.google.com https://groups.google.com/g/golang-announce/c/NyPIaucMgXo
- linux.oracle.com https://linux.oracle.com/cve/CVE-2020-16845.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2020-5828.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2020/11/msg00037.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2020/11/msg00038.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RCFJTMKHY5ICGEM5BUFUEDDGSPJ25XU/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KWRBAH4UZJO3RROQ72SYCUPFCJFA22FO/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TACQFZDPA7AUR6TRZBCX2RGRFSDYLI7O/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WV2VWKFTH4EJGZBZALVUJQJOAQB5MDQ4/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-16845
- pkg.go.dev https://pkg.go.dev/vuln/GO-2021-0142
- security.netapp.com https://security.netapp.com/advisory/ntap-20200924-0002/
- ubuntu.com https://ubuntu.com/security/notices/USN-5725-1
- ubuntu.com https://ubuntu.com/security/notices/USN-5725-2
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2020-16845
- www.debian.org https://www.debian.org/security/2021/dsa-4848
- www.oracle.com https://www.oracle.com/security-alerts/cpuApr2021.html
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.