CVE-2019-14889

State
Published
Severity
7.1 High
Published
Dec 10, 2019
Updated
Aug 5, 2024
Reserved
Aug 10, 2019

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.07.1 HighCVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:Hredhat

Weaknesses

Affected Products

ProductVersions
libsshRed Hat
  • All libssh versions before 0.9.3Affected
  • All libssh versions before 0.8.8Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.