CVE-2020-15778
scp in OpenSSH through 8.3p1 allows command injection in the scp.c toremote function, as demonstrated by backtick characters in the destination argument. NOTE: the vendor reportedly has stated that they intentionally omit validation of "anomalous argument transfers" because that could "stand a great chance of breaking existing workflows."
What to do
Likely to be exploited: EPSS gives a 14% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from AlmaLinux, Alpine, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | openssh | Fix pending | UBUNTU-CVE-2020-15778 | |
| Ubuntu 20.04 | openssh-ssh1 | Will not fix openssh-ssh1 is provided for compatibility with old devices that cannot be upgraded to modern protocols. Thus we may not provide security support for this… | UBUNTU-CVE-2020-15778 | |
| Ubuntu 18.04 | openssh | Fix pending | UBUNTU-CVE-2020-15778 | |
| Ubuntu 18.04 | openssh-ssh1 | Will not fix openssh-ssh1 is provided for compatibility with old devices that cannot be upgraded to modern protocols. Thus we may not provide security support for this… | UBUNTU-CVE-2020-15778 | |
| Ubuntu 16.04 | openssh | Will not fix openssh-ssh1 is provided for compatibility with old devices that cannot be upgraded to modern protocols. Thus we may not provide security support for this… | UBUNTU-CVE-2020-15778 | |
| Ubuntu 14.04 | openssh | Fix pending | UBUNTU-CVE-2020-15778 | |
| Debian 14 | openssh | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2020-15778 | |
| Debian 13 | openssh | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2020-15778 | |
| Debian 12 | openssh | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2020-15778 | |
| Red Hat Enterprise Linux 8 | openssh | Fixed | 0:8.0p1-24.el8 | RHSA-2024:3166 |
| Red Hat Enterprise Linux 8 | openssh-askpass | Fixed | 0:8.0p1-24.el8 | RHSA-2024:3166 |
| Red Hat Enterprise Linux 8 | openssh-cavs | Fixed | 0:8.0p1-24.el8 | RHSA-2024:3166 |
| Red Hat Enterprise Linux 8 | openssh-clients | Fixed | 0:8.0p1-24.el8 | RHSA-2024:3166 |
| Red Hat Enterprise Linux 8 | openssh-keycat | Fixed | 0:8.0p1-24.el8 | RHSA-2024:3166 |
| Red Hat Enterprise Linux 8 | openssh-ldap | Fixed | 0:8.0p1-24.el8 | RHSA-2024:3166 |
| Red Hat Enterprise Linux 8 | openssh-server | Fixed | 0:8.0p1-24.el8 | RHSA-2024:3166 |
| Red Hat Enterprise Linux 8 | pam_ssh_agent_auth | Fixed | 0:0.10.3-7.24.el8 | RHSA-2024:3166 |
| Red Hat Enterprise Linux 7 | openssh | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | openssh-askpass | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | openssh-cavs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | openssh-clients | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | openssh-keycat | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | openssh-ldap | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | openssh-server | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | openssh-server-sysvinit | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | pam_ssh_agent_auth | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | openssh | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openssh-askpass | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openssh-clients | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openssh-ldap | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openssh-server | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | pam_ssh_agent_auth | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 5 | openssh | Will not fix Out of support scope | ||
| AlmaLinux 8 | openssh | Fixed | 8.0p1-24.el8 | ALSA-2024:3166 |
| AlmaLinux 8 | openssh-askpass | Fixed | 8.0p1-24.el8 | ALSA-2024:3166 |
| AlmaLinux 8 | openssh-cavs | Fixed | 8.0p1-24.el8 | ALSA-2024:3166 |
| AlmaLinux 8 | openssh-clients | Fixed | 8.0p1-24.el8 | ALSA-2024:3166 |
| AlmaLinux 8 | openssh-keycat | Fixed | 8.0p1-24.el8 | ALSA-2024:3166 |
| AlmaLinux 8 | openssh-ldap | Fixed | 8.0p1-24.el8 | ALSA-2024:3166 |
| AlmaLinux 8 | openssh-server | Fixed | 8.0p1-24.el8 | ALSA-2024:3166 |
| AlmaLinux 8 | pam_ssh_agent_auth | Fixed | 0.10.3-7.24.el8 | ALSA-2024:3166 |
| Rocky Linux 8 | openssh | Fixed | 0:8.0p1-24.el8 | RLSA-2024:3166 |
| Alpine Linux 3.24 | openssh | Fixed | 8.3_p1-r0 | ALPINE-CVE-2020-15778 |
| Alpine Linux 3.23 | openssh | Fixed | 8.3_p1-r0 | ALPINE-CVE-2020-15778 |
| Alpine Linux 3.22 | openssh | Fixed | 8.3_p1-r0 | ALPINE-CVE-2020-15778 |
| Alpine Linux 3.21 | openssh | Fixed | 8.3_p1-r0 | ALPINE-CVE-2020-15778 |
| Alpine Linux 3.20 | openssh | Fixed | 8.3_p1-r0 | ALPINE-CVE-2020-15778 |
| Alpine Linux 3.19 | openssh | Fixed | 8.3_p1-r0 | ALPINE-CVE-2020-15778 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://security.gentoo.org/glsa/202212-06 (vendor-advisory)
References
- https://www.openssh.com/security.html
- https://github.com/cpandya2909/CVE-2020-15778/
- https://security.netapp.com/advisory/ntap-20200731-0007/
- https://news.ycombinator.com/item?id=25005567
- https://security.gentoo.org/glsa/202212-06
- https://access.redhat.com/errata/RHSA-2024:3166
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.