CVE-2017-7401 Denial of service in n/a

High 7.5 Published Updated

Remote attackers can cause a denial of service via infinite loop in collectd when configured with SecurityLevel None and empty AuthFile.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-7401?

CVE-2017-7401 is a high-severity denial of service vulnerability in n/a, published on 3 Apr 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Incorrect interaction of the parse_packet() and parse_part_sign_sha256() functions in network.c in collectd 5.7.1 and earlier allows remote attackers to cause a denial of service (infinite loop) of a collectd instance (configured with "SecurityLevel None" and with empty "AuthFile" options) via a crafted UDP packet.

Weakness: CWE-835

Which versions are affected by CVE-2017-7401?

It affects 1 product.

Linux distribution packages (40)
collectd Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-apache Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-ascent Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-bind Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-ceph Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-chrony Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-curl Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-curl_json Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-curl_xml Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-dbi Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-debuginfo Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-disk Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-dns Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-drbd Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-email Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-generic-jmx Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-hugepages Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-ipmi Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-iptables Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-ipvs Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-java Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-log_logstash Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-lvm Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-mysql Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-netlink Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-nginx Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-notify_desktop Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-notify_email Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-openldap Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-ping Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-postgresql Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-rrdcached Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-rrdtool Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-sensors Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-smart Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-snmp Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-turbostat Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-utils Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-virt Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7
collectd-write_http Red Hat:enterprise_linux:7::hypervisorAll versions0:5.7.1-4.el7

Products include Collectd Collectd.

How do I fix CVE-2017-7401?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2017-7401 being exploited?

There is no known exploitation of CVE-2017-7401 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2017-7401, DEBIAN-CVE-2017-7401, DLA-884-1, GHSA-3f98-9h78-w5jh, RHSA-2017:1285, RHSA-2017:1787 and 3 more.

Is CVE-2017-7401 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free