How to Fix CVE-2024-20329: Improper Neutralization of Expression/Command Delimiters in Cisco Adaptive Security Appliance (ASA) Software
| Severity | CVSS 9.9 (Critical) |
|---|---|
| Actively exploited? | No public reports of in-the-wild exploitation; not currently listed in CISA KEV. |
| Affected | Cisco Adaptive Security Appliance (ASA) Software 9.17.1 / 9.17.1.7 / 9.17.1.9 / 9.17.1.10 / 9.18.1 / 9.18.1.3 / 9.17.1.11 / 9.18.2 / 9.17.1.13 / 9.17.1.15 / 9.18.2.5 / 9.17.1.20 / 9.18.2.7 / 9.19.1 / 9.18.2.8 / 9.18.3 / 9.19.1.5 / 9.17.1.30 / 9.19.1.9 / 9.18.3.39 / 9.19.1.12 / 9.18.3.46 / 9.19.1.18 / 9.18.3.53 / 9.18.3.55 / 9.17.1.33 / 9.18.3.56 |
| Fixed in | See the vendor advisory linked in References for the exact patched version |
| Type (CWE) | CWE-146: Improper Neutralization of Expression/Command Delimiters |
Exploitation status
CVE-2024-20329 has not (yet) been flagged on the CISA Known Exploited Vulnerabilities catalog; treat that as 'no confirmed exploitation on record', not 'safe to ignore'. Do not read that as all-clear: the KEV catalog often trails real-world attacks, so prioritise this on its severity rather than waiting for a listing.
Public exploit availability: no public proof-of-concept or Metasploit module is referenced in this record yet. That says nothing about private exploit code, so do not treat the issue as low risk just because none is published.
Authoritative references:
What is CVE-2024-20329?
A vulnerability in the SSH subsystem of Cisco Adaptive Security Appliance (ASA) Software could allow an authenticated, remote attacker to execute operating system commands as root. This vulnerability is due to insufficient validation of user input. An attacker could exploit this vulnerability by submitting crafted input when executing remote CLI commands over SSH.
What you'll see
You are affected if you run Cisco Adaptive Security Appliance (ASA) Software 9.17.1 / 9.17.1.7 / 9.17.1.9 / 9.17.1.10 / 9.18.1 / 9.18.1.3 / 9.17.1.11 / 9.18.2 / 9.17.1.13 / 9.17.1.15 / 9.18.2.5 / 9.17.1.20 / 9.18.2.7 / 9.19.1 / 9.18.2.8 / 9.18.3 / 9.19.1.5 / 9.17.1.30 / 9.19.1.9 / 9.18.3.39 / 9.19.1.12 / 9.18.3.46 / 9.19.1.18 / 9.18.3.53 / 9.18.3.55 / 9.17.1.33 / 9.18.3.56.
Cisco IOS XE / NX-OS / IOS:
show version
For ASA/FTD: show version. For appliances with web admin: System → About. Compare to the fixed release in the Cisco Security Advisory linked under References.
If the build is older than the patched release listed under Fixed in, this CVE applies and you should follow the remediation steps below.
How to fix CVE-2024-20329
The vendor fix is to upgrade to a patched build. The verified patched version per the official advisory is See the vendor advisory linked in References for the exact patched version.
- Read the official advisory for the exact patched build that applies to your deployment model (see https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-asa-ssh-rce-gRAuPEUF).
- Plan the upgrade window. Cisco Adaptive Security Appliance (ASA) Software updates are not always hot-pluggable; check the vendor's release notes for required restarts, database migrations, or licensing steps before scheduling production downtime.
- Take a verified backup of configuration and data before upgrading. Roll-back is faster than rebuilding.
- Apply the patch or upgrade using your normal package or vendor installer flow. Use the vendor's documented procedure, not a third-party guide.
- Restart services as the advisory directs. Some fixes only become active after a service restart, others after a full reboot.
Upgrade the affected Cisco platform
! Verify the running release on the device
show version
show inventory
! Stage the patched image from the Cisco Security Advisory: https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-asa-ssh-rce-gRAuPEUF
copy tftp://<fileserver>/<patched-image>.bin flash:
! Set the boot image and reload in a maintenance window
configure terminal
boot system flash:<patched-image>.bin
end
write memory
reload
! After reload, confirm the new image is running
show version | include image
Verify the fix landed
# 1. Confirm the running version matches the fixed-in version from the advisory:
# https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-asa-ssh-rce-gRAuPEUF
# Use the platform-specific version probe above.
# 2. Re-scan with your vulnerability scanner (Nessus, Qualys, Tenable, OpenVAS).
# The scanner should no longer flag CVE-2024-20329 on the patched target.
# 3. Inspect recent service / kernel logs for crash loops or rollback events.
journalctl -u <service> --since "10 minutes ago"
dmesg --since "10 minutes ago"
If you can't patch immediately
Apply only mitigations documented by the vendor. If no official workaround is published, the patched build is the only supported remediation. While you plan the upgrade window:
- Restrict network reach. Put Cisco Adaptive Security Appliance (ASA) Software behind a VPN, an allow-listed reverse proxy, or a firewall rule limiting source IPs to the addresses that legitimately need access. This shrinks the attack surface without changing the application.
- Increase logging and alerting on the affected service. Even if the workaround does not block the exploit, fast detection of an attempt is a meaningful control.
The repair
- Confirm the running version of Cisco Adaptive Security Appliance (ASA) Software matches or exceeds the patched build the vendor specifies. The CVE record under References lists the fixed version explicitly.
- Check service logs for restart messages and verify the service came up clean after the upgrade. A failed restart that silently rolls back to the unpatched binary is a common operational mistake.
- Review the audit log for any suspicious access during the period the system was unpatched. Pre-patch exploitation leaves traces; failed login bursts, unexpected file uploads, and new admin accounts are common indicators. If the host was reachable from the internet during the exposure window, assume the IoC hunt is mandatory rather than optional.
- Re-run a vulnerability scanner (Nessus, Qualys, Tenable, OpenVAS) against the host after patching. The scanner should no longer flag this CVE on the same target. If it still does, double-check that you upgraded the right component, since many products bundle several services and only one of them may carry the fix.
Is CVE-2024-20329 being exploited in the wild?
There are no public reports of in-the-wild exploitation at the time of this writing, and it is not currently listed in CISA KEV. That does not mean exploitation will not happen. Patch on the vendor timeline regardless.
Does the patch require a reboot?
It depends on the deployment. Cisco Adaptive Security Appliance (ASA) Software updates that replace running services usually need at minimum a service restart; some require a host reboot. Check the vendor release notes linked under References for the exact post-upgrade steps.
What if my version of Cisco Adaptive Security Appliance (ASA) Software is end-of-life?
End-of-life builds will not receive the fix. The vendor's published guidance in cases like this is to upgrade to a supported branch first, then apply the patched build. Running an EOL release on an internet-reachable interface is the higher risk.
References
- Official vendor advisory: https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-asa-ssh-rce-gRAuPEUF
- Additional: https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-fmc-xss-M446vbEO
- Additional: https://sec.cloudapps.cisco.com/security/center/viewErp.x?alertId=ERP-75300
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-20329
- CISA KEV catalog entry: https://www.cisa.gov/known-exploited-vulnerabilities-catalog
This guide was assembled from the official vendor advisory, the NVD record, and the CISA KEV listing on 2026-05-25. Always confirm against the vendor's advisory before applying changes in production. Byline: Sai Kiran Pandrala.
Related fixes
Other defects in the same area that deserve attention during this patch cycle:
- How to Fix CVE-2024-20432: Command Injection in Cisco Data Center Network Manager
- How to Fix CVE-2024-20424: CWE-78 in Cisco Firepower Management Center
- How to Fix CVE-2024-20401: Absolute Path Traversal in Cisco Secure Email
- How to Fix CVE-2024-20353: Denial of Service in Cisco Adaptive Security Appliance (ASA) Software
- How to Fix CVE-2024-20252: Cross-Site Request Forgery in Cisco TelePresence Video Communication Server (VCS) Expressway
People also ask
Is CVE-2024-20329 being exploited in the wild?
There are no public reports of in-the-wild exploitation at the time of this writing, and it is not currently listed in CISA KEV. That does not mean exploitation will not happen. Patch on the vendor timeline regardless.
Does the patch require a reboot?
It depends on the deployment. Cisco Adaptive Security Appliance (ASA) Software updates that replace running services usually need at minimum a service restart; some require a host reboot. Check the vendor release notes linked under References for the exact post-upgrade steps.
What if my version of Cisco Adaptive Security Appliance (ASA) Software is end-of-life?
End-of-life builds will not receive the fix. The vendor's published guidance in cases like this is to upgrade to a supported branch first, then apply the patched build. Running an EOL release on an internet-reachable interface is the higher risk.