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


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.01% (1st 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-6155017
  • published12 Jan 2024
  • disclosed12 Jan 2024
  • creditLin Ma

Introduced: 12 Jan 2024

CVE-2023-6040  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 5.18-rc1 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read due to improper validation of user-supplied input within the nf_tables_newtable function. An attacker with local access can read sensitive information or cause a system crash by sending crafted input to create a netfilter table with an invalid family value.

Workaround

This vulnerability can be mitigated by disabling unprivileged user namespaces.

CVSS Base Scores

version 3.1