CVE-2017-1000371 Affecting kernel-tools-debuginfo package, versions <0:4.9.27-14.33.amzn1


Severity

Recommended
critical

Based on Amazon Linux security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
0.06% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN201803-KERNELTOOLSDEBUGINFO-1706340
  • published27 Sept 2021
  • disclosed19 Jun 2017

Introduced: 19 Jun 2017

CVE-2017-1000371  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 kernel-tools-debuginfo to version 0:4.9.27-14.33.amzn1 or higher.
This issue was patched in ALAS-2017-845.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-tools-debuginfo package and not the kernel-tools-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

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.

CVSS Scores

version 3.1