CVE-2019-1731

MEDIUMCVSS 4.4/10EPSS 0.35%

Last modified

CVE-2019-1731 is a medium-severity vulnerability rated 4.4/10 on the CVSS scale. 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. EPSS estimates a 0.35% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
4.4/10

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

EPSS Probability
0.35%

27.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
CiscoNx-Os< 7.0\(3\)i4\(9\)
CiscoNx-Os>= 7.0\(3\)i7, < 7.0\(3\)i7\(4\)
CiscoNx-Os< 6.0\(2\)a8\(10\)
CiscoNx-Os>= 7.0\(3\)i4, < 7.0\(3\)i7\(4\)
CiscoNx-Os< 7.3\(4\)n1\(1\)
CiscoNx-Os>= 7.0\(3\), < 7.0\(3\)f3\(5\)

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2019-1731?
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.
How severe is CVE-2019-1731?
CVE-2019-1731 has a CVSS score of 4.4/10 (MEDIUM severity). The EPSS model estimates a 0.35% probability of exploitation in the next 30 days.
How do I fix CVE-2019-1731?
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-2019-1731?

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

Scan your code now

Source: NVD / NIST