Improper Validation of Array Index Affecting torvalds/linux package, versions [,4.11.3)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
30.69% (97th 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-3004591
  • published26 Jan 2022
  • disclosed2 Jul 2017
  • creditUnknown

Introduced: 2 Jul 2017

CVE-2017-8797  (opens in a new tab)
CWE-129  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 4.11.3 or higher.

Overview

Affected versions of this package are vulnerable to Improper Validation of Array Index. The NFSv4 server in the Linux kernel before 4.11.3 does not properly validate the layout type when processing the NFSv4 pNFS GETDEVICEINFO or LAYOUTGET operand in a UDP packet from a remote attacker. This type value is uninitialized upon encountering certain error conditions. This value is used as an array index for dereferencing, which leads to an OOPS and eventually a DoS of knfsd and a soft-lockup of the whole system.

CVSS Base Scores

version 3.1