7.8high
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…
Published 9 y ago · modified 4 mo ago · JSON
CVSS
7.8
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
0.4%
percentile 36%
Public exploits
0
none known
Summary
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.
Exploit prediction (EPSS)
0.41% probability of exploitation in the next 30 days, higher than 36% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Weakness
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
- Technology feeds
- Linux kernel (RSS, critical only)
References
- source.android.com /security/bulletin/pixel/2017-10-01 · x_refsource_CONFIRM, x_transferred
- git.kernel.org /pub/scm/linux/kernel/git/mkp/scsi.git/commit/?h=4.11/scsi-fixes&id=bf33f87dd04c371ea33feb · x_refsource_MISC, x_transferred
- access.redhat.com /errata/RHSA-2017:2669 · vendor-advisory, x_refsource_REDHAT, x_transferred
- securitytracker.com /id/1038086 · vdb-entry, x_refsource_SECTRACK, x_transferred
- access.redhat.com /errata/RHSA-2017:2077 · vendor-advisory, x_refsource_REDHAT, x_transferred
- gist.github.com /dvyukov/48ad14e84de45b0be92b7f0eda20ff1b · x_refsource_MISC, x_transferred
- access.redhat.com /errata/RHSA-2017:1842 · vendor-advisory, x_refsource_REDHAT, x_transferred
- securityfocus.com /bid/96989 · vdb-entry, x_refsource_BID, x_transferred
Sources
- CVE List: CVE-2017-7187
- NVD: CVE-2017-7187
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.