CVE-2024-20399

Cisco NX-OS Software CLI Command Injection Vulnerability

State
Published
Severity
6.0 Medium
Published
Jul 1, 2024
Updated
Oct 21, 2025
Reserved
Nov 8, 2023

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.16.0 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:Ncisco

Weaknesses

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

Affected Products

ProductVersions
Cisco NX-OS SoftwareCisco
  • 8.2(5)Affected
  • 7.3(6)N1(1a)Affected
  • 7.3(5)D1(1)Affected
  • 8.4(2)Affected
  • 7.3(6)N1(1)Affected
  • 6.2(2)Affected
  • 8.4(3)Affected
  • 9.2(3)Affected
  • 7.0(3)I5(2)Affected
  • 8.2(1)Affected
  • 6.0(2)A8(7a)Affected
  • 7.0(3)I4(5)Affected
  • 6.0(2)A6(1)Affected
  • 7.3(1)D1(1)Affected
  • 6.2(14a)Affected
  • 7.0(3)I4(6)Affected
  • 7.3(4)N1(1)Affected
  • 7.0(3)I4(3)Affected
  • 9.2(2v)Affected
  • 6.0(2)A6(5b)Affected
  • 7.3(0)D1(1)Affected
  • 6.2(17a)Affected
  • 7.0(3)I4(7)Affected
  • 6.0(2)U6(1a)Affected
  • 7.1(5)N1(1b)Affected
  • and 293 more versions

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.