{"answers":{"affected":"It affects 3 products.","exploited":"Yes. Attackers have exploited CVE-2017-1000253 in the wild since at least 9 Sep 2024, including in ransomware campaigns.","fix":"Apply the vendor's patch. US federal agencies must fix it by 30 Sep 2024.","what":"CVE-2017-1000253 is a high-severity memory corruption vulnerability in Linux kernel, published on 4 Oct 2017. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-1000253 and fix it if it is affected.\n\nWhat it is: CVE-2017-1000253 is a high-severity memory corruption vulnerability in Linux kernel, published on 4 Oct 2017. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2017-1000253 in the wild since at least 9 Sep 2024, including in ransomware campaigns.\n\nAffected product: Linux kernel. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2017-1000253/ (Markdown: https://insights.sbomify.com/CVE-2017-1000253/index.md)","id":"CVE-2017-1000253","markdown":"https://insights.sbomify.com/CVE-2017-1000253/index.md","name":"CVE-2017-1000253","record":{"aliases":["DEBIAN-CVE-2017-1000253","GHSA-rm92-8pw8-34fm","RHSA-2017:2793","RHSA-2017:2794","RHSA-2017:2795","RHSA-2017:2796","RHSA-2017:2797","RHSA-2017:2798","RHSA-2017:2799","RHSA-2017:2800","RHSA-2017:2801","RHSA-2017:2802","SUSE-SU-2017:2723-1","SUSE-SU-2017:2725-1","UBUNTU-CVE-2017-1000253"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Linux kernel","requires_auth":"low_privilege","summary":"A flaw in Linux kernel ELF loading allows attackers to corrupt memory and potentially escalate privileges or execute code when PIE randomization is enabled.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"centos","vendor":"centos"},{"product":"linux_kernel","vendor":"linux"},{"product":"enterprise_linux","vendor":"redhat"}],"cvss":{"score":7.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"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-\u003emmap_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-\u003emmap_base, the subsequent PT_LOAD segment(s) end up being mapped above mm-\u003emmap_base into the are that is supposed to be the \"gap\" between the stack and the binary.","ecosystems":["Red Hat:enterprise_linux:6::client","Red Hat:enterprise_linux:6::computenode","Red Hat:enterprise_linux:6::server","Red Hat:enterprise_linux:6::workstation","Red Hat:rhel_aus:5.9","Red Hat:rhel_aus:6.4::server","Red Hat:rhel_aus:6.5::server","Red Hat:rhel_aus:6.6::server","Red Hat:rhel_els:5","Red Hat:rhel_eus:6.7::computenode","Red Hat:rhel_eus:6.7::server","Red Hat:rhel_eus:7.2::computenode","Red Hat:rhel_eus:7.2::server","Red Hat:rhel_eus:7.3::computenode","Red Hat:rhel_eus:7.3::server","Red Hat:rhel_mission_critical:6.2::server","Red Hat:rhel_tus:6.5::server","Red Hat:rhel_tus:6.6::server","SUSE:Linux Enterprise Point of Sale 11 SP3","SUSE:Linux Enterprise Server 11 SP3-LTSS","SUSE:Linux Enterprise Server 11 SP4","SUSE:Linux Enterprise Server for SAP Applications 11 SP4","SUSE:Linux Enterprise Software Development Kit 11 SP4"],"exploits":{"exploitdb":1,"first_seen":"2017-09-26","github_poc":2,"max_poc_stars":6,"metasploit":0,"nuclei":0,"refs":[{"date":"2018-06-18T15:22:01Z","kind":"github_poc","ref":"https://github.com/RicterZ/PIE-Stack-Clash-CVE-2017-1000253","stars":6,"title":"Demo-ing CVE-2017-1000253 in a container"},{"date":"2022-10-16T23:08:16Z","kind":"github_poc","ref":"https://github.com/sxlmnwb/CVE-2017-1000253","stars":2,"title":"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"},{"date":"2017-09-26","kind":"exploitdb","ref":"42887","stars":null,"title":"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"}],"tier":"exploited"},"has_fix":true,"headline":"Linux Kernel PIE Stack Buffer Corruption Vulnerability","id":"CVE-2017-1000253","indexable":true,"kev":{"dateAdded":"2024-09-09","dueDate":"2024-09-30","knownRansomwareCampaignUse":"Known","product":"Kernel","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","vendorProject":"Linux","vulnerabilityName":"Linux Kernel PIE Stack Buffer Corruption Vulnerability "},"kind":"cve","links":{"ecosystem":null,"product":"linux:linux_kernel","products":["linux:linux_kernel","redhat:enterprise_linux"],"type":"memory_corruption","year":"2017"},"n_packages":349,"n_references":13,"next":{"headline":"Memory corruption in n/a","id":"CVE-2017-1000254"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel","purl":"pkg:rpm/redhat/kernel","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-abi-whitelists","purl":"pkg:rpm/redhat/kernel-abi-whitelists","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug","purl":"pkg:rpm/redhat/kernel-debug","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-debuginfo","purl":"pkg:rpm/redhat/kernel-debug-debuginfo","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-devel","purl":"pkg:rpm/redhat/kernel-debug-devel","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo","purl":"pkg:rpm/redhat/kernel-debuginfo","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-i686","purl":"pkg:rpm/redhat/kernel-debuginfo-common-i686","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-x86_64","purl":"pkg:rpm/redhat/kernel-debuginfo-common-x86_64","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-devel","purl":"pkg:rpm/redhat/kernel-devel","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-doc","purl":"pkg:rpm/redhat/kernel-doc","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-firmware","purl":"pkg:rpm/redhat/kernel-firmware","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-headers","purl":"pkg:rpm/redhat/kernel-headers","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"perf","purl":"pkg:rpm/redhat/perf","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"perf-debuginfo","purl":"pkg:rpm/redhat/perf-debuginfo","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"python-perf","purl":"pkg:rpm/redhat/python-perf","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"python-perf-debuginfo","purl":"pkg:rpm/redhat/python-perf-debuginfo","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel","purl":"pkg:rpm/redhat/kernel","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-abi-whitelists","purl":"pkg:rpm/redhat/kernel-abi-whitelists","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug","purl":"pkg:rpm/redhat/kernel-debug","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-debuginfo","purl":"pkg:rpm/redhat/kernel-debug-debuginfo","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-devel","purl":"pkg:rpm/redhat/kernel-debug-devel","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo","purl":"pkg:rpm/redhat/kernel-debuginfo","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-i686","purl":"pkg:rpm/redhat/kernel-debuginfo-common-i686","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-x86_64","purl":"pkg:rpm/redhat/kernel-debuginfo-common-x86_64","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-devel","purl":"pkg:rpm/redhat/kernel-devel","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-doc","purl":"pkg:rpm/redhat/kernel-doc","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-firmware","purl":"pkg:rpm/redhat/kernel-firmware","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-headers","purl":"pkg:rpm/redhat/kernel-headers","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"perf","purl":"pkg:rpm/redhat/perf","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"perf-debuginfo","purl":"pkg:rpm/redhat/perf-debuginfo","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"python-perf","purl":"pkg:rpm/redhat/python-perf","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"python-perf-debuginfo","purl":"pkg:rpm/redhat/python-perf-debuginfo","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel","purl":"pkg:rpm/redhat/kernel","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-abi-whitelists","purl":"pkg:rpm/redhat/kernel-abi-whitelists","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-bootwrapper","purl":"pkg:rpm/redhat/kernel-bootwrapper","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug","purl":"pkg:rpm/redhat/kernel-debug","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-debuginfo","purl":"pkg:rpm/redhat/kernel-debug-debuginfo","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-devel","purl":"pkg:rpm/redhat/kernel-debug-devel","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo","purl":"pkg:rpm/redhat/kernel-debuginfo","source":"RHSA-2017:2795"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.6.32-696.10.3.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-i686","purl":"pkg:rpm/redhat/kernel-debuginfo-common-i686","source":"RHSA-2017:2795"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2017-1000252"},"products":["n/a"],"published":"2017-10-04","related":[{"cvss_score":6.8,"headline":"Privilege escalation in n/a","id":"CVE-2011-4144","kev_date_added":null,"published":"2012-02-02"},{"cvss_score":4.9,"headline":"Information disclosure in n/a","id":"CVE-2007-6283","kev_date_added":null,"published":"2007-12-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"A flaw in Linux kernel ELF loading allows attackers to corrupt memory and potentially escalate privileges or execute code when PIE randomization is enabled.","url":"https://insights.sbomify.com/CVE-2017-1000253/"}