UBUNTU-CVE-2019-14889

Source
https://ubuntu.com/security/CVE-2019-14889
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-14889.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2019-14889
Related
Published
2019-12-10T15:00:00Z
Modified
2019-12-10T15:00:00Z
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

Ubuntu:16.04:LTS / libssh

Package

Name
libssh
Purl
pkg:deb/ubuntu/libssh?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.6.3-4.3ubuntu0.5

Affected versions

0.*

0.6.3-3ubuntu3
0.6.3-4.1
0.6.3-4.2
0.6.3-4.2ubuntu1
0.6.3-4.3
0.6.3-4.3ubuntu0.1
0.6.3-4.3ubuntu0.2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.6.3-4.3ubuntu0.5",
            "binary_name": "libssh-4"
        },
        {
            "binary_version": "0.6.3-4.3ubuntu0.5",
            "binary_name": "libssh-4-dbgsym"
        },
        {
            "binary_version": "0.6.3-4.3ubuntu0.5",
            "binary_name": "libssh-dbg"
        },
        {
            "binary_version": "0.6.3-4.3ubuntu0.5",
            "binary_name": "libssh-dev"
        },
        {
            "binary_version": "0.6.3-4.3ubuntu0.5",
            "binary_name": "libssh-dev-dbgsym"
        },
        {
            "binary_version": "0.6.3-4.3ubuntu0.5",
            "binary_name": "libssh-doc"
        },
        {
            "binary_version": "0.6.3-4.3ubuntu0.5",
            "binary_name": "libssh-gcrypt-4"
        },
        {
            "binary_version": "0.6.3-4.3ubuntu0.5",
            "binary_name": "libssh-gcrypt-4-dbgsym"
        },
        {
            "binary_version": "0.6.3-4.3ubuntu0.5",
            "binary_name": "libssh-gcrypt-dev"
        },
        {
            "binary_version": "0.6.3-4.3ubuntu0.5",
            "binary_name": "libssh-gcrypt-dev-dbgsym"
        }
    ]
}

Ubuntu:18.04:LTS / libssh

Package

Name
libssh
Purl
pkg:deb/ubuntu/libssh?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.8.0~20170825.94fa1e38-1ubuntu0.5

Affected versions

0.*

0.7.5-1
0.8.0~20170825.94fa1e38-1
0.8.0~20170825.94fa1e38-1build1
0.8.0~20170825.94fa1e38-1ubuntu0.1
0.8.0~20170825.94fa1e38-1ubuntu0.2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.8.0~20170825.94fa1e38-1ubuntu0.5",
            "binary_name": "libssh-4"
        },
        {
            "binary_version": "0.8.0~20170825.94fa1e38-1ubuntu0.5",
            "binary_name": "libssh-4-dbgsym"
        },
        {
            "binary_version": "0.8.0~20170825.94fa1e38-1ubuntu0.5",
            "binary_name": "libssh-dev"
        },
        {
            "binary_version": "0.8.0~20170825.94fa1e38-1ubuntu0.5",
            "binary_name": "libssh-doc"
        },
        {
            "binary_version": "0.8.0~20170825.94fa1e38-1ubuntu0.5",
            "binary_name": "libssh-gcrypt-4"
        },
        {
            "binary_version": "0.8.0~20170825.94fa1e38-1ubuntu0.5",
            "binary_name": "libssh-gcrypt-4-dbgsym"
        },
        {
            "binary_version": "0.8.0~20170825.94fa1e38-1ubuntu0.5",
            "binary_name": "libssh-gcrypt-dev"
        }
    ]
}