CyberRota Analysis
AI-GeneratedA vulnerability exists in sg3_utils where the sg_inq command, when used with the --export option, fails to sanitize control characters in SCSI name strings. This oversight allows an attacker to inject arbitrary properties into the udev device database via a specially crafted SCSI device, potentially enabling command execution with root privileges upon device disconnection. Organizations utilizing sg3_utils should prioritize patching this vulnerability to mitigate the risk of unauthorized command execution.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
A flaw was found in sg3_utils. The sg_inq command, when invoked with the --export option, outputs device identification data without sanitizing control characters in SCSI name string fields. A newline character embedded in a device-supplied name string can inject arbitrary properties into the udev device database. This could allow an attacker who can present a crafted SCSI device to execute arbitrary commands as root when the device is disconnected.