CWE
125
Advisory Published
CVE Published
Updated

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

First published: Wed Jul 26 2023(Updated: )

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.

Credit: secalert@redhat.com secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
redhat/kernel<6.6
6.6
Linux Kernel<6.6
Red Hat Enterprise Linux=8.0
Red Hat Enterprise Linux=9.0
Red Hat Fedora=38
IBM Security Verify Governance - Identity Manager<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2
debian/linux
5.10.223-1
5.10.234-1
6.1.129-1
6.1.128-1
6.12.21-1
6.12.22-1

Remedy

If not needed, disable the ability for unprivileged users to create namespaces. To do this temporarily, do: sudo sysctl -w kernel.unprivileged_userns_clone=0 To disable across reboots, do: echo kernel.unprivileged_userns_clone=0 | \ sudo tee /etc/sysctl.d/99-disable-unpriv-userns.conf

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2023-39189?

    CVE-2023-39189 is a vulnerability found in the Netfilter subsystem in the Linux kernel that allows a local privileged attacker to trigger an out-of-bounds read, leading to a crash or information disclosure.

  • How severe is CVE-2023-39189?

    CVE-2023-39189 has a severity rating of medium with a value of 6.

  • Which software is affected by CVE-2023-39189?

    The Linux kernel versions up to 6.6, Redhat Enterprise Linux versions 8.0 and 9.0, and Fedora version 38 are affected by CVE-2023-39189.

  • How can I fix CVE-2023-39189?

    To fix CVE-2023-39189, it is recommended to update the affected software to a version that includes the patch for this vulnerability.

  • Where can I find more information about CVE-2023-39189?

    You can find more information about CVE-2023-39189 on the Redhat Security Advisory page and the Bugzilla entry.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203