{"answers":{"affected":"It affects 2 products.","exploited":"Yes. Attackers have exploited CVE-2024-20359 in the wild since at least 24 Apr 2024.","fix":"No fix has been published for CVE-2024-20359 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 1 May 2024.","what":"CVE-2024-20359 is a medium-severity code injection vulnerability in Cisco Adaptive Security Appliance Software, published on 24 Apr 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-20359 and fix it if it is affected.\n\nWhat it is: CVE-2024-20359 is a medium-severity code injection vulnerability in Cisco Adaptive Security Appliance Software, published on 24 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2024-20359 in the wild since at least 24 Apr 2024.\n\nAffected product: Cisco Adaptive Security Appliance Software. 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-20359/ (Markdown: https://insights.sbomify.com/CVE-2024-20359/index.md)","id":"CVE-2024-20359","markdown":"https://insights.sbomify.com/CVE-2024-20359/index.md","name":"CVE-2024-20359","record":{"aliases":["GHSA-rqwm-368v-fp53"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Cisco ASA/FTD","requires_auth":"high_privilege","summary":"Authenticated local attackers can execute arbitrary code with root privileges by placing a crafted file in system flash memory on Cisco ASA or FTD devices.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cisco","cpe":[{"product":"adaptive_security_appliance_software","vendor":"cisco"},{"product":"secure_firewall_threat_defense","vendor":"cisco"}],"cvss":{"score":6,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"A vulnerability in a legacy capability that allowed for the preloading of VPN clients and plug-ins and that has been available in Cisco Adaptive Security Appliance (ASA) Software and Cisco Firepower Threat Defense (FTD) Software could allow an authenticated, local attacker to execute arbitrary code with root-level privileges. Administrator-level privileges are required to exploit this vulnerability.\r\n\r This vulnerability is due to improper validation of a file when it is read from system flash memory. An attacker could exploit this vulnerability by copying a crafted file to the disk0: file system of an affected device. A successful exploit could allow the attacker to execute arbitrary code on the affected device after the next reload of the device, which could alter system behavior. Because the injected code could persist across device reboots, Cisco has raised the Security Impact Rating (SIR) of this advisory from Medium to High.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"exploited"},"has_fix":null,"headline":"Cisco ASA and FTD Privilege Escalation","id":"CVE-2024-20359","indexable":true,"kev":{"dateAdded":"2024-04-24","dueDate":"2024-05-01","knownRansomwareCampaignUse":"Unknown","product":"Adaptive Security Appliance (ASA) and Firepower Threat Defense (FTD)","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","vendorProject":"Cisco","vulnerabilityName":"Cisco ASA and FTD Privilege Escalation Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"cisco:adaptive_security_appliance_software","products":["cisco:adaptive_security_appliance_software","cisco:secure_firewall_threat_defense"],"type":"code_injection","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"SQL injection in Cisco Firepower Management Center","id":"CVE-2024-20360"},"packages":[],"prev":{"headline":"Command injection in Cisco Secure Firewall Adaptive Security Appliance (ASA) Software","id":"CVE-2024-20358"},"products":["Cisco Adaptive Security Appliance (ASA) Software","Cisco Firepower Threat Defense Software"],"published":"2024-04-24","related":[{"cvss_score":9.9,"headline":"Cisco Secure Firewall Adaptive Security Appliance (ASA) and Secure Firewall Threat Defense (FTD) Buffer Overflow","id":"CVE-2025-20333","kev_date_added":"2025-09-25","published":"2025-09-25"},{"cvss_score":8.8,"headline":"Cisco Adaptive Security Appliance (ASA) SNMP Buffer Overflow","id":"CVE-2016-6366","kev_date_added":"2022-05-24","published":"2016-08-18"},{"cvss_score":8.6,"headline":"Cisco Secure Firewall Adaptive Security Appliance (ASA) and Secure Firewall Threat Defense (FTD) Heap Inspection","id":"CVE-2026-20349","kev_date_added":"2026-08-11","published":"2026-08-11"},{"cvss_score":8.6,"headline":"Cisco ASA and FTD Denial of Service","id":"CVE-2024-20353","kev_date_added":"2024-04-24","published":"2024-04-24"},{"cvss_score":7.8,"headline":"Cisco Adaptive Security Appliance (ASA) CLI Remote Code Execution","id":"CVE-2016-6367","kev_date_added":"2022-05-24","published":"2016-08-18"},{"cvss_score":7.5,"headline":"Cisco ASA and FTD Read-Only Path Traversal","id":"CVE-2020-3452","kev_date_added":"2021-11-03","published":"2020-07-22"},{"cvss_score":7.5,"headline":"Cisco ASA and FTD Information Disclosure","id":"CVE-2020-3259","kev_date_added":"2024-02-15","published":"2020-05-06"}],"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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["Cisco"]},"summary":"Authenticated local attackers can execute arbitrary code with root privileges by placing a crafted file in system flash memory on Cisco ASA or FTD devices.","url":"https://insights.sbomify.com/CVE-2024-20359/"}