Skip to main content
Mallory
← Back to News
privilege-escalation-methodindustrial-control-system-vulnerability

Linux Netfilter CVE-2023-35001 Enables Namespace-Based Privilege Escalation

Attack Tradecraft · 4 sources · Updated 3mo ago · First seen Oct 10, 2023

Linux Netfilter CVE-2023-35001 Enables Namespace-Based Privilege Escalation

Red Hat addressed CVE-2023-35001, a high-severity out-of-bounds memory-access vulnerability in the Linux kernel Netfilter nf_tables implementation, specifically the nft_byteorder_eval() function. Failed bounds checking and incorrect data alignment can allow an attacker holding CAP_NET_ADMIN in a user or network namespace to escalate privileges locally; Red Hat assigned a CVSS v3.1 score of 7.8, with high impacts to confidentiality, integrity, and availability.

Affected Red Hat Enterprise Linux 7 and 8 kernel, real-time kernel, and kpatch packages received fixes through 2023 advisories. RHSA-2023:7243 supplies fixed 3.10.0-1062.80.1.el7 kernel packages for RHEL 7.7 AUS on x86_64; organizations must reboot after installation. Until updates can be deployed, Red Hat recommends blacklisting the affected Netfilter kernel module to prevent it from loading.

Why it matters

Impact assessment

CVE-2023-35001 enables local privilege escalation on vulnerable Linux systems where an attacker can obtain CAP_NET_ADMIN within a user or network namespace and trigger vulnerable nftables byte-order processing. Impact is high: successful exploitation can expose kernel memory, enable elevated control of the host, or cause system instability.

  • Affected products: Red Hat Enterprise Linux 7 and 8 kernel, real-time kernel (kernel-rt), and kpatch packages covered by 2023 Red Hat advisories.
  • Confirmed RHEL AUS exposure includes RHEL 7.6 x86_64 before kernel 3.10.0-957.106.1.el7 and RHEL 7.7 x86_64 before kernel 3.10.0-1062.80.1.el7.
  • Containerized and multi-tenant Linux environments merit priority review because the prerequisite capability may be available within user or network namespaces rather than only on the initial host namespace.
  • Confidentiality, integrity, and availability impact is rated High in Red Hat's CVSS assessment. Out-of-bounds reads can disclose sensitive kernel memory and addresses useful for defeating ASLR; invalid accesses can also crash or destabilize workloads.
  • The supplied references do not report confirmed exploitation in the wild.

Structured facts

  • Entity: Red Hat Product Security
  • Advisory: RHSA-2023:5244, RHSA-2023:5255, RHSA-2023:5221, RHSA-2023:5235, RHSA-2023:5238, RHSA-2023:5414, RHSA-2023:5574, RHSA-2023:5621, RHSA-2023:5622, RHSA-2023:7243
  • Red Hat Bugzilla: BZ-2220892
  • Reporter: Tanguy Dubroca, Synacktiv, working with ZDI
  • Scope: local privilege escalation; no remote network attack path is described.
Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

5 events · Jul 5, 2023 – Oct 10, 2023
  1. Reported Oct 10, 20233y ago

    Red Hat releases RHEL 7.7 AUS kernel update

    Red Hat published Important advisory RHSA-2023:7243 for RHEL Server AUS 7.7 on x86_64, fixing the nft_byteorder_eval stack out-of-bounds read tracked as CVE-2023-35001. The update provides kernel version 3.10.0-1062.80.1.el7 and requires a reboot for the fix to take effect.

    CVE-2023-35001 - Red Hat Customer Portal
  2. Oct 10, 20233y ago

    Red Hat releases RHEL 7 kernel, kernel-rt, and kpatch fixes

    Red Hat issued RHSA-2023:5621, RHSA-2023:5574, and RHSA-2023:5622 to remediate CVE-2023-35001 in RHEL 7 kernel-rt, kpatch-patch, and kernel packages.

    CVE-2023-35001 - Red Hat Customer Portal
  3. Oct 3, 20233y ago

    Red Hat fixes CVE-2023-35001 for RHEL 7.6 AUS

    Red Hat released RHSA-2023:5414, providing a kernel fix for CVE-2023-35001 for Red Hat Enterprise Linux 7.6 Advanced Update Support.

    CVE-2023-35001 - Red Hat Customer Portal
  4. Sep 19, 20233y ago

    Red Hat releases RHEL 8 fixes for CVE-2023-35001

    Red Hat issued RHSA-2023:5255, RHSA-2023:5221, RHSA-2023:5244, RHSA-2023:5235, and RHSA-2023:5238 to fix CVE-2023-35001 in RHEL 8 kernel, kernel-rt, and kpatch packages, including RHEL 8.1 Update Services for SAP Solutions.

    CVE-2023-35001 - Red Hat Customer Portal
  5. Jul 5, 20233y ago

    Upstream nf_tables OOB-read fix submitted and applied

    Thadeu Lima de Souza Cascardo submitted a patch for the nft_byteorder_eval stack out-of-bounds read affecting 16-bit byte-order expressions. After review by Florian Westphal, Pablo Neira Ayuso applied the revised fix to the nf tree and requested stable-kernel backports.

    [PATCH] netfilter: nf_tables: prevent OOB access in nft_byteorder_eval
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Red Hat Enterprise Linux
Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.