cve.bz

CVE-2023-3390 Use After Free

7.8 highEPSS 0.9%Fix available

High (7.8). EPSS 0.9% estimated probability of exploitation activity in the next 30 days.

On this page
A use-after-free vulnerability was found in the Linux kernel's netfilter subsystem in net/netfilter/nf_tables_api.c. Mishandled error handling with NFT_MSG_NEWRULE makes it possible to use a dangling pointer in the same transaction causing a use-after-free vulnerability. This flaw allows a local attacker with user access to cause a privilege escalation issue. We recommend upgrading past commit 1240eb93f0616b21c675416516ff3d74798fdc97

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 61st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-3390 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-3390?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-3390?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-3390 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux Kernelfrom 3.16 before 4.14.322
Linux Kernelfrom 4.15 before 4.19.291
Linux Kernelfrom 4.20 before 5.4.251
Linux Kernelfrom 5.5 before 5.10.188
Linux Kernelfrom 5.11 before 5.15.118
Linux Kernelfrom 5.16 before 6.1.35
Linux Kernelfrom 6.2 before 6.3.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux4.19.304-1DLA-3710-1
Debian10linux-5.105.10.179-3~deb10u1DLA-3512-1
Debian11linux5.10.179-3DSA-5461-1
Debian12linux6.1.37-1DEBIAN-CVE-2023-3390 DSA-5448-1
Debian13, 14linux6.3.11-1DEBIAN-CVE-2023-3390
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-3390
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2023-3390
Ubuntu20.04:LTSlinux5.4.0-155.172UBUNTU-CVE-2023-3390 USN-6251-1
Ubuntu20.04:LTSlinux-aws5.4.0-1106.114UBUNTU-CVE-2023-3390 USN-6251-1
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1040.45~20.04.1UBUNTU-CVE-2023-3390 USN-6246-1
Ubuntu20.04:LTSlinux-azure5.4.0-1112.118UBUNTU-CVE-2023-3390 USN-6251-1
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1042.49~20.04.1UBUNTU-CVE-2023-3390 USN-6246-1
Ubuntu20.04:LTSlinux-azure-fde-5.155.15.0-1042.49~20.04.1.1USN-6246-1
Ubuntu20.04:LTSlinux-bluefield5.4.0-1068.74UBUNTU-CVE-2023-3390
Ubuntu20.04:LTSlinux-gcp5.4.0-1109.118UBUNTU-CVE-2023-3390 USN-6251-1
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1038.46~20.04.1UBUNTU-CVE-2023-3390 USN-6246-1
Ubuntu20.04:LTSlinux-gke5.4.0-1104.111UBUNTU-CVE-2023-3390 USN-6251-1
96 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-477_10_1, kpatch-patch-4_18_0-477_10_1-debuginfo, kpatch-patch-4_18_0-477_10_1-debugsource0:1-3.el8_8RHSA-2023:5221
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-477_13_1, kpatch-patch-4_18_0-477_15_1, kpatch-patch-4_18_0-477_13_1-debuginfo and 3 more0:1-2.el8_8RHSA-2023:5221
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-477_21_1, kpatch-patch-4_18_0-477_21_1-debuginfo, kpatch-patch-4_18_0-477_21_1-debugsource0:1-1.el8_8RHSA-2023:5221
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-477.27.1.el8_8RHSA-2023:5244
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-477.27.1.el8_8RHSA-2023:5244
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-477.27.1.rt7.290.el8_8RHSA-2023:5255
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-477.27.1.rt7.290.el8_8RHSA-2023:5255
Red Hatenterprise_linux:9::appstreamperf, rtla, kernel-doc and 22 more0:5.14.0-284.30.1.el9_2RHSA-2023:5069
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crbbpftool-debuginfo0:7.0.0-284.30.1.el9_2RHSA-2023:5069
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.0.0-284.30.1.el9_2RHSA-2023:5069
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 40 more0:5.14.0-284.30.1.el9_2RHSA-2023:5069
Red Hatenterprise_linux:9::baseoskpatch-patch-5_14_0-284_11_1, kpatch-patch-5_14_0-284_11_1-debuginfo, kpatch-patch-5_14_0-284_11_1-debugsource0:1-5.el9_2RHSA-2023:5093
47 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-syms and 4 more5.3.18-150300.59.130.1SUSE-SU-2023:3391-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 6 morekernel-default-base5.3.18-150300.59.130.1.150300.18.76.1SUSE-SU-2023:3391-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.160.2SUSE-SU-2023:3390-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.130.1SUSE-SU-2023:3391-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 3 morekernel-default5.14.21-150400.24.74.1SUSE-SU-2023:3171-1
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise Live Patching 15 SP5, Linux Enterprise Module for Legacy 15 SP5 and 1 morekernel-default5.14.21-150500.55.12.1SUSE-SU-2023:3172-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2kernel-default, kernel-preempt, kernel-obs-build5.3.18-150200.24.160.2SUSE-SU-2023:3390-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2kernel-default-base5.3.18-150200.24.160.2.150200.9.79.2SUSE-SU-2023:3390-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2kernel-docs5.3.18-150200.24.160.3SUSE-SU-2023:3390-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2kernel-syms, kernel-source5.3.18-150200.24.160.1SUSE-SU-2023:3390-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_348-150200.2.1SUSE-SU-2023:4279-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_384-150200.2.1SUSE-SU-2023:4245-1
34 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.4dtb-aarch645.3.18-150300.59.130.1SUSE-SU-2023:3391-1
openSUSELeap 15.4dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150400.24.74.1SUSE-SU-2023:3171-1
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.60.1SUSE-SU-2023:3182-1
openSUSELeap 15.4kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150400.15.46.1SUSE-SU-2023:3318-1
openSUSELeap 15.4, Leap Micro 5.3, Leap Micro 5.4kernel-default-base5.14.21-150400.24.74.1.150400.24.33.3SUSE-SU-2023:3171-1
openSUSELeap 15.5dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150500.55.12.1SUSE-SU-2023:3172-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.11.1SUSE-SU-2023:3180-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.12.1.150500.6.4.2SUSE-SU-2023:3172-1
openSUSELeap 15.5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150500.13.11.1SUSE-SU-2023:3302-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-default5.14.21-150400.24.74.1SUSE-SU-2023:3171-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-rt5.14.21-150400.15.46.1SUSE-SU-2023:3318-1
AlmaLinux8perf, kernel, bpftool and 22 more4.18.0-477.27.2.el8_8ALSA-2023:5244
AlmaLinux9bpftool7.0.0-284.30.1.el9_2ALSA-2023:5069
AlmaLinux9kernel-rt, kernel-rt-kvm, kernel-rt-core and 11 more5.14.0-284.30.1.rt14.315.el9_2ALSA-2023:5091
AlmaLinux9perf, rtla, kernel and 41 more5.14.0-284.30.1.el9_2ALSA-2023:5069
Rocky Linux8kernel0:4.18.0-477.27.1.el8_8RLSA-2023:5244
Rocky Linux8kernel0:4.18.0-477.27.1.el8_8.cloudRXSA-2023:5244
Rocky Linux9kernel-rt0:5.14.0-284.30.1.rt14.315.el9_2RLSA-2023:5091
Azure Linux2kernel5.15.122.1-2AZL-27346

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Only local users with `CAP_NET_ADMIN` capability or root can trigger this issue.

On Red Hat Enterprise Linux, local unprivileged users can exploit unprivileged user namespaces (CONFIG_USER_NS) to grant themselves this capability.

The OpenShift Container Platform (OCP) control planes or master machines are based on Red Hat Enterprise Linux CoreOS (RHCOS) that consists primarily of RHEL components, therefore, it is also affected by this kernel vulnerability. A successful exploit needs necessary privileges (CAP_NET_ADMIN) and direct, local access. A local user in RHCOS is already a root with full permissions, hence existence of this vulnerability does not bring any value from the potential attacker perspective. From the OpenShift containers perspective, this vulnerability cannot be exploited as in OpenShift the cluster processes on the node are namespaced, which means that switching the namespace in the running OpenShift container will not bring necessary capabilities.

This means that for OpenShift, the impact of this vulnerability is Low.

Similar to the CVE-2023-32233 vulnerability, this has been explained in the following blog post as an example of a "Container escape vulnerability":

https://www.redhat.com/en/blog/containers-vulnerability-risk-assessment

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-477.27.1.rt7.290.el8_8Fixed 2023-09-19RHSA-2023:5255
Red Hat Enterprise Linux 8kpatch-patchFixed 2023-09-19RHSA-2023:5221
Red Hat Enterprise Linux 8kernel-0:4.18.0-477.27.1.el8_8Fixed 2023-09-19RHSA-2023:5244
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionskpatch-patchFixed 2023-09-19RHSA-2023:5235
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionskernel-0:4.18.0-147.90.1.el8_1Fixed 2023-09-19RHSA-2023:5238
Red Hat Enterprise Linux 8.2 Advanced Update Supportkernel-0:4.18.0-193.128.1.el8_2Fixed 2024-03-12RHSA-2024:1268
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicekernel-rt-0:4.18.0-193.128.1.rt13.179.el8_2Fixed 2024-03-12RHSA-2024:1269
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicekernel-0:4.18.0-193.128.1.el8_2Fixed 2024-03-12RHSA-2024:1268
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionskernel-0:4.18.0-193.128.1.el8_2Fixed 2024-03-12RHSA-2024:1268
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionskpatch-patchFixed 2024-03-12RHSA-2024:1278
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportkernel-0:4.18.0-305.103.1.el8_4Fixed 2023-09-05RHSA-2023:4962
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicekernel-rt-0:4.18.0-305.103.1.rt7.178.el8_4Fixed 2023-09-05RHSA-2023:4961
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicekernel-0:4.18.0-305.103.1.el8_4Fixed 2023-09-05RHSA-2023:4962
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionskernel-0:4.18.0-305.103.1.el8_4Fixed 2023-09-05RHSA-2023:4962
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionskpatch-patchFixed 2023-09-05RHSA-2023:4967
Red Hat Enterprise Linux 8.6 Extended Update Supportkernel-0:4.18.0-372.70.1.el8_6Fixed 2023-08-29RHSA-2023:4789
Red Hat Enterprise Linux 8.6 Extended Update Supportkpatch-patchFixed 2023-08-30RHSA-2023:4888
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
7 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-3390.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-046-11Siemens SCALANCE XCM-/XRM-3002024-02-13MultipleSCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 morenone listed
ICSA-23-166-10Siemens SIMATIC S7-1500 TM MFP BIOS2023-06-13MultipleSIMATIC S7-1500 TM MFP - BIOSnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON