ubuntu-cve-2019-14889
Vulnerability from osv_ubuntu
Published
2019-12-10 15:00
Modified
2026-04-22 07:39
Summary
Details
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.
Severity
8.8 (High)
7.1 (High)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libssh-4",
"binary_version": "0.6.3-4.3ubuntu0.5"
},
{
"binary_name": "libssh-gcrypt-4",
"binary_version": "0.6.3-4.3ubuntu0.5"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "libssh",
"purl": "pkg:deb/ubuntu/libssh@0.6.3-4.3ubuntu0.5?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.6.3-4.3ubuntu0.5"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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",
"binaries": [
{
"binary_name": "libssh-4",
"binary_version": "0.8.0~20170825.94fa1e38-1ubuntu0.5"
},
{
"binary_name": "libssh-gcrypt-4",
"binary_version": "0.8.0~20170825.94fa1e38-1ubuntu0.5"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "libssh",
"purl": "pkg:deb/ubuntu/libssh@0.8.0~20170825.94fa1e38-1ubuntu0.5?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.8.0~20170825.94fa1e38-1ubuntu0.5"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2019-14889",
"modified": "2026-04-22T07:39:02Z",
"published": "2019-12-10T15:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2019-14889"
},
{
"type": "REPORT",
"url": "https://www.libssh.org/security/advisories/CVE-2019-14889.txt"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-4219-1"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2019-14889"
}
],
"related": [
"USN-4219-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2019-14889"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…