CVEs / CVE-2017-1000253
CVE-2017-1000253: Linux Kernel PIE Stack Buffer Corruption Vulnerability
- Known exploited in the CISA KEV catalog since 9 Sep 2024
- high 7.8 CVSS 3.1 (NVD)
- EPSS 10.6% chance of exploitation in the next 30 days, higher than 95% of CVEs (30 Oct 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2017-1000253
Summary
Linux kernel contains a position-independent executable (PIE) stack buffer corruption vulnerability in load_elf_ binary() that allows a local attacker to escalate privileges.
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.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| n/a n/a | n/a | — |
| centos centos | 6.0 | — |
| centos centos | 6.1 | — |
| centos centos | 6.2 | — |
| centos centos | 6.3 | — |
| centos centos | 6.4 | — |
| centos centos | 6.5 | — |
| centos centos | 6.6 | — |
| centos centos | 6.7 | — |
| centos centos | 6.8 | — |
| centos centos | 6.9 | — |
| centos centos | 7.1406 | — |
| centos centos | 7.1503 | — |
| centos centos | 7.1511 | — |
| centos centos | 7.1611 | — |
| redhat enterprise_linux | 6.0 | — |
| redhat enterprise_linux | 6.1 | — |
| redhat enterprise_linux | 6.2 | — |
| redhat enterprise_linux | 6.3 | — |
| redhat enterprise_linux | 6.4 | — |
| redhat enterprise_linux | 6.5 | — |
| redhat enterprise_linux | 6.6 | — |
| redhat enterprise_linux | 6.7 | — |
| redhat enterprise_linux | 6.8 | — |
| redhat enterprise_linux | 6.9 | — |
| redhat enterprise_linux | 7.0 | — |
| redhat enterprise_linux | 7.1 | — |
| redhat enterprise_linux | 7.2 | — |
| redhat enterprise_linux | 7.3 | — |
| linux linux_kernel | from 2.6.25, before 3.2.70 | 3.2.70 |
Exploitation
| In CISA KEV since | 9 Sep 2024 |
|---|---|
| Due date for US federal agencies | 30 Sep 2024 |
| Used in ransomware campaigns | Known |
| Required action | Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. |
Severity
| CVSS 3.1 | 7.8 highCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HScored by NVD |
|---|---|
| Weakness | CWE-119 |
References
- CVE-2017-1000253 on NVD
- CVE-2017-1000253 in the CISA KEV catalog
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a87938b2e246b81b4fb713edb371a9fa3c5c3c86 (cited by CISA)
- CVE-2017-1000253 on OSV
- 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
- https://access.redhat.com/errata/RHSA-2017:2800 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2801 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2802 Third Party Advisory
- https://www.qualys.com/2017/09/26/cve-2017-1000253/cve-2017-1000253.txt Patch, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-1000253 US Government Resource
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.