9.3
HIGH CVSS 2.0
CVE-2019-14889
Libssh SCP Command Injection Vulnerability
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.

INFO

Published Date :

Dec. 10, 2019, 11:15 p.m.

Last Modified :

Nov. 21, 2024, 4:27 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2019-14889 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Canonical ubuntu_linux
1 Fedoraproject fedora
1 Debian debian_linux
1 Opensuse leap
1 Oracle mysql_workbench
1 Libssh libssh
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 HIGH [email protected]
CVSS 3.0 HIGH [email protected]
CVSS 3.1 HIGH [email protected]
Solution
The libssh library is vulnerable to a command injection vulnerability; updating to a patched version mitigates this issue.
  • Update the affected libssh packages.
  • If using SUSE Linux, apply the appropriate patch using YaST or zypper.
Public PoC/Exploit Available at Github

CVE-2019-14889 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2019-14889.

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

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2019-14889 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Python

Updated: 8 months, 4 weeks ago
5 stars 1 fork 1 watcher
Born at : March 1, 2020, 10:36 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2019-14889 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2019-14889 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00033.html
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00047.html
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14889
    Added Reference https://lists.debian.org/debian-lts-announce/2019/12/msg00020.html
    Added Reference https://lists.debian.org/debian-lts-announce/2023/05/msg00029.html
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7JJWJTXVWLLJTVHBPGWL7472S5FWXYQR/
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EV2ONSPDJCTDVORCB4UGRQUZQQ46JHRN/
    Added Reference https://security.gentoo.org/glsa/202003-27
    Added Reference https://usn.ubuntu.com/4219-1/
    Added Reference https://www.libssh.org/security/advisories/CVE-2019-14889.txt
    Added Reference https://www.oracle.com/security-alerts/cpuapr2020.html
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7JJWJTXVWLLJTVHBPGWL7472S5FWXYQR/ [No types assigned]
    Added Reference Red Hat, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EV2ONSPDJCTDVORCB4UGRQUZQQ46JHRN/ [No types assigned]
    Removed Reference Red Hat, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/7JJWJTXVWLLJTVHBPGWL7472S5FWXYQR/
    Removed Reference Red Hat, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/EV2ONSPDJCTDVORCB4UGRQUZQQ46JHRN/
  • CVE Modified by [email protected]

    May. 30, 2023

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2023/05/msg00029.html [No Types Assigned]
  • Modified Analysis by [email protected]

    Feb. 01, 2023

    Action Type Old Value New Value
    Removed CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • CVE Modified by [email protected]

    Dec. 04, 2020

    Action Type Old Value New Value
    Removed CWE Red Hat, Inc. CWE-77
    Added CWE Red Hat, Inc. CWE-78
    Removed CWE Reason CWE-77 / More specific CWE option available
  • Modified Analysis by [email protected]

    Oct. 09, 2020

    Action Type Old Value New Value
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00033.html Third Party Advisory http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00033.html Mailing List, Third Party Advisory
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00047.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00047.html Mailing List, Third Party Advisory
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14889 Issue Tracking, Third Party Advisory https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14889 Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2019/12/msg00020.html Third Party Advisory https://lists.debian.org/debian-lts-announce/2019/12/msg00020.html Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/EV2ONSPDJCTDVORCB4UGRQUZQQ46JHRN/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/EV2ONSPDJCTDVORCB4UGRQUZQQ46JHRN/ Third Party Advisory
    Changed Reference Type https://security.gentoo.org/glsa/202003-27 No Types Assigned https://security.gentoo.org/glsa/202003-27 Third Party Advisory
    Changed Reference Type https://www.oracle.com/security-alerts/cpuapr2020.html No Types Assigned https://www.oracle.com/security-alerts/cpuapr2020.html Third Party Advisory
    Removed CWE NIST CWE-74
    Added CWE NIST CWE-78
    Added CPE Configuration OR *cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:a:oracle:mysql_workbench:*:*:*:*:*:*:*:* versions up to (including) 8.0.19
  • CVE Modified by [email protected]

    Apr. 15, 2020

    Action Type Old Value New Value
    Added Reference https://www.oracle.com/security-alerts/cpuapr2020.html [No Types Assigned]
  • CVE Modified by [email protected]

    Mar. 15, 2020

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/202003-27 [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 25, 2020

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00047.html [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 03, 2020

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/EV2ONSPDJCTDVORCB4UGRQUZQQ46JHRN/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Dec. 23, 2019

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:C/I:C/A:C)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00033.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00033.html Third Party Advisory
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14889 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14889 Issue Tracking, Third Party Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2019/12/msg00020.html No Types Assigned https://lists.debian.org/debian-lts-announce/2019/12/msg00020.html Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/7JJWJTXVWLLJTVHBPGWL7472S5FWXYQR/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/7JJWJTXVWLLJTVHBPGWL7472S5FWXYQR/ Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/4219-1/ No Types Assigned https://usn.ubuntu.com/4219-1/ Third Party Advisory
    Changed Reference Type https://www.libssh.org/security/advisories/CVE-2019-14889.txt No Types Assigned https://www.libssh.org/security/advisories/CVE-2019-14889.txt Vendor Advisory
    Added CWE NIST CWE-74
    Added CPE Configuration OR *cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:* versions up to (excluding) 0.8.8 *cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:* versions from (including) 0.9.0 up to (excluding) 0.9.3
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Dec. 18, 2019

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/7JJWJTXVWLLJTVHBPGWL7472S5FWXYQR/ [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2019/12/msg00020.html [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 17, 2019

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00033.html [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 8.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 7.1
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 9.3
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.60 }} 0.42%

score

0.80929

percentile