Live threats

All CVEs / Libssh

CVE-2019-14889Libssh

High 8.8 No auth needed

Priority
68
CVSS 3.1
8.8
EPSS
3.2%
probability of exploitation in 30 days · percentile 89
Auth required
No
Published
Dec 10, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-78
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libssh.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

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

Official sources

References

Links published by the sources. Open them with care.