CVE-2021-29482
CVE-2021-29482 · denial of service in github.com/ulikunitz/xz
CVSS 7.5 · High · EPSS 1.4% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- xzNo fix published
- golang-github-ulikunitz-xz Debian 12Update to 0.5.6-2
- golang-github-ulikunitz-xz Debian 13Update to 0.5.6-2
- golang-github-ulikunitz-xz Debian 14Update to 0.5.6-2
- and 5 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="golang-github-ulikunitz-xz"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- RHSA-2022:1276 · Red Hat service mesh 2.0 el8 ·
Stack: system
Affected products and versions
xz
- Versions
- < 0.5.8: Affected
No fix published
golang-github-ulikunitz-xz Debian 12
- Affected ranges
- ECOSYSTEM: < 0.5.6-2
Update to 0.5.6-2
golang-github-ulikunitz-xz Debian 13
- Affected ranges
- ECOSYSTEM: < 0.5.6-2
Update to 0.5.6-2
golang-github-ulikunitz-xz Debian 14
- Affected ranges
- ECOSYSTEM: < 0.5.6-2
Update to 0.5.6-2
golang-github-ulikunitz-xz Ubuntu 20.04 LTS
- Versions
- 0.5.6-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-ulikunitz-xz Ubuntu 22.04 LTS
- Versions
- 0.5.6-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-ulikunitz-xz Ubuntu 24.04 LTS
- Versions
- 0.5.6-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-ulikunitz-xz Ubuntu 25.10
- Versions
- 0.5.6-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-ulikunitz-xz Ubuntu 26.04 LTS
- Versions
- 0.5.6-2
- 0.5.15-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published