Cloudanix VulnDB

CVE-2014-3565

None

CVSS

—

EPSS

4.4%

Published

Oct 7, 2014

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

Attackers can remotely crash a network monitoring service by sending one specially made message, interrupting oversight of connected devices.

Exploit Available
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Network Service
Class
Denial of service
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Crafted SNMP trap messages processed under the -OQ option trigger unsafe type conversion from the MIB definition, resulting in a NULL pointer dereference that crashes snmptrapd.

Why it matters to the business

Loss of SNMP trap collection interrupts network device monitoring, reducing operational visibility and potentially delaying incident response across environments that rely on net-snmp for alerting.

How an attack unfolds

An attacker sends a specially constructed SNMP trap containing a NULL-typed ifMtu variable; when snmptrapd receives and decodes the message using the -OQ output option, the MIB-driven type conversion fails and terminates the daemon.

How to fix it

Upgrade net-snmp to a version newer than 5.7.0, disable the -OQ command-line option where feasible, or apply vendor patches; restrict inbound SNMP traps to trusted sources via firewall or ACL rules.

How to confirm the fix worked

Confirm net-snmp version is newer than 5.7.0; attempt reproduction of the crash with a test trap containing a NULL-typed ifMtu variable under -OQ; verify absence of segmentation faults in snmptrapd logs after upgrade.

Typical attack path

  1. Locate exposed snmptrapd listeners accepting traps from untrusted sources
  2. Craft an SNMP trap message embedding a NULL type for an ifMtu variable
  3. Transmit the trap to the target daemon
  4. Observe crash of snmptrapd process

How to detect it

Search snmptrapd and system logs for abrupt process termination around receipt of ifMtu traps; inspect incoming SNMP packets for NULL-typed variables in trap PDUs.

  • snmptrapd.*crash
  • ifMtu.*NULL
  • NULL type in trap message

What your security team should do

  • Prioritize upgrade of all net-snmp installations older than 5.7.1
  • Review and restrict SNMP trap sources to known management stations
  • Monitor for repeated snmptrapd process restarts in system logs
  • Test fallback monitoring paths to maintain visibility during outages

The record

snmplib/mib.c in net-snmp 5.7.0 and earlier, when the -OQ option is used, allows remote attackers to cause a denial of service (snmptrapd crash) via a crafted SNMP trap message, which triggers a conversion to the variable type designated in the MIB file, as demonstrated by a NULL type in an ifMtu trap message.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 net-snmp 0 5.7.2.1~dfsg-7
Debian:12 net-snmp 0 5.7.2.1~dfsg-7
Debian:13 net-snmp 0 5.7.2.1~dfsg-7
Mageia:3 net-snmp 0 5.7.2-7.3.mga3
Mageia:4 net-snmp 0 5.7.2-13.2.mga4
Red Hat:enterprise_linux:6::client net-snmp 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::client net-snmp-debuginfo 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::client net-snmp-devel 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::client net-snmp-libs 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::client net-snmp-perl 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::client net-snmp-python 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::client net-snmp-utils 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::computenode net-snmp 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::computenode net-snmp-debuginfo 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::computenode net-snmp-devel 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::computenode net-snmp-libs 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::computenode net-snmp-perl 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::computenode net-snmp-python 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::computenode net-snmp-utils 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::server net-snmp 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::server net-snmp-debuginfo 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::server net-snmp-devel 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::server net-snmp-libs 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::server net-snmp-perl 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::server net-snmp-python 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::server net-snmp-utils 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::workstation net-snmp 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::workstation net-snmp-debuginfo 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::workstation net-snmp-devel 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::workstation net-snmp-libs 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::workstation net-snmp-perl 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::workstation net-snmp-python 0 1:5.5-54.el6
Red Hat:enterprise_linux:6::workstation net-snmp-utils 0 1:5.5-54.el6
Red Hat:enterprise_linux:7::client net-snmp 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::client net-snmp-agent-libs 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::client net-snmp-debuginfo 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::client net-snmp-devel 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::client net-snmp-gui 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::client net-snmp-libs 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::client net-snmp-perl 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::client net-snmp-python 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::client net-snmp-sysvinit 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::client net-snmp-utils 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::computenode net-snmp 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::computenode net-snmp-agent-libs 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::computenode net-snmp-debuginfo 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::computenode net-snmp-devel 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::computenode net-snmp-gui 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::computenode net-snmp-libs 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::computenode net-snmp-perl 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::computenode net-snmp-python 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::computenode net-snmp-sysvinit 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::computenode net-snmp-utils 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::server net-snmp 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::server net-snmp-agent-libs 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::server net-snmp-debuginfo 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::server net-snmp-devel 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::server net-snmp-gui 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::server net-snmp-libs 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::server net-snmp-perl 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::server net-snmp-python 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::server net-snmp-sysvinit 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::server net-snmp-utils 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::workstation net-snmp 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::workstation net-snmp-agent-libs 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::workstation net-snmp-debuginfo 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::workstation net-snmp-devel 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::workstation net-snmp-gui 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::workstation net-snmp-libs 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::workstation net-snmp-perl 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::workstation net-snmp-python 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::workstation net-snmp-sysvinit 0 1:5.7.2-24.el7
Red Hat:enterprise_linux:7::workstation net-snmp-utils 0 1:5.7.2-24.el7
Ubuntu:14.04:LTS net-snmp 0 5.7.2~dfsg-8.1ubuntu3.1
openSUSE:Tumbleweed net-snmp 0 5.7.3-8.4

Related vulnerabilities