stdlib
Affected
- introduced
0, fixed1.13.15, introduced1.14.0-0, fixed1.14.7(semver)
Fixed versions
1.13.15, 1.14.7
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: BIT-golang-2020-16845, CVE-2020-16845, GHSA-q6gq-997w-f55g
Unbounded read from invalid inputs in encoding/binary
ReadUvarint and ReadVarint can read an unlimited number of bytes from invalid inputs.
Certain invalid inputs to ReadUvarint or ReadVarint can cause these functions to read an unlimited number of bytes from the ByteReader parameter before returning an error. This can lead to processing more input than expected when the caller is reading directly from a network and depends on ReadUvarint or ReadVarint only consuming a small, bounded number of bytes, even from invalid inputs.
Not rated by the source.
0, fixed 1.13.15, introduced 1.14.0-0, fixed 1.14.7 (semver)1.13.15, 1.14.7
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: Go Vulnerability Database · CC BY 4.0