{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-12830 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-12830 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-12830 is a high-severity path traversal vulnerability in Arista NG Firewall, published on 20 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-12830 and fix it if it is affected.\n\nWhat it is: CVE-2024-12830 is a high-severity path traversal vulnerability in Arista NG Firewall, published on 20 Dec 2024. 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-2024-12830 in the wild and no public exploit code.\n\nAffected product: Arista NG Firewall. 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-12830/ (Markdown: https://insights.sbomify.com/CVE-2024-12830/index.md)","id":"CVE-2024-12830","markdown":"https://insights.sbomify.com/CVE-2024-12830/index.md","name":"CVE-2024-12830","record":{"aliases":["GHSA-g2qv-6658-vpj8"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Arista NG Firewall","requires_auth":"none","summary":"Remote attackers can execute arbitrary code on Arista NG Firewall via directory traversal in custom_handler without authentication.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"zdi","cpe":[{"product":"ng_firewall","vendor":"arista"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Arista NG Firewall custom_handler Directory Traversal Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Arista NG Firewall. Authentication is not required to exploit this vulnerability.\n\nThe specific flaw exists within the implementation of the custom_handler method. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to execute code in the context of the www-data user. Was ZDI-CAN-24019.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Arista NG Firewall custom_handler Directory Traversal Remote Code Execution Vulnerability","id":"CVE-2024-12830","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Arista NG Firewall uvm_login Incorrect Authorization Privilege Escalation Vulnerability","id":"CVE-2024-12831"},"packages":[],"prev":{"headline":"Arista NG Firewall ExecManagerImpl Command Injection Remote Code Execution Vulnerability","id":"CVE-2024-12829"},"products":["NG Firewall"],"published":"2024-12-20","related":[{"cvss_score":8.8,"headline":"Arista NG Firewall User-Agent Cross-Site Scripting Remote Code Execution Vulnerability","id":"CVE-2025-2767","kev_date_added":null,"published":"2025-04-23"},{"cvss_score":8.8,"headline":"Specially constructed queries cause cross platform scripting leaking administrator tokens","id":"CVE-2024-9188","kev_date_added":null,"published":"2025-01-10"},{"cvss_score":8.8,"headline":"SQL injection in Arista Edge Threat Management - Arista NG Firewall (NGFW)","id":"CVE-2024-27889","kev_date_added":null,"published":"2024-03-04"},{"cvss_score":8.3,"headline":"Backup uploads to ETM subject to man-in-the-middle interception","id":"CVE-2024-47519","kev_date_added":null,"published":"2025-01-10"},{"cvss_score":8.3,"headline":"SQL injection in Arista Edge Threat Management","id":"CVE-2024-9134","kev_date_added":null,"published":"2025-01-10"},{"cvss_score":8.3,"headline":"Arista NG Firewall ReportEntry SQL Injection Arbitrary File Read and Write Vulnerability","id":"CVE-2024-12832","kev_date_added":null,"published":"2024-12-20"},{"cvss_score":8.1,"headline":"The administrator is able to configure an insecure captive portal script","id":"CVE-2024-9132","kev_date_added":null,"published":"2025-01-10"}],"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":"2024-12-20","vendors":["Arista"]},"summary":"Remote attackers can execute arbitrary code on Arista NG Firewall via directory traversal in custom_handler without authentication.","url":"https://insights.sbomify.com/CVE-2024-12830/"}