CVEfocus › CVE database › CVE-2017-16820

CVE-2017-16820

CVSS 9.8 CriticalEPSS 3.6% (higher than 90% of CVEs)Published 2017-11-14Updated 2024-08-05Assigner: mitre

The csnmp_read_table function in snmp.c in the SNMP plugin in collectd before 5.6.3 is susceptible to a double free in a certain error case, which could lead to a crash (or potentially have other impact).

What to do

Fixed builds are available from Alpine, Debian, Red Hat: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

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

48Fixed
2Fix pending
2Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04collectdNot affected
vulnerable_code_not_present
Ubuntu 18.04collectdNot affected
vulnerable_code_not_present
Ubuntu 16.04collectdFix pending5.5.1-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2017-16820
Ubuntu 14.04collectdFix pending5.4.0-3ubuntu2.2+esm1 (Ubuntu Pro)UBUNTU-CVE-2017-16820
Debian 13collectdFixed5.8.0-1DEBIAN-CVE-2017-16820
Debian 12collectdFixed5.8.0-1DEBIAN-CVE-2017-16820
Red Hat Enterprise Linux 7collectdFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-apacheFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-ascentFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-bindFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-cephFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-chronyFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-curlFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-curl_jsonFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-curl_xmlFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-dbiFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-diskFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-dnsFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-drbdFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-emailFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-generic-jmxFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-hugepagesFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-ipmiFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-iptablesFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-ipvsFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-javaFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-log_logstashFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-lvmFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-mysqlFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-netlinkFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-nginxFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-notify_emailFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-openldapFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-pingFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-postgresqlFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-rrdcachedFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-rrdtoolFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-sensorsFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-smartFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-snmpFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-turbostatFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-utilsFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-virtFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-write_httpFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-write_riemannFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-write_sensuFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-write_tsdbFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7collectd-zookeeperFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7libcollectdclientFixed0:5.8.0-3.el7RHSA-2018:0560
Red Hat Enterprise Linux 7libcollectdclient-develFixed0:5.8.0-3.el7RHSA-2018:0560
Alpine Linux 3.6collectdFixed5.6.2-r1ALPINE-CVE-2017-16820
Alpine Linux 3.5collectdFixed5.6.2-r1ALPINE-CVE-2017-16820

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

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.