Vulnerability · Published Mar 28, 2024 · Assigned by Linux

CVE-2023-52628netfilter: nftables: exthdr: fix 4-byte stack OOB write

High 7.8

In plain English

A high-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.7%top 47.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nftables: exthdr: fix 4-byte stack OOB write If priv->len is a multiple of 4, then dst[len / 4] can write past the destination array which leads to stack corruption. This construct is necessary to clean the remainder of the register in case ->len is NOT a multiple of the register size, so make it conditional just like nft_payload.c does. The bug was added in 4.1 cycle and then copied/inherited when tcp/sctp and ip option support was added. Bug reported by Zero Day Initiative project (ZDI-CAN-21950, ZDI-CAN-21951, ZDI-CAN-21961).

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12linux6.1.55-1DEBIAN-CVE-2023-52628
Debian:13linux6.5.6-1DEBIAN-CVE-2023-52628
Debian:14linux6.5.6-1DEBIAN-CVE-2023-52628
Ubuntu:22.04:LTSlinux5.15.0-87.97UBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-aws5.15.0-1048.53UBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-aws-6.56.5.0-1010.10~22.04.1UBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-azure5.15.0-1050.57UBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-azure-6.56.5.0-1009.9~22.04.1UBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-azure-fde5.15.0-1050.57.1UBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-gcp5.15.0-1045.53UBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-gke5.15.0-1045.50UBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-gkeop5.15.0-1031.37UBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-ibm5.15.0-1041.44UBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1043.49UBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-kvm5.15.0-1045.50UBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-87.96UBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-nvidia5.15.0-1039.39UBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-nvidia-tegra5.15.0-1019.19UBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-nvidia-tegra-igx5.15.0-1006.6UBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-oem-6.1no fix listedUBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-oem-6.56.5.0-1007.7UBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-oracle5.15.0-1046.52UBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-raspi5.15.0-1041.44UBUNTU-CVE-2023-52628
Ubuntu:24.04:LTSlinux-raspi6.7.0-1001.1UBUNTU-CVE-2023-52628
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-starfive-6.2no fix listedUBUNTU-CVE-2023-52628
Ubuntu:22.04:LTSlinux-xilinx-zynqmp5.15.0-1025.29UBUNTU-CVE-2023-52628

Affected products (as reported)

VendorProductVersions
Linux Linux 49499c3e6e18b7677a63316f3ff54a16533dc28f – before 28a97c43c9e32f437ebb8d6126f9bb7f3ca9521a49499c3e6e18b7677a63316f3ff54a16533dc28f – before cf39c4f77a773a547ac2bcf30ecdd303bb0c80cb49499c3e6e18b7677a63316f3ff54a16533dc28f – before a7d86a77c33ba1c357a7504341172cc1507f069849499c3e6e18b7677a63316f3ff54a16533dc28f – before 1ad7b189cc1411048434e8595ffcbe7873b7108249499c3e6e18b7677a63316f3ff54a16533dc28f – before d9ebfc0f21377690837ebbd119e679243e0099cc49499c3e6e18b7677a63316f3ff54a16533dc28f – before c8f292322ff16b9a2272a67de396c09a50e09dce49499c3e6e18b7677a63316f3ff54a16533dc28f – before fd94d9dadee58e09b49075240fe83423eb1dcd36
Linux Linux 4.1

References