Nixpkgs security tracker

Login with GitHub

Suggestions search

With package: sg3_utils

Found 1 matching suggestions

View:
Compact
Detailed
Published
Permalink CVE-2026-16313
7.6 HIGH
  • CVSS version (CVSS): 3.1
  • Attack Vector (AV): Physical (P)
  • Attack Complexity (AC): Low (L)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): None (N)
  • Scope (S): Changed (C)
  • Confidentiality (C): High (H)
  • Integrity (I): High (H)
  • Availability (A): High (H)
  • Modified Attack Vector (MAV): Physical (P)
  • Modified Attack Complexity (MAC): Low (L)
  • Modified Privileges Required (MPR): None (N)
  • Modified User Interaction (MUI): None (N)
  • Modified Confidentiality (MC): High (H)
  • Modified Scope (MS): Changed (C)
  • Modified Integrity (MI): High (H)
  • Modified Availability (MA): High (H)
updated 5 hours ago by @LeSuisse Activity log
  • Created suggestion
  • @LeSuisse accepted
  • @LeSuisse published on GitHub
Sg3_utils: sg3_utils: arbitrary command execution via udev property injection in sg_inq --export

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

Affected products

rhcos
sg3_utils

Matching in nixpkgs

pkgs.sg3_utils

Utilities that send SCSI commands to devices

  • nixos-unstable 1.48
    • nixpkgs-unstable 1.48
    • nixos-unstable-small 1.48
  • nixos-26.05 1.48
    • nixos-26.05-small 1.48
    • nixpkgs-26.05-darwin 1.48