LiveActive security incident?Get immediate response
CVE Record

CVE-2023-4004: Kernel: netfilter: use-after-free due to improper element removal in nft_pipapo_remove()

A use-after-free flaw was found in the Linux kernel's netfilter in the way a user triggers the nft_pipapo_remove function with the element, without a NFT_SET_EXT_KEY_END. This issue could allow a local user to crash the system or potentially escalate their privileges on the system.

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2023-4004 is a Linux kernel netfilter memory-safety flaw. A local, low-privileged user could crash an affected system or potentially gain higher privileges. It is not a remote internet-facing bug by the supplied evidence, but it matters on shared Linux hosts, container platforms, and systems where untrusted users can run code.

Executive priority

Treat as a high-priority local privilege-escalation patching item, especially for multi-user, hosting, build, and container infrastructure. It is less urgent than a confirmed remote exploited bug, but delay increases the impact of any initial foothold.

Technical view

The flaw is a use-after-free in netfilter involving nft_pipapo_remove when an element lacks NFT_SET_EXT_KEY_END. The supplied CVSS is 7.8: local attack vector, low complexity, low privileges, no user interaction, and high confidentiality, integrity, and availability impact. Red Hat lists affected kernel and kernel-rt packages across RHEL 8 and 9 streams.

Likely exposure

Exposure is most likely on affected Red Hat Enterprise Linux 8 and 9 systems running the listed kernel or kernel-rt package versions. Risk is higher where users, workloads, or containers can execute local code. The bundle does not establish exposure for non-Red Hat distributions.

Exploitation context

The source bundle does not show CISA KEV status or any cited confirmation of active exploitation. Exploitation requires local privileges, so attacker access generally starts from an existing account, compromised workload, or other local code execution path.

Researcher notes

Focus analysis on netfilter nftables set handling and the pipapo removal path. The key condition in the bundle is element removal without NFT_SET_EXT_KEY_END. Public patch discussion is cited, but this response does not infer exploit availability or affected products beyond the supplied sources.

Mitigation direction

  • Apply the relevant Red Hat kernel or kernel-rt security advisory update.
  • Reboot into the updated kernel if required by vendor guidance.
  • Prioritize shared hosts, container nodes, and systems with untrusted local users.
  • Check Red Hat CVE guidance for stream-specific package status.
  • Restrict unnecessary local access where patching must be delayed.

Validation and detection

  • Inventory RHEL 8 and 9 systems and enabled update streams.
  • Compare installed kernel and kernel-rt versions against Red Hat affected entries.
  • Confirm the running kernel is the updated version after maintenance.
  • Review applicable RHSA advisories for package coverage.
  • Verify kpatch status only against Red Hat guidance; the bundle lists kpatch-patch as unaffected.
Prepared
Confidence
high
Sources
11

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-416: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2023-4004 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.8 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
25Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2023-4004Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Red HatRed Hat Enterprise Linux 8kernel-rt, 0:4.18.0-477.27.1.rt7.290.el8_8affected
Red HatRed Hat Enterprise Linux 8kpatch-patchunaffected
Red HatRed Hat Enterprise Linux 8kernel, 0:4.18.0-477.27.1.el8_8affected
Red HatRed Hat Enterprise Linux 8.2 Advanced Update Supportkernel, 0:4.18.0-193.119.1.el8_2affected
Red HatRed Hat Enterprise Linux 8.2 Telecommunications Update Servicekernel-rt, 0:4.18.0-193.119.1.rt13.170.el8_2affected
Red HatRed Hat Enterprise Linux 8.2 Telecommunications Update Servicekernel, 0:4.18.0-193.119.1.el8_2affected
Red HatRed Hat Enterprise Linux 8.2 Update Services for SAP Solutionskpatch-patchunaffected
Red HatRed Hat Enterprise Linux 8.2 Update Services for SAP Solutionskernel, 0:4.18.0-193.119.1.el8_2affected
Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportkernel, 0:4.18.0-305.103.1.el8_4affected
Red HatRed Hat Enterprise Linux 8.4 Telecommunications Update Servicekernel-rt, 0:4.18.0-305.103.1.rt7.178.el8_4affected
Red HatRed Hat Enterprise Linux 8.4 Telecommunications Update Servicekernel, 0:4.18.0-305.103.1.el8_4affected
Red HatRed Hat Enterprise Linux 8.4 Update Services for SAP Solutionskernel, 0:4.18.0-305.103.1.el8_4affected
Red HatRed Hat Enterprise Linux 8.4 Update Services for SAP Solutionskpatch-patchunaffected
Red HatRed Hat Enterprise Linux 8.6 Extended Update Supportkpatch-patchunaffected
Red HatRed Hat Enterprise Linux 8.6 Extended Update Supportkernel, 0:4.18.0-372.75.1.el8_6affected
Red HatRed Hat Enterprise Linux 9kernel, 0:5.14.0-284.30.1.el9_2affected
Red HatRed Hat Enterprise Linux 9kernel-rt, 0:5.14.0-284.30.1.rt14.315.el9_2affected
Red HatRed Hat Enterprise Linux 9kernel, 0:5.14.0-284.30.1.el9_2affected
Red HatRed Hat Enterprise Linux 9kpatch-patchunaffected
Red HatRed Hat Enterprise Linux 9.0 Extended Update Supportkernel, 0:5.14.0-70.80.1.el9_0affected
Red HatRed Hat Enterprise Linux 9.0 Extended Update Supportkernel-rt, 0:5.14.0-70.80.1.rt21.151.el9_0affected
Red HatRed Hat Enterprise Linux 9.0 Extended Update Supportkpatch-patchunaffected
Red HatRed Hat Virtualization 4 for Red Hat Enterprise Linux 8kernel, 0:4.18.0-372.75.1.el8_6affected
Red HatRed Hat Enterprise Linux 6kernelunaffected
Red HatRed Hat Enterprise Linux 7kernelunaffected
Red HatRed Hat Enterprise Linux 7kernel-rtunaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-416 · source CWE mapping

Use After Free

Use After Free represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.