#VU79713 Use-after-free in Linux kernel - CVE-2023-4147
Published: August 20, 2023 / Updated: January 3, 2025
Vulnerability identifier: #VU79713
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2023-4147
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability:
Public exploit is available
Vulnerable software:
Linux kernel
Linux kernel
Software vendor:
Linux Foundation
Linux Foundation
Description
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a use-after-free error in Netfilter functionality when adding a rule with NFTA_RULE_CHAIN_ID. A local user can trigger a use-after-free error and execute arbitrary code with elevated privileges.
Remediation
Install updates from vendor's website.
External links
- https://access.redhat.com/security/cve/CVE-2023-4147
- https://www.spinics.net/lists/stable/msg671573.html
- https://bugzilla.redhat.com/show_bug.cgi?id=2225239
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0ebc1064e4874d5987722a2ddbc18f94aa53b211
- https://www.debian.org/security/2023/dsa-5480