CVEvulnerability
CVE-2024-20399
CISA Known Exploited Vulnerability
Cisco NX-OS Command Injection Vulnerability — Cisco NX-OS
Cisco NX-OS contains a command injection vulnerability in the command line interface (CLI) that could allow an authenticated, local attacker to execute commands as root on the underlying operating system of an affected device.
- Added to KEV
- 2024-07-02
- Remediation due
- 2024-07-23
- Ransomware use
- Unknown
- Required action
- Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- Notes
- https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-nxos-cmd-injection-xD9OhyOP; https://nvd.nist.gov/vuln/detail/CVE-2024-20399
- Status
- Analyzed
- Published
- 2024-07-01
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.0 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
- CVSS 3.1 ([email protected])
- 6.7 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-78
Description
A vulnerability in the CLI of Cisco NX-OS Software could allow an authenticated user in possession of Administrator credentials to execute arbitrary commands as root on the underlying operating system of an affected device.
This vulnerability is due to insufficient validation of arguments that are passed to specific configuration CLI commands. An attacker could exploit this vulnerability by including crafted input as the argument of an affected configuration CLI command. A successful exploit could allow the attacker to execute arbitrary commands on the underlying operating system with the privileges of root.
Note: To successfully exploit this vulnerability on a Cisco NX-OS device, an attacker must have Administrator credentials. The following Cisco devices already allow administrative users to access the underlying operating system through the bash-shell feature, so, for these devices, this vulnerability does not grant any additional privileges:
Nexus 3000 Series Switches
Nexus 7000 Series Switches that are running Cisco NX-OS Software releases 8.1(1) and later
Nexus 9000 Series Switches in standalone NX-OS mode
Affected configurations
• cisco nx-os 6.2\(2\)
• cisco nx-os 6.2\(2a\)
• cisco nx-os 6.2\(6\)
• cisco nx-os 6.2\(6a\)
• cisco nx-os 6.2\(6b\)
• cisco nx-os 6.2\(8\)
• cisco nx-os 6.2\(8a\)
• cisco nx-os 6.2\(8b\)
• cisco nx-os 6.2\(10\)
• cisco nx-os 6.2\(12\)
• cisco nx-os 6.2\(14\)
• cisco nx-os 6.2\(16\)
• cisco nx-os 6.2\(18\)
• cisco nx-os 6.2\(20\)
• cisco nx-os 6.2\(20a\)
• cisco nx-os 6.2\(22\)
• cisco nx-os 6.2\(24\)
• cisco nx-os 6.2\(24a\)
• cisco nx-os 7.2\(0\)d1\(1\)
• cisco nx-os 7.2\(1\)d1\(1\)
• cisco nx-os 7.2\(2\)d1\(1\)
• cisco nx-os 7.2\(2\)d1\(2\)
• cisco nx-os 7.3\(0\)d1\(1\)
• cisco nx-os 7.3\(0\)dx\(1\)
• cisco nx-os 7.3\(1\)d1\(1\)
• cisco nx-os 7.3\(2\)d1\(1\)
• cisco nx-os 7.3\(2\)d1\(2\)
• cisco nx-os 7.3\(2\)d1\(3\)
• cisco nx-os 7.3\(2\)d1\(3a\)
• cisco nx-os 7.3\(3\)d1\(1\)
• cisco nx-os 7.3\(4\)d1\(1\)
• cisco nx-os 7.3\(5\)d1\(1\)
• cisco nx-os 7.3\(6\)d1\(1\)
• cisco nx-os 7.3\(7\)d1\(1\)
• cisco nx-os 7.3\(8\)d1\(1\)
• cisco nx-os 7.3\(9\)d1\(1\)
• cisco nx-os 8.0\(1\)
• cisco nx-os 8.1\(1\)
• cisco nx-os 8.1\(2\)
• cisco nx-os 8.1\(2a\)
• cisco nx-os 8.2\(1\)
• cisco nx-os 8.2\(2\)
• cisco nx-os 8.2\(3\)
• cisco nx-os 8.2\(4\)
• cisco nx-os 8.2\(5\)
• cisco nx-os 8.2\(6\)
• cisco nx-os 8.2\(7\)
• cisco nx-os 8.2\(7a\)
• cisco nx-os 8.2\(8\)
• cisco nx-os 8.2\(9\)
• cisco nx-os 8.2\(10\)
• cisco nx-os 8.2\(11\)
• cisco nx-os 8.3\(1\)
• cisco nx-os 8.3\(2\)
• cisco nx-os 8.4\(1\)
• cisco nx-os 8.4\(2\)
• cisco nx-os 8.4\(3\)
• cisco nx-os 8.4\(4\)
• cisco nx-os 8.4\(4a\)
• cisco nx-os 8.4\(5\)
… and 202 more
Related
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
References
- https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-nxos-cmd-injection-xD9OhyOP Vendor Advisory
- https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-nxos-cmd-injection-xD9OhyOP Vendor Advisory
- https://www.sygnia.co/threat-reports-and-advisories/china-nexus-threat-group-velvet-ant-exploits-cisco-0-day/ Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-20399 US Government Resource