CVE-2023-39189 Kernel: netfilter: nftables out-of-bounds read in nf_osf_match_one()

Medium 5.1 Published Updated

A local privileged attacker can trigger an out-of-bounds read in the Linux kernel netfilter subsystem, causing a crash or leaking sensitive information.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-39189?

CVE-2023-39189 is a medium-severity vulnerability in Fedoraproject Fedora, published on 9 Oct 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A flaw was found in the Netfilter subsystem in the Linux kernel. The nfnl_osf_add_callback function did not validate the user mode controlled opt_num field. This flaw allows a local privileged (CAP_NET_ADMIN) attacker to trigger an out-of-bounds read, leading to a crash or information disclosure.

Weakness: CWE-125

Which versions are affected by CVE-2023-39189?

It affects 3 products.

Products include Fedoraproject Fedora, Linux kernel, Redhat Enterprise Linux.

How do I fix CVE-2023-39189?

Apply the vendor's patch.

Is CVE-2023-39189 being exploited?

There is no known exploitation of CVE-2023-39189 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-31267, BELL-CVE-2023-39189, DEBIAN-CVE-2023-39189, GHSA-3rm2-4q4r-254r, UBUNTU-CVE-2023-39189.

Is CVE-2023-39189 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free