CVE-2017-7187
At a glance
- Source
- NVD
- EPSS
- EPSS 0.41 % · percentile 36 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- mitre
- NVD status
- Modified
Description
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.
Weaknesses (CWE)
- CWE-119 — Improper Restriction of Operations within the Bounds of a Memory Buffer
References
- https://source.android.com/security/bulletin/pixel/2017-10-01
- https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git/commit/?h=4.11/scsi-fixes&id=bf33f87dd04c371ea33feb821b60d63d754e3124
- https://access.redhat.com/errata/RHSA-2017:2669
- http://www.securitytracker.com/id/1038086
- https://access.redhat.com/errata/RHSA-2017:2077
- https://gist.github.com/dvyukov/48ad14e84de45b0be92b7f0eda20ff1b
- https://access.redhat.com/errata/RHSA-2017:1842
- http://www.securityfocus.com/bid/96989
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | HIGH 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2017-16225
- GCVE · GCVE-0-2017-7187
CERT-FR advisories
- CERTFR-2017-AVI-330 — Multiples vulnérabilités dans Google Android · cert.ssi.gouv.fr
- CERTFR-2017-AVI-311 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2017-AVI-307 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2017-AVI-287 — Multiples vulnérabilités dans le noyau Linux de RedHat · cert.ssi.gouv.fr
- CERTFR-2017-AVI-282 — Multiples vulnérabilités dans le noyau Linux de Suse · cert.ssi.gouv.fr
- CERTFR-2017-AVI-233 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2017-AVI-162 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2017-AVI-158 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2017-AVI-156 — Multiples vulnérabilités dans le noyau Linux de Suse · cert.ssi.gouv.fr
- CERTFR-2017-AVI-141 — Multiples vulnérabilités dans le noyau Linux de Suse · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*< 3.18.50cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 3.19 < 4.1.40cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.2 < 4.4.60cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.5 < 4.9.21cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.10 < 4.10.9
Affected products
| Product | Versions |
|---|---|
| affected n/a |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |