GHSA-wqmp-fw94-rpg4HighCVSS 7.6
A flaw was found in sg3_utils. The sg_inq command, when invoked with the --export option, outputs...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (9)
- https://nvd.nist.gov/vuln/detail/CVE-2026-16313
- https://github.com/doug-gilbert/sg3_utils/pull/83
- https://access.redhat.com/security/cve/CVE-2026-16313
- https://bugzilla.redhat.com/show_bug.cgi?id=2502845
- https://access.redhat.com/errata/RHSA-2026:50141
- https://access.redhat.com/errata/RHSA-2026:50142
- https://access.redhat.com/errata/RHSA-2026:54769
- https://access.redhat.com/errata/RHSA-2026:56130
- https://github.com/advisories/GHSA-wqmp-fw94-rpg4