Advisory Details

April 12th, 2022

Tukaani XZ Utils xzgrep Argument Injection Remote Code Execution Vulnerability

ZDI-22-619
ZDI-CAN-16587

CVE ID CVE-2022-1271
CVSS SCORE 7.0, AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
AFFECTED VENDORS Tukaani
AFFECTED PRODUCTS XZ Utils
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Tukaani XZ Utils. Interaction with this script is required to exploit this vulnerability but attack vectors may vary depending on the implementation.

The specific flaw exists within the handling of special characters. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system command. An attacker can leverage this vulnerability to execute code on the system.

ADDITIONAL DETAILS Tukaani has issued an update to correct this vulnerability. More details can be found at:
https://www.mail-archive.com/xz-devel@tukaani.org/msg00551.html
DISCLOSURE TIMELINE
  • 2022-03-23 - Vulnerability reported to vendor
  • 2022-04-12 - Coordinated public release of advisory
CREDIT cleemy desu wayo
BACK TO ADVISORIES