Buffer overflow in Linux Kernel
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 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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.004 (33.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 33rd percentile — 33.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
Weakness classification (CWE)
References
- source.android.com/security/bulletin/pixel/2017-10-01 (Third Party Advisory)
- git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git/commit/ (Patch, Issue Tracking, Vendor Advisory)
- access.redhat.com/errata/RHSA-2017:2669 (vendor-advisory, Third Party Advisory)
- www.securitytracker.com/id/1038086 (VDB Entry, Third Party Advisory, vdb-entry)
- access.redhat.com/errata/RHSA-2017:2077 (vendor-advisory, Third Party Advisory)
- gist.github.com/dvyukov/48ad14e84de45b0be92b7f0eda20ff1b (Third Party Advisory)
- access.redhat.com/errata/RHSA-2017:1842 (vendor-advisory, Third Party Advisory)
- www.securityfocus.com/bid/96989 (VDB Entry, Third Party Advisory, vdb-entry)
Frequently asked questions
- What is CVE-2017-7187?
- CVE-2017-7187 is a high-severity vulnerability in Linux Kernel, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 7.8/10. Published 2017-03-20.
- How severe is CVE-2017-7187?
- High severity. CVSS v3 base score is 7.8 out of 10.