CVE-2019-9162 Memory corruption in n/a
A local attacker can exploit an out-of-bounds write in the Linux kernel SNMP NAT module to achieve privilege escalation or cause a system crash.
- 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-2019-9162?
CVE-2019-9162 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 25 Feb 2019. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel before 4.20.12, net/ipv4/netfilter/nf_nat_snmp_basic_main.c in the SNMP NAT module has insufficient ASN.1 length checks (aka an array index error), making out-of-bounds read and write operations possible, leading to an OOPS or local privilege escalation. This affects snmp_version and snmp_helper.
Weakness: CWE-787
Which versions are affected by CVE-2019-9162?
It affects 6 products.
Products include Canonical Ubuntu Linux, Linux kernel, Netapp Cn1610 Firmware, Netapp Hci Management Node, Netapp Snapprotect, Netapp Solidfire.
How do I fix CVE-2019-9162?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2019-9162 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-9162 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2019-9162, GHSA-rcwp-79mw-gmr5, UBUNTU-CVE-2019-9162.