Linux kernel netfilter IPT_SO_SET_REPLACE Out-of-Bounds Read
CVE-2016-4998 is an out-of-bounds read vulnerability in the Linux kernel netfilter implementation of the IPT_SO_SET_REPLACE setsockopt operation. In kernels before 4.6, a crafted offset supplied while replacing an iptables ruleset can cause parsing to cross the boundary of the ruleset blob. This can result in a kernel out-of-bounds read.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
A local attacker can cause a denial of service through the invalid kernel memory read. The flaw may also disclose sensitive information residing in kernel heap memory.
If you can’t patch tonight, do this now.
Until patched kernels are deployed, do not grant untrusted workloads in containers root-equivalent network-administration privileges. Restrict creation and modification of iptables rulesets, enforce least privilege for container capabilities, and limit use of untrusted user or network namespaces where operationally feasible.
Patch, then assume compromise.
Update the Linux kernel to version 4.6 or later, or install the vendor-supported kernel update that backports the fix. For Oracle Linux, apply the applicable Oracle Linux security updates through ULN, including the affected kernel or Unbreakable Enterprise Kernel packages.
1 exploit validated by Mallory's analysis.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
1 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.