{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-8006 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2024-8006 is a medium-severity vulnerability in The Tcpdump Group libpcap, published on 30 Aug 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-8006 and fix it if it is affected.\n\nWhat it is: CVE-2024-8006 is a medium-severity vulnerability in The Tcpdump Group libpcap, published on 30 Aug 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-8006 in the wild and no public exploit code.\n\nAffected product: The Tcpdump Group libpcap. 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-2024-8006/ (Markdown: https://insights.sbomify.com/CVE-2024-8006/index.md)","id":"CVE-2024-8006","markdown":"https://insights.sbomify.com/CVE-2024-8006/index.md","name":"CVE-2024-8006","record":{"aliases":["AZL-48409","AZL-48412","AZL-48438","AZL-48462","CLEANSTART-2026-MM14212","DEBIAN-CVE-2024-8006","GHSA-gj9v-677h-mwcx","JLSEC-2026-765","ROOT-OS-ALPINE-320-CVE-2024-8006"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"libpcap network library","requires_auth":"high_privilege","summary":"A NULL pointer dereference in libpcap's remote packet capture feature can cause a denial of service when enabled.","user_interaction":"not_required","vuln_class":"null_dereference"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Tcpdump","cpe":[{"product":"libpcap","vendor":"tcpdump"}],"cvss":{"score":4.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"description":"Remote packet capture support is disabled by default in libpcap.  When a user builds libpcap with remote packet capture support enabled, one of the functions that become available is pcap_findalldevs_ex().  One of the function arguments can be a filesystem path, which normally means a directory with input data files.  When the specified path cannot be used as a directory, the function receives NULL from opendir(), but does not check the return value and passes the NULL value to readdir(), which causes a NULL pointer derefence.","ecosystems":[],"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":"NULL pointer dereference in libpcap before 1.10.5 with remote packet capture support","id":"CVE-2024-8006","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"null_dereference","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"Openstack-tripleo-common: rhosp director disables tls verification for registry mirrors","id":"CVE-2024-8007"},"packages":[],"prev":{"headline":"demozx gf_cms JWT Authentication auth.go init hard-coded credentials","id":"CVE-2024-8005"},"products":["libpcap"],"published":"2024-08-30","related":[{"cvss_score":9.8,"headline":"Information disclosure in n/a","id":"CVE-2011-1935","kev_date_added":null,"published":"2017-10-20"},{"cvss_score":7.5,"headline":"Null dereference in n/a","id":"CVE-2019-15163","kev_date_added":null,"published":"2019-10-03"},{"cvss_score":5.3,"headline":"Integer overflow in n/a","id":"CVE-2019-15161","kev_date_added":null,"published":"2019-10-03"},{"cvss_score":5.3,"headline":"Information disclosure in n/a","id":"CVE-2019-15162","kev_date_added":null,"published":"2019-10-03"},{"cvss_score":5.3,"headline":"Server-side request forgery in n/a","id":"CVE-2019-15164","kev_date_added":null,"published":"2019-10-03"},{"cvss_score":4.4,"headline":"Double-free in libpcap before 1.10.5 with remote packet capture support.","id":"CVE-2023-7256","kev_date_added":null,"published":"2024-08-30"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-03","vendors":["The Tcpdump Group"]},"summary":"A NULL pointer dereference in libpcap's remote packet capture feature can cause a denial of service when enabled.","url":"https://insights.sbomify.com/CVE-2024-8006/"}