CVEvulnerability

CVE-2023-1076

5.5 MEDIUM Published 2023-03-27 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2023-03-27
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-791, CWE-843

Description

A flaw was found in the Linux Kernel. The tun/tap sockets have their socket UID hardcoded to 0 due to a type confusion in their initialization function. While it will be often correct, as tuntap devices require CAP_NET_ADMIN, it may not always be the case, e.g., a non-root user only having that capability. This would make tun/tap sockets being incorrectly treated in filtering/routing decisions, possibly bypassing network filters.

Affected configurations

• linux linux kernel

Related

Weakness · CWE (2)

  • CWE-791 Incomplete Filtering of Special Elements weakness
  • CWE-843 Access of Resource Using Incompatible Type weakness

References