CVE-2019-1731 Cisco NX-OS Software SSH Key Information Disclosure Vulnerability

Medium 5.1 Published Updated

An authenticated local attacker can expose a user's private SSH key to all authenticated users on the device via crafted CLI commands.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2019-1731?

CVE-2019-1731 is a medium-severity vulnerability in Cisco Nx-Os, published on 15 May 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability in the SSH CLI key management functionality of Cisco NX-OS Software could allow an authenticated, local attacker to expose a user's private SSH key to all authenticated users on the targeted device. The attacker must authenticate with valid administrator device credentials. The vulnerability is due to incomplete error handling if a specific error type occurs during the SSH key export. An attacker could exploit this vulnerability by authenticating to the device and entering a crafted command at the CLI. A successful exploit could allow the attacker to expose a user's private SSH key. In addition, a similar type of error in the SSH key import could cause the passphrase-protected private SSH key to be imported unintentionally.

Weakness: CWE-755, CWE-200

Which versions are affected by CVE-2019-1731?

It affects 1 product.

Products include Cisco Nx-Os.

How do I fix CVE-2019-1731?

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

Is CVE-2019-1731 being exploited?

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

All Cisco Nx-Os vulnerabilities

Sources

Also known as GHSA-g6jr-fq7m-6v6x.

Is CVE-2019-1731 in your software?

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

Check your SBOMs for free