CVE-2019-14889

Name
CVE-2019-14889
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Issue Tracking https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14889
Third Party Advisory https://usn.ubuntu.com/4219-1/
Vendor Advisory https://www.libssh.org/security/advisories/CVE-2019-14889.txt
Mailing List http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00033.html
Mailing List https://lists.debian.org/debian-lts-announce/2019/12/msg00020.html
Third Party Advisory https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7JJWJTXVWLLJTVHBPGWL7472S5FWXYQR/
Third Party Advisory https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EV2ONSPDJCTDVORCB4UGRQUZQQ46JHRN/
Mailing List http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00047.html
Third Party Advisory https://security.gentoo.org/glsa/202003-27
Third Party Advisory https://www.oracle.com/security-alerts/cpuapr2020.html

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:* libssh >= None < 0.8.8
cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:* libssh >= 0.9.0 < 0.9.3

Vulnerable and fixed packages

Source package Branch Version Maintainer Status