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.
https://github.com/torvalds/linux/commit/c4c07b4d6fa1f11880eab8e076d3d060ef3f55fc
https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.20.12
https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.25
https://bugs.chromium.org/p/project-zero/issues/detail?id=1776
http://www.securityfocus.com/bid/107159
https://www.exploit-db.com/exploits/46477/
https://security.netapp.com/advisory/ntap-20190327-0002/
https://usn.ubuntu.com/3930-2/
Source: MITRE
Published: 2019-02-25
Updated: 2022-04-05
Type: CWE-787
Base Score: 4.6
Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P
Impact Score: 6.4
Exploitability Score: 3.9
Severity: MEDIUM
Base Score: 7.8
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Impact Score: 5.9
Exploitability Score: 1.8
Severity: HIGH