CVE catalog

CVE-2020-15778

openssh: CVE-2020-15778

[CVE catalog]

Severity
High · CVSS 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
13.68% · Oct 22, 2026

A flaw was found in the scp program shipped with the openssh-clients package. An attacker having the ability to scp files to a remote server, could execute arbitrary commands on the remote server by including the command as a part of the filename being copied on the server. This command is run with the permissions of user with which the files were copied on the remote server. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability depending on the default system umask and selinux policy/enforcement. openssh: scp allows command injection when using backtick characters in the destination argument This security flaw lies in the way scp command parses its command line arguments. The SSH protocol or any other applications shipped as a part of openssh-clients packages are not vulnerable. In order to exploit this flaw, the attacker needs to social engineer or manipulate a system administrator (who has root access on the remote server) to run scp with a malicious command line parameter. Administrators can uninstall openssh-clients for additional protection against accidental usage of this binary. Removing the openssh-clients package will make binaries like scp and ssh etc unavailable on that system. Also administrators can change the execute permissions on the scp binary. However this mitigation will be in place until the openssh-clients package is updated. The loss of confidentiality, integrity and availability would depend on the system umask and selinux policies. For example, if the system umask is 000, one user CAN get access to another user's files and even execute them. However default umask for pretty much any modern unix system is 033, which gives a default permisson of 744. This does not cause any confidentiality problems that already does not exist outside of the scope of this bug. Also since the default permissions based on the umask would guard write and execute, there is no way to cause any loss of Integrity or Availability. The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianopensshsid1:10.6p1-1vulnerable
Debianopensshforky1:10.6p1-1vulnerable
Debianopensshtrixie1:10.0p1-7+deb13u4vulnerable
Debianopensshtrixie-security1:10.0p1-7+deb13u2vulnerable
Debianopensshbookworm1:9.2p1-2+deb12u10vulnerable
Debianopensshbookworm-security1:9.2p1-2+deb12u9vulnerable
CpeopensshNot reportedNot reportedunknown
Cpea700s_firmwareNot reportedNot reportedunknown
Cpeactive_iq_unified_managerNot reportedNot reportedunknown
Cpehci_management_nodeNot reportedNot reportedunknown
CpesolidfireNot reportedNot reportedunknown
Cpesteelstore_cloud_integrated_storageNot reportedNot reportedunknown
Cpehci_compute_nodeNot reportedNot reportedunknown
Cpehci_storage_nodeNot reportedNot reportedunknown
Cpefabric_operating_systemNot reportedNot reportedunknown
Ubuntuopensshpro1:8.0p1-6build1vulnerable
Ubuntuopensshpro1:8.1p1-1vulnerable
Ubuntuopensshpro1:8.1p1-5vulnerable
Ubuntuopensshpro1:8.2p1-4vulnerable
Ubuntuopensshpro1:8.2p1-4ubuntu0.1vulnerable
Ubuntuopensshpro1:8.2p1-4ubuntu0.2vulnerable
Ubuntuopensshpro1:8.2p1-4ubuntu0.3vulnerable
Ubuntuopensshpro1:8.2p1-4ubuntu0.4vulnerable
Ubuntuopensshpro1:8.2p1-4ubuntu0.5vulnerable
Ubuntuopensshpro1:8.2p1-4ubuntu0.7vulnerable
Ubuntuopensshpro1:8.2p1-4ubuntu0.8vulnerable
Ubuntuopensshpro1:8.2p1-4ubuntu0.9vulnerable
Ubuntuopensshpro1:8.2p1-4ubuntu0.10vulnerable
Ubuntuopensshpro1:8.2p1-4ubuntu0.11vulnerable
Ubuntuopensshpro1:8.2p1-4ubuntu0.12vulnerable
Ubuntuopensshpro1:8.2p1-4ubuntu0.13vulnerable
Ubuntuopensshpro1:8.2p1-4ubuntu0.13+esm1vulnerable
Ubuntuopensshpro1:8.2p1-4ubuntu0.13+esm2vulnerable
Ubuntuopensshpro1:8.2p1-4ubuntu0.13+esm3vulnerable
Ubuntuopenssh-ssh118.041:7.5p1-8vulnerable
Ubuntuopenssh-ssh118.041:7.5p1-9vulnerable
Ubuntuopenssh-ssh118.041:7.5p1-9build1vulnerable
Ubuntuopenssh-ssh118.041:7.5p1-10vulnerable
Ubuntuopenssh-ssh120.041:7.5p1-11build1vulnerable
Alpineopenssh3.198.3_p1-r0fixed
Alpineopenssh3.208.3_p1-r0fixed
Alpineopenssh3.218.3_p1-r0fixed
Alpineopenssh3.228.3_p1-r0fixed
Alpineopenssh3.238.3_p1-r0fixed
Alpineopenssh3.248.3_p1-r0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianopensshsourcesid(unfixed)unimportantNot reportedNot reported
Debianopensshsourceforky(unfixed)unimportantNot reportedNot reported
Debianopensshsourcetrixie(unfixed)unimportantNot reportedNot reported
Debianopensshsourcebookworm(unfixed)unimportantNot reportedNot reported
Alpineopensshapk3.198.3_p1-r0Not reportedALPINE-CVE-2020-15778Not reported
Alpineopensshapk3.208.3_p1-r0Not reportedALPINE-CVE-2020-15778Not reported
Alpineopensshapk3.218.3_p1-r0Not reportedALPINE-CVE-2020-15778Not reported
Alpineopensshapk3.228.3_p1-r0Not reportedALPINE-CVE-2020-15778Not reported
Alpineopensshapk3.238.3_p1-r0Not reportedALPINE-CVE-2020-15778Not reported
Alpineopensshapk3.248.3_p1-r0Not reportedALPINE-CVE-2020-15778Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [openssh-client]Affected

    Source package: [openssh]

    Details (8)
    • 1:9.2p1-2+deb12u10 · amd64 · bookworm

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u10 · arm64 · bookworm

      Affected

      dsa · openssh · debian · bookworm

    • 1:10.0p1-7~bpo12+1 · amd64 · bookworm-backports

      Affected

      dsa · openssh · debian · bookworm

    • 1:10.0p1-7~bpo12+1 · arm64 · bookworm-backports

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u9 · amd64 · bookworm-security

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u9 · arm64 · bookworm-security

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u7 · amd64 · bookworm-updates

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u7 · arm64 · bookworm-updates

      Affected

      dsa · openssh · debian · bookworm

  • Source package: [openssh]

    Details (2)
    • 1:10.0p1-7~bpo12+1 · all · bookworm-backports

      Affected

      dsa · openssh · debian · bookworm

    • 1:10.0p1-7~bpo12+1 · all · bookworm-backports

      Affected

      dsa · openssh · debian · bookworm

  • [openssh-server]Affected

    Source package: [openssh]

    Details (8)
    • 1:9.2p1-2+deb12u10 · amd64 · bookworm

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u10 · arm64 · bookworm

      Affected

      dsa · openssh · debian · bookworm

    • 1:10.0p1-7~bpo12+1 · amd64 · bookworm-backports

      Affected

      dsa · openssh · debian · bookworm

    • 1:10.0p1-7~bpo12+1 · arm64 · bookworm-backports

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u9 · amd64 · bookworm-security

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u9 · arm64 · bookworm-security

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u7 · amd64 · bookworm-updates

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u7 · arm64 · bookworm-updates

      Affected

      dsa · openssh · debian · bookworm

  • Source package: [openssh]

    Details (2)
    • 1:10.0p1-7~bpo12+1 · all · bookworm-backports

      Affected

      dsa · openssh · debian · bookworm

    • 1:10.0p1-7~bpo12+1 · all · bookworm-backports

      Affected

      dsa · openssh · debian · bookworm

  • Source package: [openssh]

    Details (8)
    • 1:9.2p1-2+deb12u10 · amd64 · bookworm

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u10 · arm64 · bookworm

      Affected

      dsa · openssh · debian · bookworm

    • 1:10.0p1-7~bpo12+1 · amd64 · bookworm-backports

      Affected

      dsa · openssh · debian · bookworm

    • 1:10.0p1-7~bpo12+1 · arm64 · bookworm-backports

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u9 · amd64 · bookworm-security

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u9 · arm64 · bookworm-security

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u7 · amd64 · bookworm-updates

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u7 · arm64 · bookworm-updates

      Affected

      dsa · openssh · debian · bookworm

  • [openssh-tests]Affected

    Source package: [openssh]

    Details (8)
    • 1:9.2p1-2+deb12u10 · amd64 · bookworm

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u10 · arm64 · bookworm

      Affected

      dsa · openssh · debian · bookworm

    • 1:10.0p1-7~bpo12+1 · amd64 · bookworm-backports

      Affected

      dsa · openssh · debian · bookworm

    • 1:10.0p1-7~bpo12+1 · arm64 · bookworm-backports

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u9 · amd64 · bookworm-security

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u9 · arm64 · bookworm-security

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u7 · amd64 · bookworm-updates

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u7 · arm64 · bookworm-updates

      Affected

      dsa · openssh · debian · bookworm

  • [ssh]Affected

    Source package: [openssh]

    Details (8)
    • 1:9.2p1-2+deb12u10 · all · bookworm

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u10 · all · bookworm

      Affected

      dsa · openssh · debian · bookworm

    • 1:10.0p1-7~bpo12+1 · all · bookworm-backports

      Affected

      dsa · openssh · debian · bookworm

    • 1:10.0p1-7~bpo12+1 · all · bookworm-backports

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u9 · all · bookworm-security

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u9 · all · bookworm-security

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u7 · all · bookworm-updates

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u7 · all · bookworm-updates

      Affected

      dsa · openssh · debian · bookworm

  • Source package: [openssh]

    Details (8)
    • 1:9.2p1-2+deb12u10 · amd64 · bookworm

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u10 · arm64 · bookworm

      Affected

      dsa · openssh · debian · bookworm

    • 1:10.0p1-7~bpo12+1 · amd64 · bookworm-backports

      Affected

      dsa · openssh · debian · bookworm

    • 1:10.0p1-7~bpo12+1 · arm64 · bookworm-backports

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u9 · amd64 · bookworm-security

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u9 · arm64 · bookworm-security

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u7 · amd64 · bookworm-updates

      Affected

      dsa · openssh · debian · bookworm

    • 1:9.2p1-2+deb12u7 · arm64 · bookworm-updates

      Affected

      dsa · openssh · debian · bookworm

Observed:

References