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://www.debian.org/security/2023/dsa-5492

https://www.debian.org/security/2023/dsa-5480

https://security.netapp.com/advisory/ntap-20231027-0002/

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

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

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

https://lists.fedoraproject.org/archives/list/[email protected]/message/3TYLSJ2SAI7RF56ZLQ5CQWCJLVJSD73Q/

https://lists.fedoraproject.org/archives/list/[email protected]/message/344H6HO6SSC4KT7PDFXSDIXKMKHISSGF/

https://lists.debian.org/debian-lts-announce/2023/10/msg00027.html

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-05-08

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