Out-of-Bounds Affecting torvalds/linux package, versions [,4.17.2)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.11% (31st 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-3005236
  • published26 Jan 2022
  • disclosed12 Jun 2018
  • creditUnknown

Introduced: 12 Jun 2018

CVE-2018-12233  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 4.17.2 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. In the ea_get function in fs/jfs/xattr.c in the Linux kernel through 4.17.1, a memory corruption bug in JFS can be triggered by calling setxattr twice with two different extended attribute names on the same file. This vulnerability can be triggered by an unprivileged user with the ability to create files and execute programs. A kmalloc call is incorrect, leading to slab-out-of-bounds in jfs_xattr.

CVSS Base Scores

version 3.1