Access Restriction Bypass Affecting torvalds/linux package, versions [,2.6.22)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
13.38% (94th 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-UNMANAGED-TORVALDSLINUX-3005628
  • published26 Jan 2022
  • disclosed29 Sept 2008
  • creditUnknown

Introduced: 29 Sep 2008

CVE-2008-4210  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 2.6.22 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass fs/open.c in the Linux kernel before 2.6.22 does not properly strip setuid and setgid bits when there is a write to a file, which allows local users to gain the privileges of a different group, and obtain sensitive information or possibly have unspecified other impact, by creating an executable file in a setgid directory through the (1) truncate or (2) ftruncate function in conjunction with memory-mapped I/O.

References

CVSS Base Scores

version 3.1