CVE-2019-14889

HIGHCVSS 8.8/10EPSS 3.16%

Last modified

CVE-2019-14889 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. A flaw was found with the libssh API function ssh_scp_new() in versions before 0.9.3 and before 0.8.8. When the libssh SCP client connects to a server, the scp command, which includes a user-provided path, is executed on the server-side. EPSS estimates a 3.16% chance of exploitation in the next 30 days.

Description

A flaw was found with the libssh API function ssh_scp_new() in versions before 0.9.3 and before 0.8.8. When the libssh SCP client connects to a server, the scp command, which includes a user-provided path, is executed on the server-side. In case the library is used in a way where users can influence the third parameter of the function, it would become possible for an attacker to inject arbitrary commands, leading to a compromise of the remote target.

Metrics

CVSS 3.1
8.8/10

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

EPSS Probability
3.16%

86.4th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
LibsshLibssh< 0.8.8
LibsshLibssh>= 0.9.0, < 0.9.3
CanonicalUbuntu Linux16.04
CanonicalUbuntu Linux18.04
CanonicalUbuntu Linux19.04
CanonicalUbuntu Linux19.10
OpensuseLeap15.1
FedoraprojectFedora30
FedoraprojectFedora31
DebianDebian Linux8.0
OracleMysql Workbench<= 8.0.19

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2019-14889?
A flaw was found with the libssh API function ssh_scp_new() in versions before 0.9.3 and before 0.8.8. When the libssh SCP client connects to a server, the scp command, which includes a user-provided path, is executed on the server-side. In case the library is used in a way where users can influence the third parameter of the function, it would become possible for an attacker to inject arbitrary commands, leading to a compromise of the remote target.
How severe is CVE-2019-14889?
CVE-2019-14889 has a CVSS score of 8.8/10 (HIGH severity). The EPSS model estimates a 3.16% probability of exploitation in the next 30 days.
How do I fix CVE-2019-14889?
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-14889?

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

Scan your code now

Source: NVD / NIST