CVE-2019-14889

Source
https://cve.org/CVERecord?id=CVE-2019-14889
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-14889.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-14889
Downstream
Related
Published
2019-12-10T23:15:10.580Z
Modified
2026-04-02T01:40:55.695029Z
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
Introduced
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.8.8"
        },
        {
            "introduced": "0.9.0"
        },
        {
            "fixed": "0.9.3"
        }
    ]
}

Affected versions

libssh-0.*
libssh-0.10.0
libssh-0.10.2
libssh-0.10.3
libssh-0.10.4
libssh-0.10.5
libssh-0.10.6
libssh-0.11.0
libssh-0.11.1
libssh-0.11.2
libssh-0.11.3
libssh-0.11.4
libssh-0.12.0
libssh-0.5.1
libssh-0.5.2
libssh-0.5.3
libssh-0.5.4
libssh-0.5.5
libssh-0.6.0
libssh-0.6.1
libssh-0.6.3
libssh-0.6.4
libssh-0.6.5
libssh-0.7.0
libssh-0.7.1
libssh-0.7.2
libssh-0.7.3
libssh-0.7.4
libssh-0.7.5
libssh-0.7.6
libssh-0.7.7
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
libssh-0.9.0
libssh-0.9.1
libssh-0.9.2
Other
release-0-3-0
release-0-3-1
release-0-3-2
release-0-3-3
release-0-3-4
release-0-4-0
release-0-4-1
release-0-4-2
release-0-4-3
release-0-4-4
release-0-4-5
release-0-4-6
release-0-4-7
release-0-4-8
release-0-5-0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-14889.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "16.04"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "18.04"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "19.04"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "19.10"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "15.1"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "30"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "31"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "8.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "8.0.19"
            }
        ]
    }
]