CVE-2021-29482

HIGHCVSS 7.5/10EPSS 1.44%

Last modified

CVE-2021-29482 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 1.44% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
7.5/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS Probability
1.44%

69.8th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
Xz ProjectXz< 0.5.8

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2021-29482?
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.
How severe is CVE-2021-29482?
CVE-2021-29482 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 1.44% probability of exploitation in the next 30 days.
How do I fix CVE-2021-29482?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-29482?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST