CyberRota Analysis
AI-GeneratedGNU cpio is vulnerable due to improper handling of output in its archive member listing, which can lead to the execution of arbitrary commands or terminal control sequence injection through crafted member names. This vulnerability poses a risk primarily to users who utilize the cpio -it command to list archive contents, as it may allow attackers to manipulate terminal behavior or display forged entries. Organizations using GNU cpio should prioritize patching this issue to mitigate potential exploitation risks.
Original NVD Description
GNU cpio is vulnerable to improper encoding or escaping of output in its archive member listing functionality. When listing archive members via cpio -it, member names are printed directly to output without quoting or escaping. An attacker can craft a cpio archive containing member names with embedded newline characters or ANSI escape sequences, causing forged listing entries or terminal control sequence injection when the listing is displayed. This issue has been fixed in commit 2ff9600c9ef32e88759843cdbde74c8db5ae9b30