PoC Monitor
← All CVEs
CVE-2017-1000253published 4 Oct 2017 01:00 UTCData: JSON · API

Linux Kernel

Linux Kernel PIE Stack Buffer Corruption Vulnerability

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.

First public PoC 8 days beforebefore publication · 26 Sep 2017 · Exploit-DB
Public PoCs10 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS7.8high · scored by CISA ADP · CWE-119
CISA KEV 9 Sep 20246.9 years after publication · ransomware use known

Timeline

Days relative to CVE publication
t=0+1 y+2 y+3 y+4 y+5 y+6 yFirst public PoC26 Sep 2017 · t−8dCVE published4 Oct 2017 · t = 0Added to CISA KEV9 Sep 2024 · t+6.9y

First public PoC 8 days before publication; added to CISA KEV 6.9 years after publication. First PoC: Linux Kernel 3.10.0-514.21.2.el7.x86_64 / 3.10.0-514.26.1.el7.x86_64 (CentOS 7) - SUID Position Independent Executable 'PIE' Local Privilege Escalation (Exploit-DB, 26 Sep 2017).

PoC repositories

Found on GitHub.

2 suspicious or fake

Suspicious or fake 2
RepositoryCreatedStarsAssessment
RicterZ/PIE-Stack-Clash-CVE-2017-1000253 18 Jun 2018 +258 d 7 Fake
sxlmnwb/CVE-2017-1000253 16 Oct 2022 +5.0 y 3 Fake

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.