PT-2021-18244 · Xz · Xz
0Xdecaf
·
Published
2021-04-14
·
Updated
2021-05-25
·
CVE-2021-29482
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions:
xz versions prior to 0.5.8
Description:
The issue arises from the function
readUvarint used to read the xz container format, which may not terminate a loop when provided with malicious input, potentially leading to a denial of service. This could be exploited if an attacker constructs a series of bytes that cause an infinite loop when Reader.Read is called on them, especially when parsing user-supplied input.Recommendations:
For versions prior to 0.5.8, update to version 0.5.8 to resolve the issue.
As a temporary workaround, consider limiting the size of the compressed file input to a reasonable size for your use case to minimize the risk of exploitation.
Fix
Infinite Loop
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Xz