{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2017-16820 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2017-16820 is a critical use after free vulnerability in n/a, published on 14 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-16820 and fix it if it is affected.\n\nWhat it is: CVE-2017-16820 is a critical use after free vulnerability in n/a, published on 14 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2017-16820 in the wild and no public exploit code.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2017-16820/ (Markdown: https://insights.sbomify.com/CVE-2017-16820/index.md)","id":"CVE-2017-16820","markdown":"https://insights.sbomify.com/CVE-2017-16820/index.md","name":"CVE-2017-16820","record":{"aliases":["ALPINE-CVE-2017-16820","DEBIAN-CVE-2017-16820","GHSA-fh5v-r835-mw7v","RHSA-2018:0252","RHSA-2018:0299","RHSA-2018:0560","RHSA-2018:1605","UBUNTU-CVE-2017-16820"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"collectd SNMP plugin","requires_auth":"none","summary":"A double free vulnerability in the collectd SNMP plugin allows attackers to cause a denial of service via crafted input.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"collectd","vendor":"collectd"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-415","name":"Double Free"}],"description":"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).","ecosystems":["Red Hat:enterprise_linux:7::hypervisor","Red Hat:openstack-optools:10::el7","Red Hat:openstack-optools:11::el7","Red Hat:openstack-optools:12::el7","Red Hat:rhev_manager:4"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Use after free in n/a","id":"CVE-2017-16820","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"use_after_free","year":"2017"},"n_packages":227,"n_references":10,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2017-16821"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd","purl":"pkg:rpm/redhat/collectd","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-apache","purl":"pkg:rpm/redhat/collectd-apache","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-ascent","purl":"pkg:rpm/redhat/collectd-ascent","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-bind","purl":"pkg:rpm/redhat/collectd-bind","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-ceph","purl":"pkg:rpm/redhat/collectd-ceph","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-chrony","purl":"pkg:rpm/redhat/collectd-chrony","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-curl","purl":"pkg:rpm/redhat/collectd-curl","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-curl_json","purl":"pkg:rpm/redhat/collectd-curl_json","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-curl_xml","purl":"pkg:rpm/redhat/collectd-curl_xml","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-dbi","purl":"pkg:rpm/redhat/collectd-dbi","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-debuginfo","purl":"pkg:rpm/redhat/collectd-debuginfo","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-disk","purl":"pkg:rpm/redhat/collectd-disk","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-dns","purl":"pkg:rpm/redhat/collectd-dns","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-drbd","purl":"pkg:rpm/redhat/collectd-drbd","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-email","purl":"pkg:rpm/redhat/collectd-email","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-generic-jmx","purl":"pkg:rpm/redhat/collectd-generic-jmx","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-hugepages","purl":"pkg:rpm/redhat/collectd-hugepages","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-ipmi","purl":"pkg:rpm/redhat/collectd-ipmi","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-iptables","purl":"pkg:rpm/redhat/collectd-iptables","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-ipvs","purl":"pkg:rpm/redhat/collectd-ipvs","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-java","purl":"pkg:rpm/redhat/collectd-java","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-log_logstash","purl":"pkg:rpm/redhat/collectd-log_logstash","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-lvm","purl":"pkg:rpm/redhat/collectd-lvm","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-mysql","purl":"pkg:rpm/redhat/collectd-mysql","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-netlink","purl":"pkg:rpm/redhat/collectd-netlink","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-nginx","purl":"pkg:rpm/redhat/collectd-nginx","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-notify_email","purl":"pkg:rpm/redhat/collectd-notify_email","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-openldap","purl":"pkg:rpm/redhat/collectd-openldap","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-ping","purl":"pkg:rpm/redhat/collectd-ping","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-postgresql","purl":"pkg:rpm/redhat/collectd-postgresql","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-rrdcached","purl":"pkg:rpm/redhat/collectd-rrdcached","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-rrdtool","purl":"pkg:rpm/redhat/collectd-rrdtool","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-sensors","purl":"pkg:rpm/redhat/collectd-sensors","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-smart","purl":"pkg:rpm/redhat/collectd-smart","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-snmp","purl":"pkg:rpm/redhat/collectd-snmp","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-turbostat","purl":"pkg:rpm/redhat/collectd-turbostat","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-utils","purl":"pkg:rpm/redhat/collectd-utils","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-virt","purl":"pkg:rpm/redhat/collectd-virt","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-write_http","purl":"pkg:rpm/redhat/collectd-write_http","source":"RHSA-2018:0560"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:5.8.0-3.el7"],"introduced":["0"],"last_affected":[],"package":"collectd-write_riemann","purl":"pkg:rpm/redhat/collectd-write_riemann","source":"RHSA-2018:0560"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2017-16819"},"products":["n/a"],"published":"2017-11-14","related":[{"cvss_score":9.1,"headline":"Memory corruption in n/a","id":"CVE-2016-6254","kev_date_added":null,"published":"2016-08-19"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2017-7401","kev_date_added":null,"published":"2017-04-03"},{"cvss_score":5.5,"headline":"Privilege escalation in n/a","id":"CVE-2017-18240","kev_date_added":null,"published":"2018-03-19"},{"cvss_score":5,"headline":"Denial of service in n/a","id":"CVE-2010-4336","kev_date_added":null,"published":"2010-12-17"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"A double free vulnerability in the collectd SNMP plugin allows attackers to cause a denial of service via crafted input.","url":"https://insights.sbomify.com/CVE-2017-16820/"}