CVE-2017-1000371: Linux Kernel - Buffer Overflow
- Cve: CVE-2017-1000371
- Name: Linux Kernel - Buffer Overflow
- Description: The offset2lib patch as used by the Linux Kernel contains a vulnerability, if RLIMIT_STACK is set to RLIM_INFINITY and 1 Gigabyte of memory is allocated (the maximum under the 1/4 restriction) then the stack will be grown down to 0x80000000, and as the PIE binary is mapped above 0x80000000 the minimum distance between the end of the PIE binary's read-write segment and the start of the stack becomes small enough that the stack guard page can be jumped over by an attacker. This affects Linux Kernel version 4.11.5. This is a different issue than CVE-2017-1000370 and CVE-2017-1000365. This issue appears to be limited to i386 based systems.
- Impact: Attackers can bypass stack guard page protections, potentially leading to privilege escalation or arbitrary code execution.
- Remediation: Update to a patched version of Linux Kernel that addresses this issue or apply relevant security patches.
- Vulnerability type: buffer_overflow
- Vulnerability impact: privilege_escalation, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.02583
- Epss percentile: 0.85631
- Assignee: [email protected]
- Published at: 2017-06-19T16:29:00Z
- Age in days: 3445
- Modified at: 2026-06-17T00:59:02Z
- Patch available: yes
- Public exploits total: 1
- References total: 6
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-1000371
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-noinfo | — |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/Trinadh465/linux-4.1.15_CVE-2017-1000371 | poc-in-github | 2023-02-02 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://www.debian.org/security/2017/dsa-3981 | Third Party Advisory |
| http://www.securityfocus.com/bid/99131 | Third Party Advisory, VDB Entry |
| https://access.redhat.com/security/cve/CVE-2017-1000371 | Third Party Advisory, VDB Entry |
| https://www.exploit-db.com/exploits/42273/ | Third Party Advisory, VDB Entry |
| https://www.exploit-db.com/exploits/42276/ | Third Party Advisory, VDB Entry |
| https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| linux:linux_kernel | >= 4.12, < 4.12.3; >= 4.10, < 4.11.12; >= 4.5, < 4.9.39; >= 4.2, < 4.4.78; >= 4.1, < 4.1.43 | no | nvd | /v1/products/linux/linux_kernel |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2023-02-02
- Authentication required: yes
- Exposed hosts: 10038339
- Checked, none or zero: known exploited, known exploited by, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports