Skip to content
RedCVE

CVE-2017-1000253Linux Kernel PIE Stack Buffer Corruption Vulnerability

ExploitedRansomwarecentosRed HatLinuxPublished:

CVSS score

7.8

High

CVSS 3.1 from NVD

Exploit probability (EPSS)

10.7%

10.7% chance of exploitation in the next 30 days, higher than 95.9% of all CVEs.

CISA KEV

Actively exploited

Added to KEV on 9 Sept 2024.

US federal deadline to fix: 30 Sept 2024.

Ransomware

Official 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.

Source: NVD · CNA: cve@mitre.org

How to fix it, step by step

  1. Treat it as urgent

    Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 9 Sept 2024.

    US federal agencies must fix it by 30 Sept 2024. It's a sensible deadline for everyone else too.

    CISA reports it has been used in ransomware attacks.

    CISA's full instruction
    Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
  2. Check whether you're affected

    Find every system running Centos, Red Hat Enterprise Linux, Linux Kernel and compare its version with the affected versions.

  3. Update to a fixed version

    • Update Linux Kernel to 3.2.70, 3.4.109, 3.10.77, 3.12.43 or later, on the branch you run.
  4. If you can't update right away

    Apply the workaround or mitigation in the vendor's advisory until you can update:

  5. Check for signs of compromise

    Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.

  6. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

Affected productsVersions
centos Centos6.0 · 6.1 · 6.2 · 6.3 · 6.4 · 6.5
Red Hat Enterprise Linux6.0 · 6.1 · 6.2 · 6.3 · 6.4 · 6.5
Linux Linux Kernel≥ 2.6.25, < 3.2.70 · ≥ 3.3, < 3.4.109 · ≥ 3.5, < 3.10.77 · ≥ 3.11, < 3.12.43 · ≥ 3.13, < 3.14.41 · ≥ 3.15, < 3.16.35

Weakness

Timeline

  1. Published:
  2. Added to CISA KEV:
  3. Last modified:

Frequently asked questions

Is CVE-2017-1000253 being exploited?

Yes. CISA added CVE-2017-1000253 to its Known Exploited Vulnerabilities catalog on 9 Sept 2024, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 10.7% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2017-1000253?

CVE-2017-1000253 has a CVSS 3.1 base score of 7.8 (high).

Which versions are affected?

Centos Centos (6.0; 6.1; 6.2; 6.3; 6.4; 6.5), Red Hat Enterprise Linux (6.0; 6.1; 6.2; 6.3; 6.4; 6.5), Linux Linux Kernel (≥ 2.6.25, < 3.2.70; ≥ 3.3, < 3.4.109; ≥ 3.5, < 3.10.77; ≥ 3.11, < 3.12.43; ≥ 3.13, < 3.14.41; ≥ 3.15, < 3.16.35)

Is there a patch for CVE-2017-1000253?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.