CVE-2024-20399

MEDIUMCVSS 6.7/10Actively ExploitedEPSS 4.27%

Last modified

CVE-2024-20399 is a medium-severity vulnerability rated 6.7/10 on the CVSS scale. 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. CISA has confirmed active exploitation in the wild. EPSS estimates a 4.27% chance of exploitation in the next 30 days.

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

Metrics

CVSS 3.1
6.7/10

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
4.27%

89.8th percentile

Probability of exploitation in the next 30 days. Learn more

Exploitation Status

This vulnerability is listed in CISA’s Known Exploited Vulnerabilities catalog, confirming active exploitation in the wild. Federal agencies must remediate by .

Weakness Enumeration

Affected Software

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\)

Showing 50 of 262 affected configurations. See NVD for the full list.

References

Timeline

Published
Last Modified
Status
Analyzed

Frequently Asked Questions

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
How severe is CVE-2024-20399?
CVE-2024-20399 has a CVSS score of 6.7/10 (MEDIUM severity). The EPSS model estimates a 4.27% probability of exploitation in the next 30 days. This vulnerability is listed in CISA's Known Exploited Vulnerabilities catalog.
How do I fix CVE-2024-20399?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2024-20399?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST