Out-of-bounds Write Affecting torvalds/linux package, versions [,4.12)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.41% (61st 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-3004622
  • published26 Jan 2022
  • disclosed17 Jul 2017
  • creditUnknown

Introduced: 17 Jul 2017

CVE-2017-1000363  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 4.12 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. Linux drivers/char/lp.c Out-of-Bounds Write. Due to a missing bounds check, and the fact that parport_ptr integer is static, a 'secure boot' kernel command line adversary (can happen due to bootloader vulns, e.g. Google Nexus 6's CVE-2016-10277, where due to a vulnerability the adversary has partial control over the command line) can overflow the parport_nr array in the following code, by appending many (>LP_NO) 'lp=none' arguments to the command line.

CVSS Base Scores

version 3.1