CVE-2020-16845
Aliases:GHSA-q6gq-997w-f55gBIT-golang-2020-16845GO-2021-0142
Advisory lineage Upstream: 0 Downstream: 33
Modified
Published: 06 Aug 2020, 17:03
Last modified:04 Aug 2024, 13:45
Vulnerability Summary
Overall Risk (default)
medium
30/100 CVSS Score
7.5 HIGH
v3.1 (nvd)
EPSS Score
0.15% LOW
0% probability +0.06%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
06 Aug 2020, 17:03
Published
Vulnerability first disclosed
04 Aug 2024, 13:45
Last Modified
Vulnerability information updated
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.
CVSS Metrics
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- v2.0•MEDIUM•Score: 5AV:N/AC:L/Au:N/C:N/I:N/A:P
EPSS Trends
Current EPSS score: 0.15%• Percentile: 35%
Techniques & Countermeasures
- CWE-835•Loop with Unreachable Exit Condition ('Infinite Loop')
The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.
Affected Systems
- debian•debian_linux
9.0 | 10.0
- fedoraproject•fedora
31 | 32
- github.com/ulikunitz•xz
< 0.5.8
- golang•go
< 1.13.15 | ≥ 1.14, < 1.14.7
- Go•stdlib
≥ 1.14.0-0, < 1.14.7
- opensuse•leap
15.1 | 15.2
References (29)
- https://groups.google.com/forum/#%21topic/golang-announce/_ulYYcIWg3Q
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00021.html
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00028.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RCFJTMKHY5ICGEM5BUFUEDDGSPJ25XU/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KWRBAH4UZJO3RROQ72SYCUPFCJFA22FO/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TACQFZDPA7AUR6TRZBCX2RGRFSDYLI7O/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WV2VWKFTH4EJGZBZALVUJQJOAQB5MDQ4/
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00029.html
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00030.html
- https://lists.debian.org/debian-lts-announce/2020/11/msg00037.html
- https://lists.debian.org/debian-lts-announce/2020/11/msg00038.html
- https://www.debian.org/security/2021/dsa-4848
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://groups.google.com/forum/#%21topic/golang-announce/NyPIaucMgXo
- https://security.netapp.com/advisory/ntap-20200924-0002/
- https://nvd.nist.gov/vuln/detail/CVE-2020-16845
- https://github.com/ulikunitz/xz/issues/35
- https://github.com/ulikunitz/xz/commit/69c6093c7b2397b923acf82cb378f55ab2652b9b
- https://groups.google.com/forum/#!topic/golang-announce/NyPIaucMgXo
- https://groups.google.com/forum/#!topic/golang-announce/_ulYYcIWg3Q
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6RCFJTMKHY5ICGEM5BUFUEDDGSPJ25XU
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KWRBAH4UZJO3RROQ72SYCUPFCJFA22FO
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TACQFZDPA7AUR6TRZBCX2RGRFSDYLI7O
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WV2VWKFTH4EJGZBZALVUJQJOAQB5MDQ4
- https://security.netapp.com/advisory/ntap-20200924-0002
- https://go.dev/cl/247120
- https://go.googlesource.com/go/+/027d7241ce050d197e7fabea3d541ffbe3487258
- https://go.dev/issue/40618
- https://groups.google.com/g/golang-announce/c/NyPIaucMgXo