CVE-2019-14889

Source
https://nvd.nist.gov/vuln/detail/CVE-2019-14889
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-14889.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2019-14889
Downstream
Related
Published
2019-12-10T23:15:10Z
Modified
2025-10-15T10:17:39.883242Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

A flaw was found with the libssh API function sshscpnew() 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.

References

Affected packages

Git / gitlab.com/libssh/libssh-mirror

Affected ranges

Type
GIT
Repo
https://gitlab.com/libssh/libssh-mirror
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

libssh-0.*

libssh-0.8.0
libssh-0.8.1
libssh-0.8.2
libssh-0.8.3
libssh-0.8.4
libssh-0.8.5
libssh-0.8.6
libssh-0.8.7

Other

release-0-3-0