Vulnerability Name:

CVE-2019-9162 (CCN-157551)

Assigned:2019-02-06
Published:2019-02-06
Updated:2022-04-05
Summary: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.
CVSS v3 Severity:7.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
7.0 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
8.4 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
7.6 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:4.6 Medium (CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
7.2 High (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-787
Vulnerability Consequences:Gain Privileges
References:Source: MITRE
Type: CNA
CVE-2019-9162

Source: MISC
Type: Mailing List, Patch, Vendor Advisory
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c4c07b4d6fa1f11880eab8e076d3d060ef3f55fc

Source: BID
Type: Broken Link
107159

Source: MISC
Type: Issue Tracking, Exploit, Mailing List, Third Party Advisory
https://bugs.chromium.org/p/project-zero/issues/detail?id=1776

Source: CCN
Type: Google Security Research Issue 1776
Linux: out-of-bounds read and write in SNMP NAT module

Source: MISC
Type: Mailing List, Vendor Advisory
https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.25

Source: MISC
Type: Mailing List, Vendor Advisory
https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.20.12

Source: XF
Type: UNKNOWN
linux-kernel-cve20199162-priv-esc(157551)

Source: CCN
Type: Linux Kernel GIT Repository
netfilter: nf_nat_snmp_basic: add missing length checks in ASN.1 cbs

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/torvalds/linux/commit/c4c07b4d6fa1f11880eab8e076d3d060ef3f55fc

Source: CCN
Type: Packet Storm Security [02-25-2019]
Linux SNMP NAT Module Out-Of-Bounds Read/Write

Source: CONFIRM
Type: Third Party Advisory
https://security.netapp.com/advisory/ntap-20190327-0002/

Source: CONFIRM
Type: Third Party Advisory
https://support.f5.com/csp/article/K31864522

Source: UBUNTU
Type: Third Party Advisory
USN-3930-1

Source: UBUNTU
Type: Third Party Advisory
USN-3930-2

Source: EXPLOIT-DB
Type: EXPLOIT
Offensive Security Exploit Database [03-01-2019]

Source: EXPLOIT-DB
Type: Exploit, Patch, Third Party Advisory, VDB Entry
46477

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2019-9162

Vulnerable Configuration:Configuration 1:
  • cpe:/o:linux:linux_kernel:*:*:*:*:*:*:*:* (Version >= 4.19 and < 4.19.25)
  • OR cpe:/o:linux:linux_kernel:*:*:*:*:*:*:*:* (Version >= 4.20 and < 4.20.12)

  • Configuration 2:
  • cpe:/a:netapp:hci_management_node:-:*:*:*:*:*:*:*
  • OR cpe:/a:netapp:snapprotect:-:*:*:*:*:*:*:*
  • OR cpe:/a:netapp:solidfire:-:*:*:*:*:*:*:*

  • Configuration 3:
  • cpe:/o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
  • OR cpe:/o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*

  • Configuration 4:
  • cpe:/o:netapp:cn1610_firmware:-:*:*:*:*:*:*:*
  • AND
  • cpe:/h:netapp:cn1610:-:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/o:linux:linux_kernel:-:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.bionic:def:20199162000
    V
    CVE-2019-9162 on Ubuntu 18.04 LTS (bionic) - medium.
    2019-02-25
    oval:com.ubuntu.cosmic:def:201991620000000
    V
    CVE-2019-9162 on Ubuntu 18.10 (cosmic) - medium.
    2019-02-25
    oval:com.ubuntu.cosmic:def:20199162000
    V
    CVE-2019-9162 on Ubuntu 18.10 (cosmic) - medium.
    2019-02-25
    oval:com.ubuntu.bionic:def:201991620000000
    V
    CVE-2019-9162 on Ubuntu 18.04 LTS (bionic) - medium.
    2019-02-25
    oval:com.ubuntu.trusty:def:20199162000
    V
    CVE-2019-9162 on Ubuntu 14.04 LTS (trusty) - medium.
    2019-02-25
    oval:com.ubuntu.xenial:def:201991620000000
    V
    CVE-2019-9162 on Ubuntu 16.04 LTS (xenial) - medium.
    2019-02-25
    oval:com.ubuntu.xenial:def:20199162000
    V
    CVE-2019-9162 on Ubuntu 16.04 LTS (xenial) - medium.
    2019-02-25
    BACK
    linux linux kernel *
    linux linux kernel *
    netapp hci management node -
    netapp snapprotect -
    netapp solidfire -
    canonical ubuntu linux 18.04
    canonical ubuntu linux 18.10
    netapp cn1610 firmware -
    netapp cn1610 -
    linux linux kernel -