CVE-2017-7187
kernel: scsi: Stack-based buffer overflow in sg_ioctl function
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
La función sg_ioctl en drivers/scsi/sg.c en el kernel de Linux hasta la versión 4.10.4 permite a usuarios locales provocar una denegación de servicio (desbordamiento de búfer basado en pila) o posiblemente tener otro impacto no especificado a través de un gran tamaño de comando en una llamada SG_NEXT_CMD_LEN ioctl, conduciendo a acceso de escritura fuera de límites en la función sg_write.
The sg_ioctl function in drivers/scsi/sg.c in the Linux kernel allows local users to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impacts 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.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2017-03-20 CVE Reserved
- 2017-03-20 CVE Published
- 2023-03-08 EPSS Updated
- 2024-08-05 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
- CWE-121: Stack-based Buffer Overflow
CAPEC
References (10)
URL | Tag | Source |
---|---|---|
http://www.securityfocus.com/bid/96989 | Third Party Advisory | |
http://www.securitytracker.com/id/1038086 | Third Party Advisory | |
https://gist.github.com/dvyukov/48ad14e84de45b0be92b7f0eda20ff1b | Third Party Advisory | |
https://source.android.com/security/bulletin/pixel/2017-10-01 | Third Party Advisory |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git/commit/?h=4.11/scsi-fixes&id=bf33f87dd04c371ea33feb821b60d63d754e3124 | 2023-02-10 |
URL | Date | SRC |
---|---|---|
https://access.redhat.com/errata/RHSA-2017:1842 | 2023-02-10 | |
https://access.redhat.com/errata/RHSA-2017:2077 | 2023-02-10 | |
https://access.redhat.com/errata/RHSA-2017:2669 | 2023-02-10 | |
https://access.redhat.com/security/cve/CVE-2017-7187 | 2017-09-06 | |
https://bugzilla.redhat.com/show_bug.cgi?id=1434327 | 2017-09-06 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | < 3.18.50 Search vendor "Linux" for product "Linux Kernel" and version " < 3.18.50" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 3.19 < 4.1.40 Search vendor "Linux" for product "Linux Kernel" and version " >= 3.19 < 4.1.40" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 4.2 < 4.4.60 Search vendor "Linux" for product "Linux Kernel" and version " >= 4.2 < 4.4.60" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 4.5 < 4.9.21 Search vendor "Linux" for product "Linux Kernel" and version " >= 4.5 < 4.9.21" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 4.10 < 4.10.9 Search vendor "Linux" for product "Linux Kernel" and version " >= 4.10 < 4.10.9" | - |
Affected
|