Out-of-bounds Read Affecting torvalds/linux package, versions [,5.6.19)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
1.2% (78th 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-3006065
  • published26 Jan 2022
  • disclosed18 May 2020
  • creditUnknown

Introduced: 18 May 2020

CVE-2020-13143  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 5.6.19 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read gadget_dev_desc_UDC_store in drivers/usb/gadget/configfs.c in the Linux kernel 3.16 through 5.6.13 relies on kstrdup without considering the possibility of an internal '\0' value, which allows attackers to trigger an out-of-bounds read, aka CID-15753588bcd4.

References

CVSS Base Scores

version 3.1