Tukaani XZ Utils xzgrep Argument Injection Remote Code Execution Vulnerability

April 12th, 2022

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