CVE-2023-4004
Kernel: netfilter: use-after-free due to improper element removal in nft_pipapo_remove()
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.92% · top 40% of all CVEs (7 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Weakness
Affected products
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:4.18.0-477.27.1.rt7.290.el8_8 – < *
Red Hat · Red Hat Enterprise Linux 8
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:4.18.0-477.27.1.el8_8 – < *
Red Hat · Red Hat Enterprise Linux 8.2 Advanced Update Support
- unaffected 0:4.18.0-193.119.1.el8_2 – < *
Red Hat · Red Hat Enterprise Linux 8.2 Telecommunications Update Service
- unaffected 0:4.18.0-193.119.1.rt13.170.el8_2 – < *
Red Hat · Red Hat Enterprise Linux 8.2 Telecommunications Update Service
- unaffected 0:4.18.0-193.119.1.el8_2 – < *
Red Hat · Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions
- unaffected 0:4.18.0-193.119.1.el8_2 – < *
Red Hat · Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
- unaffected 0:4.18.0-305.103.1.el8_4 – < *
Red Hat · Red Hat Enterprise Linux 8.4 Telecommunications Update Service
- unaffected 0:4.18.0-305.103.1.rt7.178.el8_4 – < *
Red Hat · Red Hat Enterprise Linux 8.4 Telecommunications Update Service
- unaffected 0:4.18.0-305.103.1.el8_4 – < *
Red Hat · Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
- unaffected 0:4.18.0-305.103.1.el8_4 – < *
Red Hat · Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 8.6 Extended Update Support
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 8.6 Extended Update Support
- unaffected 0:4.18.0-372.75.1.el8_6 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:5.14.0-284.30.1.el9_2 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:5.14.0-284.30.1.rt14.315.el9_2 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:5.14.0-284.30.1.el9_2 – < *
Red Hat · Red Hat Enterprise Linux 9
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 9.0 Extended Update Support
- unaffected 0:5.14.0-70.80.1.el9_0 – < *
Red Hat · Red Hat Enterprise Linux 9.0 Extended Update Support
- unaffected 0:5.14.0-70.80.1.rt21.151.el9_0 – < *
Red Hat · Red Hat Enterprise Linux 9.0 Extended Update Support
All versions: unaffected
Red Hat · Red Hat Virtualization 4 for Red Hat Enterprise Linux 8
- unaffected 0:4.18.0-372.75.1.el8_6 – < *
Red Hat · Red Hat Enterprise Linux 6
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 7
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 7
All versions: unaffected
What to do
Workaround: This flaw can be mitigated by preventing the affected netfilter kernel module from being loaded. For instructions on how to blacklist a kernel module, please see https://access.redhat.com/solutions/41278.
References (28)
- RHSA-2023:4961 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:4962 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:4967 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:5069 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:5091 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:5093 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:5221 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:5244 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:5255 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:5548 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:5627 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:7382 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:7389 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:7411 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:7417 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:7431 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:7434 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://access.redhat.com/security/cve/CVE-2023-4004 (opens in a new tab)vdb-entryx_refsource_REDHATx_transferred
- RHBZ#2225275 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
- https://patchwork.ozlabs.org/project/netfilter-devel/patch/[email protected]/ (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/175072/Kernel-Live-Patch-Security-Notice-LSN-0098-1.html (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/175963/Kernel-Live-Patch-Security-Notice-LSN-0099-1.html (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2023/10/msg00027.html (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20231027-0001/ (opens in a new tab)x_transferred
- https://www.debian.org/security/2023/dsa-5480 (opens in a new tab)x_transferred
- https://www.debian.org/security/2023/dsa-5492 (opens in a new tab)x_transferred
- https://cert-portal.siemens.com/productcert/html/ssa-831302.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-4004)Record last updated .