CVE Tools

CVE-2024-20399

Cisco NX-OS Software CLI Command Injection Vulnerability

CVE-2024-20399 is an OS command injection in Cisco Systems Inc. NX-OS (CVSS 6.0, Medium).

Exploited in the wild. In CISA KEV since 2024‑07‑02. A vendor fix is available.

Check it yourself

OpenVAS · 1 check

e.g. OID 1.3.6.1.4.1.25623.1.0.152522

Run the check

Published Updated Sources: CVE.org, NVD, BDU

What to do

The vendor has published a fix. Version details are below where the sources state them.

  • Cisco NX-OS SoftwareAffected: 8.2(5)Upgrade to: not statedAffected: 7.3(6)N1(1a)Upgrade to: not statedAffected: 7.3(5)D1(1)Upgrade to: not statedAffected: 8.4(2)Upgrade to: not stated + 314 more branchesStated by: CVE record
  • Cisco Systems Inc. NX-OSAffected: 6.2(13)Upgrade to: not statedStated by: BDU

Versions as the sources state them. Full version matrix after sign-in

Coverage timeline

2 publishers
  1. A China-nexus group (Velvet Ant) backdoored Linux login components for long-term credential theft and stealthy access via PAM and OpenSSH modifications.

    ·Daily CyberSecurity (securityonline.info)
  2. Added to CISA KEV catalog

    ·CISA KEV

Sourced from public security reporting — each date is when it was published, not when it happened.

What it is

From the CVE record

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

In plain language

No plain-language summary for this CVE yet.

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

EPSS60th
Public exploit
CISA KEV
CISA KEV

Listed as exploited in the wild since 2024-07-02.

US federal agencies must remediate by 2024-07-23.

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Public exploits

0 sources with a proof of concept or module.

Exploit links, PoCs and Metasploit modules after sign-in
EPSS

0.9% chance of exploitation activity in the next 30 days, which ranks it in the 60th percentile of scored CVEs.

Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.

Lifecycle

7 events over 724 days, from the signal feeds we watch.

  1. OpenVAS check added
  2. Patch availablerecord updated
  3. Added to CISA KEV
  4. Publishedweakness classified, att&ck mapped

Affected products

Technical detail

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

Scored 6.0 by NVD.

How it is reached

  • Attack Vector LocalRequires local access to the vulnerable system (e.g. local login, malicious file)
  • Attack Complexity LowNo special conditions — the attack can be reliably reproduced
  • Privileges Required HighRequires admin or elevated privileges
  • User Interaction NoneNo user interaction needed — fully automated exploitation

Scope

  • Scope UnchangedImpact is limited to the vulnerable component itself

Impact if exploited

  • Confidentiality HighTotal information disclosure — all data in the component is compromised
  • Integrity HighTotal loss of integrity — attacker can modify any data in the component
  • Availability NoneNo availability impact

Weaknesses

ATT&CK techniques

Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.

Sources

Questions about CVE-2024-20399

Is CVE-2024-20399 being exploited?
Yes. CVE-2024-20399 is in CISA's Known Exploited Vulnerabilities catalog since 2024-07-02, which means attackers are using it in the wild.
Which versions are affected by CVE-2024-20399?
NX-OS: 6.2(13). Cisco NX-OS Software: 8.2(5); 7.3(6)N1(1a); 7.3(5)D1(1).
How do I fix or mitigate CVE-2024-20399?
The vendor has published a fix. The advisory is on sec.cloudapps.cisco.com.

Last updated

Related articles

All articles

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next exploited one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for NX-OS, not every advisory. This one: actively exploited.