High severityNVD Advisory· Published Apr 28, 2021· Updated Aug 3, 2024
denial of service in github.com/ulikunitz/xz
CVE-2021-29482
Description
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. The problem has been fixed in release v0.5.8. As a workaround users can limit the size of the compressed file input to a reasonable size for their use case. The standard library had recently the same issue and got the CVE-2020-16845 allocated.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/ulikunitz/xzGo | < 0.5.8 | 0.5.8 |
Affected products
2- ulikunitz/xzv5Range: < 0.5.8
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-25xm-hr59-7c27ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-29482ghsaADVISORY
- github.com/ulikunitz/xz/commit/69c6093c7b2397b923acf82cb378f55ab2652b9bghsax_refsource_MISCWEB
- github.com/ulikunitz/xz/issues/35ghsaWEB
- github.com/ulikunitz/xz/security/advisories/GHSA-25xm-hr59-7c27ghsax_refsource_CONFIRMWEB
- pkg.go.dev/vuln/GO-2020-0016ghsaWEB
News mentions
0No linked articles in our index yet.