CVE-2016-4997 Integer overflow in n/a

High 7.8 Published Updated

Local attackers with container root access can exploit a netfilter integer overflow to gain privileges or cause denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2016-4997?

CVE-2016-4997 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 3 Jul 2016. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The compat IPT_SO_SET_REPLACE and IP6T_SO_SET_REPLACE setsockopt implementations in the netfilter subsystem in the Linux kernel before 4.6.3 allow local users to gain privileges or cause a denial of service (memory corruption) by leveraging in-container root access to provide a crafted offset value that triggers an unintended decrement.

Weakness: CWE-264

Which versions are affected by CVE-2016-4997?

It affects 11 products.

Linux distribution packages (34)
kernel-default SUSE:Linux Enterprise Desktop 12All versions3.12.60-52.54.2
kernel-source SUSE:Linux Enterprise Desktop 12All versions3.12.60-52.54.1
kernel-syms SUSE:Linux Enterprise Desktop 12All versions3.12.60-52.54.1
kernel-xen SUSE:Linux Enterprise Desktop 12All versions3.12.60-52.54.2
kernel-default SUSE:Linux Enterprise Desktop 12 SP1All versions3.12.59-60.45.2
kernel-source SUSE:Linux Enterprise Desktop 12 SP1All versions3.12.59-60.45.1
kernel-syms SUSE:Linux Enterprise Desktop 12 SP1All versions3.12.59-60.45.1
kernel-xen SUSE:Linux Enterprise Desktop 12 SP1All versions3.12.59-60.45.2
kgraft-patch-SLE12-SP1_Update_6 SUSE:Linux Enterprise Live Patching 12All versions1-2.3
kgraft-patch-SLE12_Update_15 SUSE:Linux Enterprise Live Patching 12All versions1-2.3
kernel-ec2 SUSE:Linux Enterprise Module for Public Cloud 12All versions3.12.59-60.45.2
kernel-ec2 SUSE:Linux Enterprise Module for Public Cloud 12All versions3.12.60-52.54.2
kernel-default SUSE:Linux Enterprise Server 12All versions3.12.60-52.54.2
kernel-source SUSE:Linux Enterprise Server 12All versions3.12.60-52.54.1
kernel-syms SUSE:Linux Enterprise Server 12All versions3.12.60-52.54.1
kernel-xen SUSE:Linux Enterprise Server 12All versions3.12.60-52.54.2
kernel-default SUSE:Linux Enterprise Server 12 SP1All versions3.12.59-60.45.2
kernel-source SUSE:Linux Enterprise Server 12 SP1All versions3.12.59-60.45.1
kernel-syms SUSE:Linux Enterprise Server 12 SP1All versions3.12.59-60.45.1
kernel-xen SUSE:Linux Enterprise Server 12 SP1All versions3.12.59-60.45.2
kernel-default SUSE:Linux Enterprise Server for SAP Applications 12All versions3.12.60-52.54.2
kernel-source SUSE:Linux Enterprise Server for SAP Applications 12All versions3.12.60-52.54.1
kernel-syms SUSE:Linux Enterprise Server for SAP Applications 12All versions3.12.60-52.54.1
kernel-xen SUSE:Linux Enterprise Server for SAP Applications 12All versions3.12.60-52.54.2
kernel-default SUSE:Linux Enterprise Server for SAP Applications 12 SP1All versions3.12.59-60.45.2
kernel-source SUSE:Linux Enterprise Server for SAP Applications 12 SP1All versions3.12.59-60.45.1
kernel-syms SUSE:Linux Enterprise Server for SAP Applications 12 SP1All versions3.12.59-60.45.1
kernel-xen SUSE:Linux Enterprise Server for SAP Applications 12 SP1All versions3.12.59-60.45.2
kernel-docs SUSE:Linux Enterprise Software Development Kit 12All versions3.12.60-52.54.3
kernel-obs-build SUSE:Linux Enterprise Software Development Kit 12All versions3.12.60-52.54.3
kernel-docs SUSE:Linux Enterprise Software Development Kit 12 SP1All versions3.12.59-60.45.4
kernel-obs-build SUSE:Linux Enterprise Software Development Kit 12 SP1All versions3.12.59-60.45.3
kernel-default SUSE:Linux Enterprise Workstation Extension 12All versions3.12.60-52.54.2
kernel-default SUSE:Linux Enterprise Workstation Extension 12 SP1All versions3.12.59-60.45.2

Products include Canonical Ubuntu Linux, Debian Debian Linux, Linux kernel, Novell Suse Linux Enterprise Desktop, Novell Suse Linux Enterprise Live Patching, Novell Suse Linux Enterprise Module for Public Cloud and 5 more.

How do I fix CVE-2016-4997?

Apply the vendor's patch.

Is CVE-2016-4997 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2016-4997 exists.

Public exploit code: 1 Metasploit module and 2 Exploit-DB entries.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-4997, GHSA-qc28-hwmc-pw94, SUSE-SU-2016:1709-1, SUSE-SU-2016:1710-1, UBUNTU-CVE-2016-4997.

Is CVE-2016-4997 in your software?

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

Check your SBOMs for free