Privilege escalation in Linux kernel - CVE-2019-9162

 

Privilege escalation in Linux kernel - CVE-2019-9162

Published: February 28, 2019


Vulnerability identifier: #VU17878
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-9162
CWE-ID: CWE-264
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to array index error in SNMP NAT module (net/ipv4/netfilter/nf_nat_snmp_basic_main.c) when parsing ASN.1-encoded payloads in SNMP messages. A local user can set up new network namespaces that invoke iptables configuration and triggers SNMP translations, cause out-of-bounds read and write operations and execute arbitrary code  on the system with elevated privileges.


Affected software

Linux kernel
Ubuntu
Fedora
linux (Ubuntu package)
linux-azure (Ubuntu package)
linux-gcp (Ubuntu package)
linux-aws (Ubuntu package)
linux-kvm (Ubuntu package)
linux-hwe (Ubuntu package)
kernel
kernel-headers

How to mitigate CVE-2019-9162

Install updates from vendor's website.

Linux kernel - addressed in versions 4.19.25, 4.20.12
linux (Ubuntu package) - update to 4.18.0-17.18
linux-azure (Ubuntu package) - addressed in versions 4.18.0-1014.14~18.04.1, 4.18.0-1014.14
linux-gcp (Ubuntu package) - update to 4.18.0-1008.9
linux-aws (Ubuntu package) - update to 4.18.0-1012.14
linux-kvm (Ubuntu package) - update to 4.18.0-1009.9
linux-hwe (Ubuntu package) - update to 4.18.0-17.18~18.04.1
kernel - addressed in versions 4.20.12-100.fc28, 4.20.12-200.fc29, 4.20.13-100.fc28, 4.20.14-100.fc28
kernel-headers - addressed in versions 4.20.12-100.fc28, 4.20.12-200.fc29, 4.20.13-100.fc28, 4.20.14-100.fc28

External References

Related Security Bulletins