CVE-2017-5551 Affecting kernel-tools package, versions <0:4.4.51-40.58.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (6th 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-KERNELTOOLS-1704785
  • published27 Sept 2021
  • disclosed6 Feb 2017

Introduced: 6 Feb 2017

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

How to fix?

Upgrade Amazon-Linux:2018.03 kernel-tools to version 0:4.4.51-40.58.amzn1 or higher.
This issue was patched in ALAS-2017-805.

NVD Description

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

The simple_set_acl function in fs/posix_acl.c in the Linux kernel before 4.9.6 preserves the setgid bit during a setxattr call involving a tmpfs filesystem, which allows local users to gain group privileges by leveraging the existence of a setgid program with restrictions on execute permissions. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-7097.