CVE-2019-14889
Reported by redhat · Published December 10, 2019
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | libssh | All libssh versions before 0.9.3, All libssh versions before 0.8.8 |
| Red Hat | libssh | 0.9.3, 0.8.8 |
| alpine | libssh | 0, 0, 0 |
Timeline
- Dec 10, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Apr 20, 2023 CVE Updated
- Mar 6, 2026 Distribution Patch (26 in total, the first dated here)
- Mar 6, 2026 Security Advisory (34 in total, the first dated here)
- Sep 14, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-14889
vulnetix vdb fixes CVE-2019-14889
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-14889/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- USN-4219-1 vendor-advisory
- openSUSE-SU-2019:2689 vendor-advisory
- [debian-lts-announce] 20191217 [SECURITY] [DLA 2038-1] libssh security update mailing-list
- FEDORA-2019-8b0ad69829 vendor-advisory
- FEDORA-2019-46b6bd2459 vendor-advisory
- openSUSE-SU-2020:0102 vendor-advisory
- GLSA-202003-27 vendor-advisory
- [debian-lts-announce] 20230529 [SECURITY] [DLA 3437-1] libssh security update mailing-list