Bug 1637570 (CVE-2018-18065) - CVE-2018-18065 net-snmp: NULL pointer exception in _set_key in agent/helpers/table_container.c resulting in a denial of service
Summary: CVE-2018-18065 net-snmp: NULL pointer exception in _set_key in agent/helpers/...
Alias: CVE-2018-18065
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1637573
Blocks: 1637575
TreeView+ depends on / blocked
Reported: 2018-10-09 13:50 UTC by Andrej Nemec
Modified: 2021-12-10 17:51 UTC (History)
12 users (show)

Fixed In Version: net-snmp 5.8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2018-10-12 17:05:25 UTC

Attachments (Terms of Use)

Description Andrej Nemec 2018-10-09 13:50:54 UTC
It was found that _set_key in agent/helpers/table_container.c in Net-SNMP before 5.8 has a NULL Pointer Exception bug that can be used by an authenticated attacker to remotely cause the instance to crash via a crafted UDP packet, resulting in Denial of Service.



Upstream patch:


Comment 1 Andrej Nemec 2018-10-09 13:59:13 UTC
Created net-snmp tracking bugs for this issue:

Affects: fedora-all [bug 1637573]

Comment 2 Scott Gayou 2018-10-11 19:59:46 UTC
Unable to reproduce on any version of RHEL using instructions. This appears to be a duplicate of CVE-2015-5621. See the reference page for those details. "Update: "vuln1" was assigned CVE-2015-5621 (see references), therefore CVE-2018-18066 has been marked as duplicate."

This looks to have been patched in RHEL6 and RHEL7 at least via https://bugzilla.redhat.com/show_bug.cgi?id=1212408. I expected that it would trigger on RHEL5 at least, but it does not.

Comment 3 Scott Gayou 2018-10-11 20:09:34 UTC
More notes about duplicate CVE:


Note You need to log in before you can comment on or make changes to this bug.