CVE-2021-29482
Aliases:GHSA-25xm-hr59-7c27GO-2020-0016
Advisory lineage Upstream: 0 Downstream: 3
Modified
Published: 28 Apr 2021, 18:15
Last modified:03 Aug 2024, 22:11
Vulnerability Summary
Overall Risk (default)
medium
30/100 CVSS Score
7.5 HIGH
v3.1 (cve.org)
EPSS Score
0.43% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
28 Apr 2021, 18:15
Published
Vulnerability first disclosed
03 Aug 2024, 22:11
Last Modified
Vulnerability information updated
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.
CVSS Metrics
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- v2.0•MEDIUM•Score: 5AV:N/AC:L/Au:N/C:N/I:N/A:P
EPSS Trends
Current EPSS score: 0.43%• Percentile: 63%
Techniques & Countermeasures
- CWE-835•Loop with Unreachable Exit Condition ('Infinite Loop')
The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.
Affected Systems
- github.com/ulikunitz•xz
< 0.5.8
- ulikunitz•xz
< 0.5.8
- xz_project•xz
< 0.5.8