{"answers":{"affected":"It affects 15 products.","exploited":"Yes. Attackers have exploited CVE-2021-22986 in the wild since at least 3 Nov 2021, including in ransomware campaigns.","fix":"No fix has been published for CVE-2021-22986 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 17 Nov 2021.","what":"CVE-2021-22986 is a critical command injection vulnerability in F5 Big-Ip Access Policy Manager, published on 31 Mar 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-22986 and fix it if it is affected.\n\nWhat it is: CVE-2021-22986 is a critical command injection vulnerability in F5 Big-Ip Access Policy Manager, published on 31 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2021-22986 in the wild since at least 3 Nov 2021, including in ransomware campaigns.\n\nAffected product: F5 Big-Ip Access Policy Manager. 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-22986/ (Markdown: https://insights.sbomify.com/CVE-2021-22986/index.md)","id":"CVE-2021-22986","markdown":"https://insights.sbomify.com/CVE-2021-22986/index.md","name":"CVE-2021-22986","record":{"aliases":["GHSA-8489-vwcj-fxfr"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"F5 BIG-IP","requires_auth":"none","summary":"Unauthenticated remote attackers can execute arbitrary commands on F5 BIG-IP and BIG-IQ devices via the iControl REST interface.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"f5","cpe":[{"product":"big-ip_access_policy_manager","vendor":"f5"},{"product":"big-ip_advanced_firewall_manager","vendor":"f5"},{"product":"big-ip_advanced_web_application_firewall","vendor":"f5"},{"product":"big-ip_analytics","vendor":"f5"},{"product":"big-ip_application_acceleration_manager","vendor":"f5"},{"product":"big-ip_application_security_manager","vendor":"f5"},{"product":"big-ip_ddos_hybrid_defender","vendor":"f5"},{"product":"big-ip_domain_name_system","vendor":"f5"},{"product":"big-ip_fraud_protection_service","vendor":"f5"},{"product":"big-ip_global_traffic_manager","vendor":"f5"},{"product":"big-ip_link_controller","vendor":"f5"},{"product":"big-ip_local_traffic_manager","vendor":"f5"},{"product":"big-ip_policy_enforcement_manager","vendor":"f5"},{"product":"big-iq_centralized_management","vendor":"f5"},{"product":"ssl_orchestrator","vendor":"f5"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"On BIG-IP versions 16.0.x before 16.0.1.1, 15.1.x before 15.1.2.1, 14.1.x before 14.1.4, 13.1.x before 13.1.3.6, and 12.1.x before 12.1.5.3 amd BIG-IQ 7.1.0.x before 7.1.0.3 and 7.0.0.x before 7.0.0.2, the iControl REST interface has an unauthenticated remote command execution vulnerability. Note: Software versions which have reached End of Software Development (EoSD) are not evaluated.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2021-03-10","github_poc":15,"max_poc_stars":91,"metasploit":1,"nuclei":1,"refs":[{"date":"2021-03-22T07:13:50Z","kind":"github_poc","ref":"https://github.com/Al1ex/CVE-2021-22986","stars":91,"title":"CVE-2021-22986 \u0026 F5 BIG-IP RCE"},{"date":"2021-03-17T05:02:45Z","kind":"github_poc","ref":"https://github.com/dorkerdevil/CVE-2021-22986-Poc","stars":51,"title":"This is a Poc for BIGIP iControl unauth RCE "},{"date":"2021-03-19T18:50:22Z","kind":"github_poc","ref":"https://github.com/S1xHcL/f5_rce_poc","stars":26,"title":"cve-2021-22986 f5 rce 漏洞批量检测 poc"},{"date":"2021-03-29T05:56:21Z","kind":"github_poc","ref":"https://github.com/Tas9er/CVE-2021-22986","stars":13,"title":"Code By:Tas9er / F5 BIG-IP 远程命令执行漏洞"},{"date":"2022-05-28T13:30:22Z","kind":"github_poc","ref":"https://github.com/west9b/F5-BIG-IP-POC","stars":10,"title":"CVE-2020-5902 CVE-2021-22986 CVE-2022-1388 POC集合"},{"date":"2021-03-26T03:32:06Z","kind":"github_poc","ref":"https://github.com/yaunsky/CVE-202122986-EXP","stars":8,"title":"F5 BIG-IP远程代码执行；cve-2021-22986，批量检测；命令执行利用"},{"date":"2021-03-21T07:40:51Z","kind":"github_poc","ref":"https://github.com/safesword/F5_RCE","stars":4,"title":"CVE-2021-22986 F5 BIG-IP iControl 命令执行漏洞"},{"date":"2021-03-23T02:04:39Z","kind":"github_poc","ref":"https://github.com/ZephrFish/CVE-2021-22986_Check","stars":3,"title":"CVE-2021-22986 Checker Script in Python3"}],"tier":"exploited"},"has_fix":null,"headline":"F5 BIG-IP and BIG-IQ Centralized Management iControl REST Remote Code Execution","id":"CVE-2021-22986","indexable":true,"kev":{"dateAdded":"2021-11-03","dueDate":"2021-11-17","knownRansomwareCampaignUse":"Known","product":"BIG-IP and BIG-IQ Centralized Management","requiredAction":"Apply updates per vendor instructions.","vendorProject":"F5","vulnerabilityName":"F5 BIG-IP and BIG-IQ Centralized Management iControl REST Remote Code Execution Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"f5:big-ip_access_policy_manager","products":["f5:big-ip_access_policy_manager","f5:big-ip_advanced_firewall_manager","f5:big-ip_advanced_web_application_firewall","f5:big-ip_analytics","f5:big-ip_application_acceleration_manager","f5:big-ip_application_security_manager","f5:big-ip_ddos_hybrid_defender","f5:big-ip_domain_name_system","f5:big-ip_fraud_protection_service","f5:big-ip_global_traffic_manager","f5:big-ip_link_controller","f5:big-ip_local_traffic_manager","f5:big-ip_policy_enforcement_manager","f5:big-iq_centralized_management"],"type":"command_injection","year":"2021"},"n_packages":0,"n_references":3,"next":{"headline":"Command injection in BIG-IP Appliance Mode","id":"CVE-2021-22987"},"packages":[],"prev":{"headline":"Denial of service in BIG-IP APM","id":"CVE-2021-22985"},"products":["BIG-IP; BIG-IQ"],"published":"2021-03-31","related":[{"cvss_score":9.8,"headline":"F5 BIG-IP Configuration Utility Authentication Bypass","id":"CVE-2023-46747","kev_date_added":"2023-10-31","published":"2023-10-26"},{"cvss_score":9.8,"headline":"F5 BIG-IP Missing Authentication","id":"CVE-2022-1388","kev_date_added":"2022-05-10","published":"2022-05-05"},{"cvss_score":9.8,"headline":"F5 BIG-IP Traffic Management Microkernel Buffer Overflow","id":"CVE-2021-22991","kev_date_added":"2022-01-18","published":"2021-03-31"},{"cvss_score":9.8,"headline":"F5 BIG-IP Traffic Management User Interface (TMUI) Remote Code Execution","id":"CVE-2020-5902","kev_date_added":"2021-11-03","published":"2020-07-01"},{"cvss_score":9.3,"headline":"F5 BIG-IP APM Heap-based Buffer Overflow","id":"CVE-2026-94127","kev_date_added":"2026-09-22","published":"2026-09-22"},{"cvss_score":9.3,"headline":"F5 BIG-IP Stack-Based Buffer Overflow","id":"CVE-2025-53521","kev_date_added":"2026-03-27","published":"2025-10-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":"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Unauthenticated remote attackers can execute arbitrary commands on F5 BIG-IP and BIG-IQ devices via the iControl REST interface.","url":"https://insights.sbomify.com/CVE-2021-22986/"}