VDB
CVE-2021-29482
CVE-2021-29482
PUBLISHED
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.
EPSS 0.43% · 63.0th percentile
Risk Scores
EPSS Score
0.43%
63.0th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:22.04:LTS | golang-github-ulikunitz-xz | 0, 0.5.6-2 |
| Ubuntu:24.04:LTS | golang-github-ulikunitz-xz | 0.5.6-2, 0 |
| Ubuntu:20.04:LTS | golang-github-ulikunitz-xz | 0, 0.5.6-1 |
| Ubuntu:25.10 | golang-github-ulikunitz-xz | 0.5.6-2, 0 |
Timeline
- Apr 14, 2021 CVE Published
- Apr 29, 2021 EPSS Score
- May 14, 2021 CVE Updated
- Jul 2, 2021 EPSS Score
- Sep 2, 2021 EPSS Score
- Nov 3, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Feb 4, 2022 EPSS Score
- Mar 8, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- May 9, 2022 EPSS Score
- Jul 10, 2022 EPSS Score
References
- https://ubuntu.com/security/CVE-2021-29482 third-party-advisory
- https://github.com/ulikunitz/xz/security/advisories/GHSA-25xm-hr59-7c27 third-party-advisory
- https://github.com/ulikunitz/xz/commit/69c6093c7b2397b923acf82cb378f55ab2652b9b third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2021-29482 third-party-advisory