CVE-2024-21887
Description
A command injection vulnerability in web components of Ivanti Connect Secure (9.x, 22.x) and Ivanti Policy Secure (9.x, 22.x) allows an authenticated administrator to send specially crafted requests and execute arbitrary commands on the appliance.
Severity
CRITICAL
CVSS v3
9.1
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H · source cna
Exploit chance (EPSS)
99.999%
chance of exploitation in the next 30 days
among the highest of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2024-01-10 · known ransomware use
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 2
Nuclei templates: 1
Weakness
- CWE-77: Improper Neutralization of Special Elements used in a Command
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Ivanti Connect Secure and Policy Secure Command Injection Vulnerability |
|---|---|
| Vendor / product | Ivanti / Connect Secure and Policy Secure |
| Date added | 2024-01-10 |
| Federal remediation due date | 2024-01-22 |
| Required action | Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. |
| Known ransomware campaign use | Known |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2024-01-10 |
Timeline
- 2024-01-10Added to the CISA KEV catalog2 days before publication
- 2024-01-10CISA SSVC decision recorded2 days before publication
- 2024-01-12Published by the CNA17:02 UTC
Exploit and advisory records
Nuclei templates:
- CVE-2024-21887: Ivanti Connect Secure (9.x, 22.x) and Ivanti Policy Secure (9.x, 22.x) - Command Injection
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| ivanti connect_secure | 22.1no fix listed22.2no fix listed22.3no fix listed22.4no fix listed22.5no fix listed(+3 more) | not listednot listednot listednot listednot listed |
| ivanti policy_secure | 22.1no fix listed22.2no fix listed22.3no fix listed22.4no fix listed22.5no fix listed(+3 more) | not listednot listednot listednot listednot listed |
References
- https://forums.ivanti.com/s/article/CVE-2023-46805-Authentication-Bypass-CVE-2024-21887-Command-Injection-for-Ivanti-Connect-Secure-and-Ivanti-Policy-Secure-Gateways?language=en_US
- http://packetstormsecurity.com/files/176668/Ivanti-Connect-Secure-Unauthenticated-Remote-Code-Execution.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-21887
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2024-21887'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2024-21887'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2024-21887'curl 'https://api.contrastcyber.com/cve_products/CVE-2024-21887'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2024-21887'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).