github.com/ulikunitz/xz
Affected
- introduced
0, fixed0.5.8(semver)
Fixed versions
0.5.8
Fix
- Fixed version
0.5.8go get github.com/ulikunitz/[email protected]
Advisory
Also known as: CVE-2021-29482, GO-2020-0016
github.com/ulikunitz/xz fixes readUvarint Denial of Service (DoS)
Impact
xz is a compression and decompression library focusing on the xz format completely written in Go. The function readUvarint used to read the xz container format may not terminate a loop provide malicous input.
Patches
The problem has been fixed in release v0.5.8.
Workarounds
Limit the size of the compressed file input to a reasonable size for your use case.
References
The standard library had recently the same issue and got the CVE-2020-16845 allocated.
For more information
If you have any questions or comments about this advisory:
High Basis: The source's own band: HIGH
0, fixed 0.5.8 (semver)0.5.8
0.5.8go get github.com/ulikunitz/[email protected]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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0