SB2021031547 - Ubuntu update for collectd
Published: March 15, 2021 Updated: October 31, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 3 vulnerabilities.
1) Heap-based buffer overflow (CVE-ID: CVE-2016-6254)
CWE-ID: CWE-122 - Heap-based Buffer Overflow
CVSSv4: 8.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in Heap-based buffer overflow in the parse_packet function in network.c in collectd before 5.4.3 and 5.x before 5.5.2. A remote attacker can use a crafted network packet. to trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
2) Denial of service (CVE-ID: CVE-2017-16820)
CWE-ID: CWE-415 - Double Free
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote unauthenticated attacker to cause DoS condition on the target system.
The weakness exists due to the csnmp_read_table function in the snmp.c code in the SNMP plug-in of the collectd daemon. A remote attacker can send specially crafted input to the target system, trigger a double-free memory condition and cause the collected daemon to crash.
3) Infinite loop (CVE-ID: CVE-2017-7401)
CWE-ID: CWE-399 - Resource Management Errors
CVSSv4: 5.3 [CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to cause denial of service (DoS) conditions.
The vulnerability exists due to improper input validation when processing UDP requests within the parse_packet() and parse_part_sign_sha256() functions in network.c.A remote attacker can send specially crafted UDP packets to vulnerable instance of collectd and trigger infinite loop.
Successful exploitation of the vulnerability may allow an attacker to cause denial of service (DoS) conditions, but requires that collectd is configured with "SecurityLevel None" and with empty "AuthFile" options.
Remediation
Install update from vendor's website.