Stackurity Start free trial

CVEs / CVE-2024-20399

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

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.

CISA, Known Exploited Vulnerabilities catalog

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

The CVE record, via NVD · published 1 Jul 2024 · NVD status: Analyzed

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
Cisco Cisco NX-OS Software8.2(5)—
Cisco Cisco NX-OS Software7.3(6)N1(1a)—
Cisco Cisco NX-OS Software7.3(5)D1(1)—
Cisco Cisco NX-OS Software8.4(2)—
Cisco Cisco NX-OS Software7.3(6)N1(1)—
Cisco Cisco NX-OS Software6.2(2)—
Cisco Cisco NX-OS Software8.4(3)—
Cisco Cisco NX-OS Software9.2(3)—
Cisco Cisco NX-OS Software7.0(3)I5(2)—
Cisco Cisco NX-OS Software8.2(1)—
Cisco Cisco NX-OS Software6.0(2)A8(7a)—
Cisco Cisco NX-OS Software7.0(3)I4(5)—
Cisco Cisco NX-OS Software6.0(2)A6(1)—
Cisco Cisco NX-OS Software7.3(1)D1(1)—
Cisco Cisco NX-OS Software6.2(14a)—
Cisco Cisco NX-OS Software7.0(3)I4(6)—
Cisco Cisco NX-OS Software7.3(4)N1(1)—
Cisco Cisco NX-OS Software7.0(3)I4(3)—
Cisco Cisco NX-OS Software9.2(2v)—
Cisco Cisco NX-OS Software6.0(2)A6(5b)—
Cisco Cisco NX-OS Software7.3(0)D1(1)—
Cisco Cisco NX-OS Software6.2(17a)—
Cisco Cisco NX-OS Software7.0(3)I4(7)—
Cisco Cisco NX-OS Software6.0(2)U6(1a)—
Cisco Cisco NX-OS Software7.1(5)N1(1b)—
Cisco Cisco NX-OS Software7.0(3)I4(1)—
Cisco Cisco NX-OS Software7.0(3)I4(8)—
Cisco Cisco NX-OS Software7.0(3)I4(2)—
Cisco Cisco NX-OS Software7.1(4)N1(1c)—
Cisco Cisco NX-OS Software7.0(3)IM3(1)—

Exploitation

In CISA KEV since2 Jul 2024
Due date for US federal agencies23 Jul 2024
Used in ransomware campaignsUnknown
Required actionApply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Severity

CVSS 3.16.7 medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Scored by NVD
WeaknessCWE-78

References

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.