CVE-2023-4194

medium

Description

A flaw was found in the Linux kernel's TUN/TAP functionality. This issue could allow a local user to bypass network filters and gain unauthorized access to some resources. The original patches fixing CVE-2023-1076 are incorrect or incomplete. The problem is that the following upstream commits - a096ccca6e50 ("tun: tun_chr_open(): correctly initialize socket uid"), - 66b2c338adce ("tap: tap_open(): correctly initialize socket uid"), pass "inode->i_uid" to sock_init_data_uid() as the last parameter and that turns out to not be accurate.

References

https://lore.kernel.org/all/[email protected]/

https://lore.kernel.org/all/[email protected]/

https://lore.kernel.org/all/[email protected]/

https://bugzilla.redhat.com/show_bug.cgi?id=2229498

https://access.redhat.com/security/cve/CVE-2023-4194

https://access.redhat.com/errata/RHSA-2023:6583

Details

Source: Mitre, NVD

Published: 2023-08-07

Updated: 2024-09-06

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:C/A:N

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Severity: Medium