Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2020-16845

golang: ReadUvarint and ReadVarint can read an unlimited number of bytes from invalid inputs

Overview

Published
6 Aug 2020
Modified
17 Jun 2026
High CVE
2 Registry packages
223 OS packages
7 Linux distributions
Yes Fix available

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

Packages affected by CVE-2020-16845
EcosystemPackageVulnerableFixed in
Bitnami golang <1.13.15>=1.14.0, <1.14.7 1.13.151.14.7
Go stdlib <1.13.15>=1.14.0-0, <1.14.7 1.13.151.14.7

Open a package to see all its vulnerabilities.

Operating systems · 101 fixes

Azure Linux 1 release · 1 package

fixed 1
python-tensorboard
Azure Linux fixes for CVE-2020-16845
ReleasePackageFixed 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
Oracle Linux fixes for CVE-2020-16845
ReleasePackageFixed 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
Red Hat fixes for CVE-2020-16845
ReleasePackageFixed inAdvisory
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
alpine fixes for CVE-2020-16845
ReleasePackageFixed 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
debian fixes for CVE-2020-16845
ReleasePackageFixed 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
openSUSE fixes for CVE-2020-16845
ReleasePackageFixed inAdvisory
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
ubuntu fixes for CVE-2020-16845
ReleasePackageFixed 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

Show all 29 references

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.