CVE-2021-29482
unknown
CVSS v3
—
CVSS v2
—
VIR risk
—
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.
Predictions
Exploit likelihood
30%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2021-29482
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 0.5.6-2 |
| debian | bullseye | fixed | 0.5.6-2 |
| debian | forky | fixed | 0.5.6-2 |
| debian | sid | fixed | 0.5.6-2 |
| debian | trixie | fixed | 0.5.6-2 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Go | github.com/ulikunitz/xz | <0.5.8 | 0.5.8 |
References
- https://github.com/ulikunitz/xz/security/advisories/GHSA-25xm-hr59-7c27
- https://nvd.nist.gov/vuln/detail/CVE-2021-29482
- https://github.com/ulikunitz/xz/issues/35
- https://github.com/ulikunitz/xz/commit/69c6093c7b2397b923acf82cb378f55ab2652b9b
- https://pkg.go.dev/vuln/GO-2020-0016
- https://security-tracker.debian.org/tracker/CVE-2021-29482
Verify integrity in audit chain (admin only). AS-IS.