collectd up to 5.6.2 SNMP Plugin snmp.c csnmp_read_table double free
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.4 | $0-$5k | 0.00 |
Summary
A vulnerability was found in collectd up to 5.6.2. It has been rated as critical. This affects the function csnmp_read_table of the file snmp.c of the component SNMP Plugin. The manipulation leads to double free.
This vulnerability is listed as CVE-2017-16820. The attack may be initiated remotely. There is no available exploit.
Upgrading the affected component is advised.
Details
A vulnerability was found in collectd up to 5.6.2. It has been rated as critical. This issue affects the function csnmp_read_table of the file snmp.c of the component SNMP Plugin. The manipulation with an unknown input leads to a double free vulnerability. Using CWE to declare the problem leads to CWE-415. The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
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).
The bug was discovered 11/14/2017. The weakness was presented 11/14/2017 (Website). It is possible to read the advisory at bugs.debian.org. The identification of this vulnerability is CVE-2017-16820 since 11/14/2017. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 105139 (Fedora 26 : collectd (2017-f9cfcef9d6)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 236793 (Red Hat Update for collectd (RHSA-2018:1605)).
Upgrading to version 5.6.3 eliminates this vulnerability. A possible mitigation has been published 4 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (105139). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Name
Version
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.5VulDB Meta Temp Score: 8.4
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Double freeCWE: CWE-415 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 105139
Nessus Name: Fedora 26 : collectd (2017-f9cfcef9d6)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 867783
OpenVAS Name: Fedora Update for collectd FEDORA-2017-f47206eae4
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: collectd 5.6.3
Patch: github.com
Timeline
11/14/2017 🔍11/14/2017 🔍
11/14/2017 🔍
11/14/2017 🔍
11/15/2017 🔍
12/09/2017 🔍
12/11/2017 🔍
01/10/2023 🔍
Sources
Product: github.comAdvisory: FEDORA-2017-f9cfcef9d6
Status: Not defined
Confirmation: 🔍
CVE: CVE-2017-16820 (🔍)
GCVE (CVE): GCVE-0-2017-16820
GCVE (VulDB): GCVE-100-109403
Entry
Created: 11/15/2017 11:19Updated: 01/10/2023 11:28
Changes: 11/15/2017 11:19 (74), 12/06/2019 15:13 (3), 01/10/2023 11:20 (6), 01/10/2023 11:28 (1)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.