CWE
125
Advisory Published
CVE 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
Linux Linux kernel<6.6
Redhat Enterprise Linux=8.0
Redhat Enterprise Linux=9.0
Fedoraproject Fedora=38
redhat/kernel<6.6
6.6
debian/linux
5.10.223-1
5.10.226-1
6.1.115-1
6.1.112-1
6.11.7-1
6.11.9-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.

Reference Links

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203