Skip to content
RedCVE

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

ExploitedCiscoPublished:

CVSS score

6.7

Medium

CVSS 3.1 from NVD

Exploit probability (EPSS)

4.31%

4.31% chance of exploitation in the next 30 days, higher than 91.4% of all CVEs.

CISA KEV

Actively exploited

Added to KEV on 2 Jul 2024.

US federal deadline to fix: 23 Jul 2024.

Official 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

Source: NVD · CNA: psirt@cisco.com

How to fix it, step by step

  1. Treat it as urgent

    Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 2 Jul 2024.

    US federal agencies must fix it by 23 Jul 2024. It's a sensible deadline for everyone else too.

    CISA's full instruction
    Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
  2. Check whether you're affected

    Find every system running Cisco NX-OS Software and compare its version with the affected versions.

  3. Apply the vendor's fix

    The official record doesn't name a fixed version. The vendor's advisory describes the fix:

  4. Check for signs of compromise

    Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.

Was this useful?

How it can be exploited

Attack vector
Local
Attack complexity
Low
Privileges required
High
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected products

Affected productsVersions
Cisco Nx-os6.2\(2\) · 6.2\(2a\) · 6.2\(6\) · 6.2\(6a\) · 6.2\(6b\) · 6.2\(8\)
Cisco Cisco NX-OS Software8.2(5) · 7.3(6)N1(1a) · 7.3(5)D1(1) · 8.4(2) · 7.3(6)N1(1) · 6.2(2)

Weakness

Timeline

  1. Published:
  2. Added to CISA KEV:
  3. Last modified:

Frequently asked questions

Is CVE-2024-20399 being exploited?

Yes. CISA added CVE-2024-20399 to its Known Exploited Vulnerabilities catalog on 2 Jul 2024, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 4.3% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2024-20399?

CVE-2024-20399 has a CVSS 3.1 base score of 6.7 (medium).

Which versions are affected?

Cisco Nx-os (6.2\(2\); 6.2\(2a\); 6.2\(6\); 6.2\(6a\); 6.2\(6b\); 6.2\(8\)), Cisco Cisco NX-OS Software (8.2(5); 7.3(6)N1(1a); 7.3(5)D1(1); 8.4(2); 7.3(6)N1(1); 6.2(2))

Is there a patch for CVE-2024-20399?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.