Skip to content
Server Security Center
KEVmedium6.0

CVE-2024-20399: Cisco NX-OS Command Injection

Cisco NX-OS · listed in the CISA catalog of actively exploited vulnerabilities since 2024-07-02.

CVSS v3.1 (CVE record)
6.0
medium
EPSS (exploit probability, 30 days)
4.3%
higher than 91.3% of all CVEs
Added to CISA KEV
2024-07-02
US federal due date 2024-07-23
Automatable (CISA SSVC)
no
technical impact: total

What is CVE-2024-20399?

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

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

CISA notes

Affected and fixed versions

From the CVE record published by the vendor or CVE numbering authority.

  • Cisco NX-OS Software
    Affected
    • 318 listed versions in 27 groups (6.0(2)A6(1) … 10.4(2))
    all 318 listed versions
    • 6.0A: 6.0(2)A6(1) … 6.0(2)A8(11b) (31 versions)
    • 6.0U: 6.0(2)U6(1) … 6.0(2)U6(10a) (18 versions)
    • 6.2: 6.2(1) … 6.2(33) (50 versions)
    • 7.0F: 7.0(3)F1(1) … 7.0(3)F3(5) (10 versions)
    • 7.0I: 7.0(3)I4(1) … 7.0(3)I7(10) (35 versions)
    • 7.0IA: 7.0(3)IA7(1), 7.0(3)IA7(2)
    • 7.0IC: 7.0(3)IC4(4)
    • 7.0IM: 7.0(3)IM3(1) … 7.0(3)IM7(2) (6 versions)
    • 7.1N: 7.1(0)N1(1) … 7.1(5)N1(1b) (19 versions)
    • 7.2D: 7.2(0)D1(1) … 7.2(2)D1(4) (6 versions)
    • 7.3D: 7.3(0)D1(1) … 7.3(9)D1(1) (14 versions)
    • 7.3DX: 7.3(0)DX(1)
    • 7.3DY: 7.3(0)DY(1), 7.3(1)DY(1)
    • 7.3N: 7.3(0)N1(1) … 7.3(14)N1(1) (26 versions)
    • 8.0: 8.0(1)
    • 8.1: 8.1(1) … 8.1(2a) (5 versions)
    • 8.2: 8.2(1) … 8.2(11) (12 versions)
    • 8.3: 8.3(1), 8.3(2)
    • 8.4: 8.4(1) … 8.4(9) (18 versions)
    • 8.5: 8.5(1)
    • 9.2: 9.2(1) … 9.2(4) (8 versions)
    • 9.3: 9.3(1) … 9.3(13) (18 versions)
    • 9.4: 9.4(1), 9.4(1a), 9.4(2)
    • 10.1: 10.1(1), 10.1(2)
    • 10.2: 10.2(1) … 10.2(8) (10 versions)
    • 10.3: 10.3(1) … 10.3(99x) (15 versions)
    • 10.4: 10.4(1), 10.4(2)
    Fixed in
    not stated

How to fix it

  • The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
  • Vendor advisory: sec.cloudapps.cisco.com/security/center/content/CiscoSecu…
  • CISA's deadline for US federal agencies: 2024-07-23 (passed) – a useful benchmark for everyone else, too.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
No – each attack needs manual steps
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.