Live threats

All CVEs / Golang

CVE-2020-16845Golang Go

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
4.9%
probability of exploitation in 30 days · percentile 93
Auth required
No
Published
Aug 6, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-835
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go stdlib < 1.13.15 1.13.15 go get stdlib@v1.13.15
Go stdlib ≥ 1.14.0-0 < 1.14.7 1.14.7 go get stdlib@v1.14.7

Per OSV / GitHub Advisories (GO-2021-0142). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
golanggo< 1.13.15
golanggo≥ 1.14 < 1.14.7
opensuseleap15.1
opensuseleap15.2
debiandebian_linux9.0
debiandebian_linux10.0
fedoraprojectfedora31
fedoraprojectfedora32

Official sources

References

Links published by the sources. Open them with care.