Live threats

All CVEs / Cisco

CVE-2024-20399Cisco NX-OS

Command Injection in Cisco NX-OS CLI

Medium 6.7 KEV

Priority
40
CVSS 3.1
6.7
EPSS
0.9%
probability of exploitation in 30 days · percentile 60
Auth required
Yes
In KEV since
Jul 2, 2024
CISA deadline
Jul 23, 2024
Ransomware use
Unknown
Published
Jul 1, 2024
Updated
Jun 17, 2026
Category
Network & edge · Network appliance
Weakness (CWE)
CWE-78
SSVC (CISA)
Exploitation: active · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

What happens

A vulnerability in Cisco NX-OS CLI allows an authenticated user with Administrator credentials to execute arbitrary commands as root on the underlying operating system. The flaw stems from insufficient validation of arguments passed to specific configuration CLI commands. CISA confirmed active exploitation in its known exploited vulnerabilities catalog.

Show the original NVD text

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

Source text, unmodified. NVD.

Exploitation confirmed by CISA

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.

Action required by CISA: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Source text, unmodified. CISA KEV.

What to do

No patch data

Consult Cisco's security advisory for patches or device-specific mitigations based on your NX-OS version and device model.

Vendor advisory · sec.cloudapps.cisco.com ↗

  1. Apply the vendor's security update for NX-OS.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was July 23, 2024.
  3. Check logs for signs of earlier exploitation.

Affected products (CPE)

VendorProductVersions
cisconx-os6.2(2)
cisconx-os6.2(2a)
cisconx-os6.2(6)
cisconx-os6.2(6a)
cisconx-os6.2(6b)
cisconx-os6.2(8)
cisconx-os6.2(8a)
cisconx-os6.2(8b)
cisconx-os6.2(10)
cisconx-os6.2(12)
cisconx-os6.2(14)
cisconx-os6.2(16)
cisconx-os6.2(18)
cisconx-os6.2(20)
cisconx-os6.2(20a)
cisconx-os6.2(22)
cisconx-os6.2(24)
cisconx-os6.2(24a)
cisconx-os7.2(0)d1(1)
cisconx-os7.2(1)d1(1)
cisconx-os7.2(2)d1(1)
cisconx-os7.2(2)d1(2)
cisconx-os7.3(0)d1(1)
cisconx-os7.3(0)dx(1)
cisconx-os7.3(1)d1(1)
cisconx-os7.3(2)d1(1)
cisconx-os7.3(2)d1(2)
cisconx-os7.3(2)d1(3)
cisconx-os7.3(2)d1(3a)
cisconx-os7.3(3)d1(1)
cisconx-os7.3(4)d1(1)
cisconx-os7.3(5)d1(1)
cisconx-os7.3(6)d1(1)
cisconx-os7.3(7)d1(1)
cisconx-os7.3(8)d1(1)
cisconx-os7.3(9)d1(1)
cisconx-os8.0(1)
cisconx-os8.1(1)
cisconx-os8.1(2)
cisconx-os8.1(2a)
cisconx-os8.2(1)
cisconx-os8.2(2)
cisconx-os8.2(3)
cisconx-os8.2(4)
cisconx-os8.2(5)
cisconx-os8.2(6)
cisconx-os8.2(7)
cisconx-os8.2(7a)
cisconx-os8.2(8)
cisconx-os8.2(9)
cisconx-os8.2(10)
cisconx-os8.2(11)
cisconx-os8.3(1)
cisconx-os8.3(2)
cisconx-os8.4(1)
cisconx-os8.4(2)
cisconx-os8.4(3)
cisconx-os8.4(4)
cisconx-os8.4(4a)
cisconx-os8.4(5)

and 202 more in the JSON

Official sources

References

Links published by the sources. Open them with care.