cbcvebase.
CVE-2017-7187
published 2017-03-20

CVE-2017-7187: The sg_ioctl function in drivers/scsi/sg.c in the Linux kernel through 4.10.4 allows local users to cause a denial of service (stack-based buffer overflow) or…

PriorityP434high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.41%
34.1th percentile
The sg_ioctl function in drivers/scsi/sg.c in the Linux kernel through 4.10.4 allows local users to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact via a large command size in an SG_NEXT_CMD_LEN ioctl call, leading to out-of-bounds write access in the sg_write function.

Affected

12 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 4.9.18-1 (bookworm)linux 4.9.18-1 (bookworm)
linuxlinux_kernel< 3.18.503.18.50
linuxlinux_kernel>= 0 < 4.9.18-14.9.18-1
linuxlinux_kernel>= 0 < 4.9.18-14.9.18-1
linuxlinux_kernel>= 0 < 4.9.18-14.9.18-1
linuxlinux_kernel>= 0 < 4.9.18-14.9.18-1
linuxlinux_kernel>= 0 < 3.13.0-132.1813.13.0-132.181
linuxlinux_kernel>= 0 < 4.4.0-78.994.4.0-78.99
linuxlinux_kernel>= 3.19 < 4.1.404.1.40
linuxlinux_kernel>= 4.10 < 4.10.94.10.9
linuxlinux_kernel>= 4.2 < 4.4.604.4.60
linuxlinux_kernel>= 4.5 < 4.9.214.9.21

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.2HIGHAV:L/AC:L/Au:N/C:C/I:C/A:C
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu7.8HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.