{"answers":{"affected":"It affects 3 products.","exploited":"Yes. Attackers have exploited CVE-2025-22457 in the wild since at least 4 Apr 2025, including in ransomware campaigns.","fix":"No fix has been published for CVE-2025-22457 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 11 Apr 2025.","what":"CVE-2025-22457 is a critical memory corruption vulnerability in Ivanti Connect Secure, published on 3 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-22457 and fix it if it is affected.\n\nWhat it is: CVE-2025-22457 is a critical memory corruption vulnerability in Ivanti Connect Secure, published on 3 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2025-22457 in the wild since at least 4 Apr 2025, including in ransomware campaigns.\n\nAffected product: Ivanti Connect Secure. 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-2025-22457/ (Markdown: https://insights.sbomify.com/CVE-2025-22457/index.md)","id":"CVE-2025-22457","markdown":"https://insights.sbomify.com/CVE-2025-22457/index.md","name":"CVE-2025-22457","record":{"aliases":["GHSA-jjr5-fpcg-gc53"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Ivanti Secure Access","requires_auth":"none","summary":"Remote unauthenticated attackers can achieve code execution via a stack-based buffer overflow in Ivanti Connect Secure, Policy Secure, and ZTA Gateways.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"ivanti","cpe":[{"product":"connect_secure","vendor":"ivanti"},{"product":"policy_secure","vendor":"ivanti"},{"product":"zero_trust_access_gateway","vendor":"ivanti"}],"cvss":{"score":9,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"description":"A stack-based buffer overflow in Ivanti Connect Secure before version 22.7R2.6, Ivanti Policy Secure before version 22.7R1.4, and Ivanti ZTA Gateways before version 22.8R2.2 allows a remote unauthenticated attacker to achieve remote code execution.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2025-04-03","github_poc":6,"max_poc_stars":73,"metasploit":1,"nuclei":0,"refs":[{"date":"2025-04-09T14:39:25Z","kind":"github_poc","ref":"https://github.com/sfewer-r7/CVE-2025-22457","stars":73,"title":"PoC for CVE-2025-22457 - A remote unauthenticated stack based buffer overflow affecting Ivanti Connect Secure, Pulse Connect Secure, Ivanti Policy Secure, and ZTA Gateways"},{"date":"2025-04-10T03:27:30Z","kind":"github_poc","ref":"https://github.com/securekomodo/CVE-2025-22457","stars":18,"title":"CVE-2025-22457: Python Exploit POC Scanner to Detect Ivanti Connect Secure RCE"},{"date":"2025-04-08T09:31:01Z","kind":"github_poc","ref":"https://github.com/Vinylrider/ivantiunlocker","stars":2,"title":"Prevent CVE-2025-22457 and other security problems with Juniper/Ivanti Secure Connect SSL VPN"},{"date":"2025-05-25T22:52:53Z","kind":"github_poc","ref":"https://github.com/TRone-ux/CVE-2025-22457","stars":1,"title":"PoC CVE-2025-22457"},{"date":"2025-04-03","kind":"metasploit","ref":"exploit/linux/http/ivanti_connect_secure_stack_overflow_rce_cve_2025_22457","stars":null,"title":"Ivanti Connect Secure Unauthenticated Remote Code Execution via Stack-based Buffer Overflow"},{"date":"2026-07-09T23:05:20Z","kind":"github_poc","ref":"https://github.com/benmevic/cve-2025-22457","stars":0,"title":"Altay takımı haftalık sunumu için yaptığım cve-2025-22457 zafiyeti demo uygulaması"},{"date":"2026-09-23T03:17:05Z","kind":"github_poc","ref":"https://github.com/donofly/CVE-2025-22457-vulnserver-lab","stars":0,"title":null}],"tier":"exploited"},"has_fix":null,"headline":"Ivanti Connect Secure, Policy Secure, and ZTA Gateways Stack-Based Buffer Overflow","id":"CVE-2025-22457","indexable":true,"kev":{"dateAdded":"2025-04-04","dueDate":"2025-04-11","knownRansomwareCampaignUse":"Known","product":"Connect Secure, Policy Secure, and ZTA Gateways","requiredAction":"Apply mitigations as set forth in the CISA instructions linked below.","vendorProject":"Ivanti","vulnerabilityName":"Ivanti Connect Secure, Policy Secure, and ZTA Gateways Stack-Based Buffer Overflow Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"ivanti:connect_secure","products":["ivanti:connect_secure","ivanti:policy_secure"],"type":"memory_corruption","year":"2025"},"n_packages":0,"n_references":1,"next":{"headline":"Privilege escalation in Endpoint Manager","id":"CVE-2025-22458"},"packages":[],"prev":{"headline":"Hardcoded credentials in Workspace Control","id":"CVE-2025-22455"},"products":["Connect Secure","Neurons for ZTA gateways","Policy Secure"],"published":"2025-04-03","related":[{"cvss_score":10,"headline":"Ivanti Pulse Connect Secure Use-After-Free","id":"CVE-2021-22893","kev_date_added":"2021-11-03","published":"2021-04-23"},{"cvss_score":9.9,"headline":"Ivanti Pulse Connect Secure Arbitrary File Read","id":"CVE-2019-11510","kev_date_added":"2021-11-03","published":"2019-05-08"},{"cvss_score":9.1,"headline":"Ivanti Connect Secure and Policy Secure Command Injection","id":"CVE-2024-21887","kev_date_added":"2024-01-10","published":"2024-01-12"},{"cvss_score":9,"headline":"Ivanti Connect Secure, Policy Secure, and ZTA Gateways Stack-Based Buffer Overflow","id":"CVE-2025-0282","kev_date_added":"2025-01-08","published":"2025-01-08"},{"cvss_score":8.8,"headline":"Ivanti Pulse Connect Secure Collaboration Suite Buffer Overflow","id":"CVE-2021-22894","kev_date_added":"2021-11-03","published":"2021-05-27"},{"cvss_score":8.8,"headline":"Ivanti Pulse Connect Secure Command Injection","id":"CVE-2021-22899","kev_date_added":"2021-11-03","published":"2021-05-27"}],"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":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-04","vendors":["Ivanti"]},"summary":"Remote unauthenticated attackers can achieve code execution via a stack-based buffer overflow in Ivanti Connect Secure, Policy Secure, and ZTA Gateways.","url":"https://insights.sbomify.com/CVE-2025-22457/"}