{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-3059 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-3059 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-3059 is a high-severity command injection vulnerability in Paloaltonetworks Pan-Os, published on 10 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-3059 and fix it if it is affected.\n\nWhat it is: CVE-2021-3059 is a high-severity command injection vulnerability in Paloaltonetworks Pan-Os, published on 10 Nov 2021. 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-2021-3059 in the wild and no public exploit code.\n\nAffected product: Paloaltonetworks Pan-Os. 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-2021-3059/ (Markdown: https://insights.sbomify.com/CVE-2021-3059/index.md)","id":"CVE-2021-3059","markdown":"https://insights.sbomify.com/CVE-2021-3059/index.md","name":"CVE-2021-3059","record":{"aliases":["GHSA-56p7-mg8r-j8fj"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"PAN-OS firewall","requires_auth":"none","summary":"A man-in-the-middle attacker can execute arbitrary OS commands during dynamic updates to escalate privileges on PAN-OS firewalls.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"palo_alto","cpe":[{"product":"pan-os","vendor":"paloaltonetworks"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"An OS command injection vulnerability in the Palo Alto Networks PAN-OS management interface exists when performing dynamic updates. This vulnerability enables a man-in-the-middle attacker to execute arbitrary OS commands to escalate privileges. This issue impacts: PAN-OS 8.1 versions earlier than PAN-OS 8.1.20-h1; PAN-OS 9.0 versions earlier than PAN-OS 9.0.14-h3; PAN-OS 9.1 versions earlier than PAN-OS 9.1.11-h2; PAN-OS 10.0 versions earlier than PAN-OS 10.0.8; PAN-OS 10.1 versions earlier than PAN-OS 10.1.3. Prisma Access customers that have Prisma Access 2.1 Preferred or Prisma Access 2.1 Innovation firewalls are impacted by this issue.","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":"PAN-OS: OS Command Injection Vulnerability When Performing Dynamic Updates","id":"CVE-2021-3059","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"paloaltonetworks:pan-os","products":["paloaltonetworks:pan-os"],"type":"command_injection","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"PAN-OS: OS Command Injection in Simple Certificate Enrollment Protocol (SCEP)","id":"CVE-2021-3060"},"packages":[],"prev":{"headline":"PAN-OS: OS Command Injection Vulnerability in Web Interface XML API","id":"CVE-2021-3058"},"products":["PAN-OS","Prisma Access"],"published":"2021-11-10","related":[{"cvss_score":10,"headline":"Palo Alto Networks PAN-OS Command Injection","id":"CVE-2024-3400","kev_date_added":"2024-04-12","published":"2024-04-12"},{"cvss_score":10,"headline":"Palo Alto Networks PAN-OS Authentication Bypass","id":"CVE-2020-2021","kev_date_added":"2022-03-25","published":"2020-06-29"},{"cvss_score":9.8,"headline":"Palo Alto Networks PAN-OS Remote Code Execution","id":"CVE-2017-15944","kev_date_added":"2022-08-18","published":"2017-12-11"},{"cvss_score":9.3,"headline":"Palo Alto Networks PAN-OS Out-of-bounds Write","id":"CVE-2026-0300","kev_date_added":"2026-05-06","published":"2026-05-06"},{"cvss_score":9.3,"headline":"Palo Alto Networks PAN-OS Management Interface Authentication Bypass","id":"CVE-2024-0012","kev_date_added":"2024-11-18","published":"2024-11-18"},{"cvss_score":9.2,"headline":"PHP Memory Corruption","id":"CVE-2026-109618","kev_date_added":"2026-10-26","published":"2026-10-21"},{"cvss_score":9.2,"headline":"PHP Stale Internal Request-State","id":"CVE-2026-109619","kev_date_added":"2026-10-26","published":"2026-10-21"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["Palo Alto Networks"]},"summary":"A man-in-the-middle attacker can execute arbitrary OS commands during dynamic updates to escalate privileges on PAN-OS firewalls.","url":"https://insights.sbomify.com/CVE-2021-3059/"}