CVE-2017-1000253
Linux Kernel PIE Stack Buffer Corruption Vulnerability
Does this matter?
Known to be exploited in the wild (CISA KEV, CISA remediation deadline 30 September 2024). Treat as an emergency change: patch or isolate now, then hunt for prior compromise.
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.
- CVSS 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 10.70% probability · 96th percentile
- CISA KEV
- Listed 9 September 2024 · due 30 September 2024 · used in ransomware campaigns
- Weakness
- CWE-119
- Affected
- centos/centos · redhat/enterprise linux · linux/linux kernel
- Source
- cve@mitre.org
CISA notes
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. This vulnerability affects a common open-source component, third-party library, or a protocol used by different products. For more information, please see: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a87938b2e246b81b4fb713edb371a9fa3c5c3c86; https://nvd.nist.gov/vuln/detail/CVE-2017-1000253
References
- http://www.securityfocus.com/bid/101010Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1039434Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:2793Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2794Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2795Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2796Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2797Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2798Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2799Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2800Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2801Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2802Third Party Advisory
- https://www.qualys.com/2017/09/26/cve-2017-1000253/cve-2017-1000253.txtPatch, Third Party Advisory
- http://www.securityfocus.com/bid/101010Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1039434Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:2793Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2794Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2795Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2796Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2797Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2798Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2799Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2800Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2801Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2802Third Party Advisory
- https://www.qualys.com/2017/09/26/cve-2017-1000253/cve-2017-1000253.txtPatch, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-1000253US Government Resource
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.