CVE-2017-1000253: Linux Kernel - Memory Corruption
- Cve: CVE-2017-1000253
- Name: Linux Kernel - Memory Corruption
- Description: Linux distributions that have not patched their long-term kernels with https://git.kernel.org/linus/a87938b2e246b81b4fb713edb371a9fa3c5c3c86 (committed on April 14, 2015). This kernel vulnerability was fixed in April 2015 by commit a87938b2e246b81b4fb713edb371a9fa3c5c3c86 (backported to Linux 3.10.77 in May 2015), but it was not recognized as a security threat. With CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE enabled, and a normal top-down address allocation strategy, load_elf_binary() will attempt to map a PIE binary into an address range immediately below mm->mmap_base. Unfortunately, load_elf_ binary() does not take account of the need to allocate sufficient space for the entire binary which means that, while the first PT_LOAD segment is mapped below mm->mmap_base, the subsequent PT_LOAD segment(s) end up being mapped above mm->mmap_base into the are that is supposed to be the "gap" between the stack and the binary.
- Impact: Local attackers can potentially cause memory corruption or privilege escalation through improper ELF binary mapping.
- Remediation: Update to kernel version 3.10.77 or later, where the issue is fixed, or apply the specific commit a87938b2e246b81b4fb713edb371a9fa3c5c3c86.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: privilege_escalation
- 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.10695
- Epss percentile: 0.9593
- Assignee: [email protected]
- Published at: 2017-10-05T01:29:04Z
- Age in days: 3337
- Modified at: 2026-06-17T00:58:59Z
- Patch available: yes
- Public exploits total: 4
- References total: 17
- Products total: 3
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-1000253
- Nvd status: analyzed
- Checked, none or zero: nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| cisa | 2024-09-09 | 2024-09-30 | yes |
| vulncheck | 2021-06-17 | — | no |
Hackerone
- Reports: 2
- Rank: 3806
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/sxlmnwb/CVE-2017-1000253 | poc-in-github | 2022-10-16 |
| https://github.com/sxlmnwb/CVE-2017-1000253.git | vulncheck-xdb | 2022-10-16 |
| https://github.com/RicterZ/PIE-Stack-Clash-CVE-2017-1000253 | poc-in-github | 2018-06-18 |
| https://github.com/RicterZ/PIE-Stack-Clash-CVE-2017-1000253.git | vulncheck-xdb | 2018-06-18 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://www.qualys.com/2017/09/26/cve-2017-1000253/cve-2017-1000253.txt | Patch, Third Party Advisory |
| http://www.securityfocus.com/bid/101010 | Third Party Advisory, VDB Entry |
| http://www.securitytracker.com/id/1039434 | Third Party Advisory, VDB Entry |
| https://access.redhat.com/errata/RHSA-2017:2793 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2017:2794 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2017:2795 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2017:2796 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2017:2797 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2017:2798 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2017:2799 | Third Party Advisory |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| linux:linux_kernel | >= 4.0, < 4.0.2; >= 3.19, < 3.19.7; >= 3.17, < 3.18.14; >= 3.15, < 3.16.35; >= 3.13, < 3.14.41; >= 3.11, < 3.12.43; >= 3.5, < 3.10.77; >= 3.3, < 3.4.109; >= 2.6.25, < 3.2.70 | /v1/products/linux/linux_kernel |
| redhat:enterprise_linux | = 7.3, = 7.2, = 7.1, = 7.0, = 6.9, = 6.8, = 6.7, = 6.6, = 6.5, = 6.4, = 6.3, = 6.2, = 6.1, = 6.0 | /v1/products/redhat/enterprise_linux |
| centos:centos | = 7.1611, = 7.1511, = 7.1503, = 7.1406, = 6.9, = 6.8, = 6.7, = 6.6, = 6.5, = 6.4, = 6.3, = 6.2, = 6.1, = 6.0 | /v1/products/centos/centos |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited: yes
- Known exploited since: 2024-09-09
- Known exploited by: cisa, vulncheck
- Vulncheck known exploited since: 2021-06-17
- Public exploit: yes
- Public exploit count: 4
- Public exploit first date: 2018-06-18
- Authentication required: yes
- Hackerone reports: 2
- Exposed hosts: 10038339
- Checked, none or zero: exploitation seen, initial access, remote
- Not known: nuclei template, initial access since