Stack-based Buffer Overflow Affecting torvalds/linux package, versions [5.5-rc1,6.2-rc5)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.06% (29th 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-3244374
  • published22 Jan 2023
  • disclosed22 Jan 2023
  • creditDavide Ornaghi

Introduced: 22 Jan 2023

CVE-2023-0179  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 6.2-rc5 or higher.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow in the nft_payload_copy_vlan() function, which incorrectly adds the length of the input VLAN header, allowing leakage and manipulation of stack addresses that could lead to root privilege escalation.

Workaround

This vulnerability can be avoided by setting sysctl -w kernel.unprivileged_userns_clone = 0 to disable unprivileged namespaces.

CVSS Scores

version 3.1