Access Restriction Bypass Affecting torvalds/linux package, versions [,5.4.2)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.39% (60th 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 Learn

Learn about Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-TORVALDSLINUX-3006701
  • published26 Jan 2022
  • disclosed17 Dec 2019
  • creditUnknown

Introduced: 17 Dec 2019

CVE-2019-19241  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 5.4.2 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass. In the Linux kernel before 5.4.2, the io_uring feature leads to requests that inadvertently have UID 0 and full capabilities, aka CID-181e448d8709. This is related to fs/io-wq.c, fs/io_uring.c, and net/socket.c. For example, an attacker can bypass intended restrictions on adding an IPv4 address to the loopback interface. This occurs because IORING_OP_SENDMSG operations, although requested in the context of an unprivileged user, are sometimes performed by a kernel worker thread without considering that context.

References

CVSS Base Scores

version 3.1