CVEs / CVE-2024-20399
CVE-2024-20399: Cisco NX-OS Command Injection Vulnerability
- Known exploited in the CISA KEV catalog since 2 Jul 2024
- medium 6.7 CVSS 3.1 (NVD)
- EPSS 4.3% chance of exploitation in the next 30 days, higher than 91% of CVEs (30 Oct 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2024-20399
Summary
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.
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 and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Cisco Cisco NX-OS Software | 8.2(5) | — |
| Cisco Cisco NX-OS Software | 7.3(6)N1(1a) | — |
| Cisco Cisco NX-OS Software | 7.3(5)D1(1) | — |
| Cisco Cisco NX-OS Software | 8.4(2) | — |
| Cisco Cisco NX-OS Software | 7.3(6)N1(1) | — |
| Cisco Cisco NX-OS Software | 6.2(2) | — |
| Cisco Cisco NX-OS Software | 8.4(3) | — |
| Cisco Cisco NX-OS Software | 9.2(3) | — |
| Cisco Cisco NX-OS Software | 7.0(3)I5(2) | — |
| Cisco Cisco NX-OS Software | 8.2(1) | — |
| Cisco Cisco NX-OS Software | 6.0(2)A8(7a) | — |
| Cisco Cisco NX-OS Software | 7.0(3)I4(5) | — |
| Cisco Cisco NX-OS Software | 6.0(2)A6(1) | — |
| Cisco Cisco NX-OS Software | 7.3(1)D1(1) | — |
| Cisco Cisco NX-OS Software | 6.2(14a) | — |
| Cisco Cisco NX-OS Software | 7.0(3)I4(6) | — |
| Cisco Cisco NX-OS Software | 7.3(4)N1(1) | — |
| Cisco Cisco NX-OS Software | 7.0(3)I4(3) | — |
| Cisco Cisco NX-OS Software | 9.2(2v) | — |
| Cisco Cisco NX-OS Software | 6.0(2)A6(5b) | — |
| Cisco Cisco NX-OS Software | 7.3(0)D1(1) | — |
| Cisco Cisco NX-OS Software | 6.2(17a) | — |
| Cisco Cisco NX-OS Software | 7.0(3)I4(7) | — |
| Cisco Cisco NX-OS Software | 6.0(2)U6(1a) | — |
| Cisco Cisco NX-OS Software | 7.1(5)N1(1b) | — |
| Cisco Cisco NX-OS Software | 7.0(3)I4(1) | — |
| Cisco Cisco NX-OS Software | 7.0(3)I4(8) | — |
| Cisco Cisco NX-OS Software | 7.0(3)I4(2) | — |
| Cisco Cisco NX-OS Software | 7.1(4)N1(1c) | — |
| Cisco Cisco NX-OS Software | 7.0(3)IM3(1) | — |
Exploitation
| In CISA KEV since | 2 Jul 2024 |
|---|---|
| Due date for US federal agencies | 23 Jul 2024 |
| Used in ransomware campaigns | Unknown |
| Required action | Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. |
Severity
| CVSS 3.1 | 6.7 mediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HScored by NVD |
|---|---|
| Weakness | CWE-78 |
References
- CVE-2024-20399 on NVD
- CVE-2024-20399 in the CISA KEV catalog
- https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-nxos-cmd-injection-xD9OhyOP (cited by CISA)
- 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
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.