CVE-2017-7187

Source
https://cve.org/CVERecord?id=CVE-2017-7187
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-7187.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2017-7187
Downstream
Related
Published
2017-03-20T14:59:00.153Z
Modified
2026-03-12T22:40:21.801633Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

The sgioctl 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 SGNEXTCMDLEN ioctl call, leading to out-of-bounds write access in the sg_write function.

References

Affected packages

Git /

Affected ranges

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-7187.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "fixed": "3.18.50"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "3.19"
            },
            {
                "fixed": "4.1.40"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "4.2"
            },
            {
                "fixed": "4.4.60"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "4.5"
            },
            {
                "fixed": "4.9.21"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "4.10"
            },
            {
                "fixed": "4.10.9"
            }
        ]
    }
]