{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-20328 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2024-20328 is a medium-severity command injection vulnerability in Clamav Clamav, published on 1 Mar 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-20328 and fix it if it is affected.\n\nWhat it is: CVE-2024-20328 is a medium-severity command injection vulnerability in Clamav Clamav, published on 1 Mar 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-20328 in the wild and no public exploit code.\n\nAffected product: Clamav Clamav. 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-20328/ (Markdown: https://insights.sbomify.com/CVE-2024-20328/index.md)","id":"CVE-2024-20328","markdown":"https://insights.sbomify.com/CVE-2024-20328/index.md","name":"CVE-2024-20328","record":{"aliases":["AZL-35428","AZL-35431","CLEANSTART-2026-XI94968","DEBIAN-CVE-2024-20328","GHSA-vhq6-cjc8-x8v9","UBUNTU-CVE-2024-20328"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"ClamAV antivirus","requires_auth":"low_privilege","summary":"Local attackers can execute arbitrary commands via malicious filenames in ClamAV's VirusEvent feature, requiring specific configuration settings.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cisco","cpe":[{"product":"clamav","vendor":"clamav"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"A vulnerability in the VirusEvent feature of ClamAV could allow a local attacker to inject arbitrary commands with the privileges of the application service account.The vulnerability is due to unsafe handling of file names. A local attacker could exploit this vulnerability by supplying a file name containing command-line sequences. When processed on a system using configuration options for the VirusEvent feature, the attacker could cause the application to execute arbitrary commands.\nClamAV has released software updates that address this vulnerability. There are no workarounds that address this vulnerability.","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":"ClamAV VirusEvent File Processing Command Injection Vulnerability","id":"CVE-2024-20328","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"clamav:clamav","products":["clamav:clamav"],"type":"command_injection","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Cisco Adaptive Security Appliance Software Remote Command Injection Vulnerability","id":"CVE-2024-20329"},"packages":[],"prev":{"headline":"Denial of service in Cisco IOS XR Software","id":"CVE-2024-20327"},"products":["ClamAV"],"published":"2024-03-01","related":[{"cvss_score":10,"headline":"Security feature bypass in n/a","id":"CVE-2010-0098","kev_date_added":null,"published":"2010-04-08"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2009-1372","kev_date_added":null,"published":"2009-04-23"},{"cvss_score":10,"headline":"Denial of service in n/a","id":"CVE-2008-3914","kev_date_added":null,"published":"2008-09-09"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2008-0728","kev_date_added":null,"published":"2008-02-12"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2006-1615","kev_date_added":null,"published":"2006-04-06"},{"cvss_score":9.8,"headline":"ClamAV PDF Scanning Buffer Overflow Vulnerability","id":"CVE-2025-20260","kev_date_added":null,"published":"2025-06-18"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2013-7087","kev_date_added":null,"published":"2019-11-15"}],"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":"total"},"state":"PUBLISHED","updated":"2025-11-04","vendors":["Cisco"]},"summary":"Local attackers can execute arbitrary commands via malicious filenames in ClamAV's VirusEvent feature, requiring specific configuration settings.","url":"https://insights.sbomify.com/CVE-2024-20328/"}