CVE-2022-20650 Cisco NX-OS Software NX-API Command Injection Vulnerability

High 8.8 Published Updated

Authenticated attackers can execute arbitrary root commands on Cisco NX-OS devices via the NX-API feature, which is disabled by default.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-20650?

CVE-2022-20650 is a high-severity command injection vulnerability in Cisco Nx-Os, published on 23 Feb 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability in the NX-API feature of Cisco NX-OS Software could allow an authenticated, remote attacker to execute arbitrary commands with root privileges. The vulnerability is due to insufficient input validation of user supplied data that is sent to the NX-API. An attacker could exploit this vulnerability by sending a crafted HTTP POST request to the NX-API of an affected device. A successful exploit could allow the attacker to execute arbitrary commands with root privileges on the underlying operating system. Note: The NX-API feature is disabled by default.

Weakness: CWE-78

Which versions are affected by CVE-2022-20650?

It affects 1 product.

Products include Cisco Nx-Os.

How do I fix CVE-2022-20650?

No fix has been published for CVE-2022-20650 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2022-20650 being exploited?

There is no known exploitation of CVE-2022-20650 in the wild and no public exploit code.

All Cisco Nx-Os vulnerabilities

Sources

Also known as GHSA-3hrp-jhgv-872c.

Is CVE-2022-20650 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free