{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2021-3061 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-3061 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-3061 is a medium-severity command injection vulnerability in Paloaltonetworks Pan-Os, published on 10 Nov 2021. 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-2021-3061 and fix it if it is affected.\n\nWhat it is: CVE-2021-3061 is a medium-severity command injection vulnerability in Paloaltonetworks Pan-Os, published on 10 Nov 2021. 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-2021-3061 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-3061/ (Markdown: https://insights.sbomify.com/CVE-2021-3061/index.md)","id":"CVE-2021-3061","markdown":"https://insights.sbomify.com/CVE-2021-3061/index.md","name":"CVE-2021-3061","record":{"aliases":["GHSA-xj9p-2g8h-8rmg"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"PAN-OS firewall","requires_auth":"high_privilege","summary":"Authenticated administrators can execute arbitrary OS commands via the CLI 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"},{"product":"prisma_access","vendor":"paloaltonetworks"}],"cvss":{"score":6.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:H/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 command line interface (CLI) enables an authenticated administrator with access to the CLI 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 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 in the Command Line Interface (CLI)","id":"CVE-2021-3061","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: Improper Access Control Vulnerability Exposing AWS Instance Metadata Endpoint to GlobalProtect Users","id":"CVE-2021-3062"},"packages":[],"prev":{"headline":"PAN-OS: OS Command Injection in Simple Certificate Enrollment Protocol (SCEP)","id":"CVE-2021-3060"},"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":"Authenticated administrators can execute arbitrary OS commands via the CLI to escalate privileges on PAN-OS firewalls.","url":"https://insights.sbomify.com/CVE-2021-3061/"}