PT-2020-6058 · Go+6 · Go+6

Published

2020-08-06

·

Updated

2024-06-15

·

CVE-2020-16845

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Go versions 1.13.0 through 1.13.14 Go versions 1.14.0 through 1.14.6
Description The issue is related to an infinite read loop in the ReadUvarint and ReadVarint functions in the encoding/binary package. This can occur when these functions are given invalid inputs, causing them to read an unlimited number of bytes before returning an error. This can lead to processing more input than expected, particularly when reading directly from a network. The exploitation of this issue can allow a remote attacker to cause a denial of service.
Recommendations For Go versions 1.13.0 through 1.13.14, update to version 1.13.15 or later. For Go versions 1.14.0 through 1.14.6, update to version 1.14.7 or later. As a temporary workaround, consider restricting the use of the ReadUvarint and ReadVarint functions in the encoding/binary package until a patch is available. Avoid using these functions with untrusted or invalid inputs to minimize the risk of exploitation.

Fix

Infinite Loop

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2020-2516
ALT-PU-2020-2621
AZL-79098
BDU:2021-02857
BIT-GOLANG-2020-16845
CESA-2020_3665
CVE-2020-16845
DLA-2459-1
DLA-2460-1
DSA-4848-1
GHSA-Q6GQ-997W-F55G
GO-2021-0142
MGASA-2020-0325
OPENSUSE-SU-2020:1178-1
OPENSUSE-SU-2020:1194-1
OPENSUSE-SU-2020:1405-1
OPENSUSE-SU-2020:1407-1
OPENSUSE-SU-2020_1178-1
OPENSUSE-SU-2020_1194-1
OPENSUSE-SU-2020_1405-1
OPENSUSE-SU-2020_1407-1
OPENSUSE-SU-2024:10806-1
OPENSUSE-SU-2024:10807-1
RHSA-2020:3665
RHSA-2020:4214
RHSA-2020:4297
RHSA-2020:5119
RHSA-2020:5159
RHSA-2020:5606
RHSA-2020:5649
RHSA-2020_3665
RHSA-2021:0172
RHSA-2021:0713
RHSA-2021:0956
RHSA-2021:1016
RHSA-2021:1366
RHSA-2021:2122
RHSA-2021:4103
SUSE-SU-2020:2562-1
USN-5725-1
USN-5725-2

Affected Products

Alt Linux
Centos
Go
Linuxmint
Red Hat
Suse
Ubuntu