Stack-based Buffer Overflow Affecting kernel-doc package, versions <0:3.10.0-693.el7
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RHEL7-KERNELDOC-4697042
- published 26 Jul 2021
- disclosed 16 Mar 2017
Introduced: 16 Mar 2017
CVE-2017-7187 Open this link in a new tabHow to fix?
Upgrade RHEL:7
kernel-doc
to version 0:3.10.0-693.el7 or higher.
This issue was patched in RHSA-2017:1842
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream kernel-doc
package and not the kernel-doc
package as distributed by RHEL
.
See How to fix?
for RHEL:7
relevant fixed versions and status.
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.
References
- http://www.securityfocus.com/bid/96989
- https://source.android.com/security/bulletin/pixel/2017-10-01
- https://access.redhat.com/security/cve/CVE-2017-7187
- https://gist.github.com/dvyukov/48ad14e84de45b0be92b7f0eda20ff1b
- 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:1842
- http://www.securitytracker.com/id/1038086