Kernel: netfilter: nf_tables_newrule when adding a rule with nfta_rule_chain_id leads to use-after-free
CVE-2023-4147
Key Information:
- Vendor
Red Hat
- Status
- Vendor
- CVE Published:
- 7 August 2023
Key facts: CVE-2023-4147 is a high severity (CVSS 7.8) vulnerability in Red Hat Enterprise Linux 9 and Red Hat Enterprise Linux 9.0 Extended Update Support. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 0.8%, the estimated probability of exploitation in the next 30 days.
What is CVE-2023-4147?
CVE-2023-4147 is a vulnerability found in the Linux kernel's Netfilter component, specifically involving a flaw in handling rule addition related to the NFTA_RULE_CHAIN_ID. This vulnerability can result in a use-after-free condition, where a program attempts to use a memory location after it has been freed. The flaw allows local users to potentially crash the system or escalate their privileges. This can negatively impact organizations by creating opportunities for unauthorized actions within their systems, potentially compromising system integrity and security.
Technical Details
The vulnerability manifests during the process of adding new rules to the Netfilter functionality of the Linux kernel. It arises from improper management of memory references, enabling a local user to trigger a use-after-free scenario. When the flaw is exploited, it could lead to a scenario where a user is capable of executing operations that exceed their intended privileges, thereby exposing the system to further risks.
Potential impact of CVE-2023-4147
-
Privilege Escalation: The vulnerability could allow local attackers to gain higher access levels within a system, enabling them to execute restricted commands or access sensitive data.
-
System Crashes: Exploitation of this vulnerability may result in system crashes, leading to denial-of-service scenarios that can disrupt operations and result in downtime.
-
Increased Attack Surface: By allowing local users to escalate privileges, organizations may face increased vulnerability to subsequent attacks, as malicious actors may leverage initial access to further compromise the system.
Affected Version(s)
Red Hat Enterprise Linux 9 0:5.14.0-284.30.1.el9_2
Red Hat Enterprise Linux 9 0:5.14.0-284.30.1.rt14.315.el9_2
Red Hat Enterprise Linux 9 0:5.14.0-284.30.1.rt14.315.el9_2
References
More Red Hat vulnerabilities
- CVE-2026-101258: Arbitrary Command Execution Vulnerability in Ghostscript Software(HIGH)
- CVE-2026-96889: Use-After-Free Flaw in Librsvg Affects GNOME's SVG Processing Tool(HIGH)
- CVE-2026-96512: Sudo Time-Based Access Control Flaw in Sudo Software by Sudo Project(HIGH)
- CVE-2026-75885: Unauthenticated Access Vulnerability in OpenShift Console by Red Hat(CRITICAL)
- CVE-2026-18963: Authorization Flaw in Keycloak Services by Red Hat(CRITICAL)
- CVE-2026-10090: Privilege Escalation Vulnerability in Red Hat Advanced Cluster Management for Kubernetes(CRITICAL)
- CVE-2026-58222: LDAP Filter Injection Vulnerability in Samba Active Directory Domain Controller(HIGH)
- CVE-2026-17048: Authorization Flaw in Keycloak Admin REST API Exposes Sensitive Client Secrets(MEDIUM)