CVE-2021-29482

denial of service in github.com/ulikunitz/xz

Published Apr 28, 2021 CVSS 3.1 · 7.5 High EPSS 1.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-0896 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.
Github GHSA Github GHSA GHSA-25xm-hr59-7c27 github.com/ulikunitz/xz fixes readUvarint Denial of Service (DoS)
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 3, 2024, 10:11 PM
Reserved
Mar 30, 2021, 12:00 AM
Status
Modified
Published
Apr 28, 2021, 7:15 PM
Modified
Jun 17, 2026, 3:47 AM
Severity
Moderate
Public date
Aug 19, 2020, 12:00 AM