A flaw was found in rpmuncompress. This command injection vulnerability allows a local attacker to execute arbitrary commands. This occurs when rpmuncompress processes a specially crafted archive filename containing shell metacharacters, which are not properly escaped before being passed to shell command strings. Successful exploitation requires user interaction, where a user or automated workflow invokes rpmuncompress on the malicious file, leading to high impact on the confidentiality, integrity, and availability of data accessible to the invoking user.
To mitigate this issue, avoid processing untrusted archive filenames with rpmuncompress or any workflows that invoke %{__rpmuncompress}. Before any build or extraction steps, rename source and patch archives to remove any shell metacharacters from their filenames.