CRLF Injection Affecting sg3_utils-devel package, versions <0:1.37-12.amzn2.0.2


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.35% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-SG3UTILSDEVEL-18904379
  • published18 Aug 2026
  • disclosed28 Jul 2026

Introduced: 28 Jul 2026

CVE-2026-16313  (opens in a new tab)
CWE-93  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 sg3_utils-devel to version 0:1.37-12.amzn2.0.2 or higher.
This issue was patched in ALAS2-2026-3860.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sg3_utils-devel package and not the sg3_utils-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1