p PatchFirst

CVE-2019-14889

CVE-2019-14889

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.1 · High · EPSS 3.2% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • libssh

    Versions
    • All libssh versions before 0.9.3: Affected
    • All libssh versions before 0.8.8: Affected

    No fix published

  • libssh Debian:12

    Affected ranges
    • ECOSYSTEM: < 0.9.3-1

    Update to 0.9.3-1

  • libssh Debian:13

    Affected ranges
    • ECOSYSTEM: < 0.9.3-1

    Update to 0.9.3-1

  • libssh Debian:14

    Affected ranges
    • ECOSYSTEM: < 0.9.3-1

    Update to 0.9.3-1

  • libssh Ubuntu:16.04:LTS

    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
    Affected ranges
    • ECOSYSTEM: < 0.6.3-4.3ubuntu0.5

    Update to 0.6.3-4.3ubuntu0.5

  • libssh Ubuntu:18.04:LTS

    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
    Affected ranges
    • ECOSYSTEM: < 0.8.0~20170825.94fa1e38-1ubuntu0.5

    Update to 0.8.0~20170825.94fa1e38-1ubuntu0.5

Original sources

Check your server →