CVE-2019-14889

HIGH
8.8
CVSS Score
Published: December 10, 2019 at 12:00 AM UTC
Updated: June 17, 2026 at 02:19 AM UTC
6 products affected across 6 vendorsDebian LinuxFedoraUbuntu Linux

Using libssh by Red Hat?

Get instant alerts when new vulnerabilities affect libssh - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 3%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 0.8.8v < 0.9.30.9.0 ≤ v < 0.9.3
Affected range stops below 0.8.8, so it looks safe — our inference, not a vendor statement
Affected range stops below 0.9.3, so it looks safe — our inference, not a vendor statement

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-78

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card