CVE-2017-1000371 Security feature bypass in n/a

High 7.8 Published Updated

Attackers can bypass stack guard pages on i386 Linux systems with specific memory limits to achieve privilege escalation or code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2017-1000371?

CVE-2017-1000371 is a high-severity vulnerability in Linux kernel, published on 19 Jun 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The offset2lib patch as used by the Linux Kernel contains a vulnerability, if RLIMIT_STACK is set to RLIM_INFINITY and 1 Gigabyte of memory is allocated (the maximum under the 1/4 restriction) then the stack will be grown down to 0x80000000, and as the PIE binary is mapped above 0x80000000 the minimum distance between the end of the PIE binary's read-write segment and the start of the stack becomes small enough that the stack guard page can be jumped over by an attacker. This affects Linux Kernel version 4.11.5. This is a different issue than CVE-2017-1000370 and CVE-2017-1000365. This issue appears to be limited to i386 based systems.

Which versions are affected by CVE-2017-1000371?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2017-1000371?

Apply the vendor's patch.

Is CVE-2017-1000371 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-1000371 exists.

Public exploit code: 2 Exploit-DB entries and 1 proofs of concept on GitHub.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-1000371, GHSA-wr3q-fcxj-4873, UBUNTU-CVE-2017-1000371.

Is CVE-2017-1000371 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free