CVE-2018-18066
snmp_oid_compare in snmplib/snmp_api.c in Net-SNMP before 5.8 has a NULL Pointer Exception bug that can be used by an unauthenticated attacker to remotely cause the instance to crash via a crafted UDP packet, resulting in Denial of Service.
What to do
Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | net-snmp | Not affected vulnerable_code_not_present | ||
| Debian 14 | net-snmp | Fixed | 5.7.3+dfsg-1.1 | DEBIAN-CVE-2018-18066 |
| Debian 13 | net-snmp | Fixed | 5.7.3+dfsg-1.1 | DEBIAN-CVE-2018-18066 |
| Debian 12 | net-snmp | Fixed | 5.7.3+dfsg-1.1 | DEBIAN-CVE-2018-18066 |
| Red Hat Enterprise Linux 8 | net-snmp | Not affected | ||
| Red Hat Enterprise Linux 8 | net-snmp-agent-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | net-snmp-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | net-snmp-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | net-snmp-perl | Not affected | ||
| Red Hat Enterprise Linux 8 | net-snmp-utils | Not affected | ||
| Red Hat Enterprise Linux 7 | net-snmp | Fixed | 1:5.7.2-47.el7 | RHSA-2020:1081 |
| Red Hat Enterprise Linux 7 | net-snmp-agent-libs | Fixed | 1:5.7.2-47.el7 | RHSA-2020:1081 |
| Red Hat Enterprise Linux 7 | net-snmp-devel | Fixed | 1:5.7.2-47.el7 | RHSA-2020:1081 |
| Red Hat Enterprise Linux 7 | net-snmp-gui | Fixed | 1:5.7.2-47.el7 | RHSA-2020:1081 |
| Red Hat Enterprise Linux 7 | net-snmp-libs | Fixed | 1:5.7.2-47.el7 | RHSA-2020:1081 |
| Red Hat Enterprise Linux 7 | net-snmp-perl | Fixed | 1:5.7.2-47.el7 | RHSA-2020:1081 |
| Red Hat Enterprise Linux 7 | net-snmp-python | Fixed | 1:5.7.2-47.el7 | RHSA-2020:1081 |
| Red Hat Enterprise Linux 7 | net-snmp-sysvinit | Fixed | 1:5.7.2-47.el7 | RHSA-2020:1081 |
| Red Hat Enterprise Linux 7 | net-snmp-utils | Fixed | 1:5.7.2-47.el7 | RHSA-2020:1081 |
| Red Hat Enterprise Linux 6 | net-snmp | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | net-snmp-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | net-snmp-libs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | net-snmp-perl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | net-snmp-python | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | net-snmp-utils | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | net-snmp | Not affected |
References
- https://sourceforge.net/p/net-snmp/code/ci/7ffb8e25a0db851953155de91f0170e9bf8c457d/
- https://dumpco.re/blog/net-snmp-5.7.3-remote-dos
- https://security.netapp.com/advisory/ntap-20181107-0001/
- https://sourceforge.net/p/net-snmp/code/ci/f23bcd3ac6ddee5d0a48f9703007ccc738914791/
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.