Skip to main content
Public proof of conceptFix available

CVE-2020-15778

A public proof of concept exists; no exploitation attested.

  • Published2020-07-24
  • Fixed in8.3
  • WeaknessCWE-78

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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."

Timeline

dates in UTC
  1. 2020-07-2414:15CVE publishedNVD

Versions per branch

NVD · CISA-ADP
OpenSSH
BranchAffectedFixed in
8.3< 8.38.3
8.3= 8.3no fix published
8.3≤ 8.3p1no fix published
Broadcom fabric operating system
BranchAffectedFixed in
—all versionsno fix published
Netapp a700s firmwareversion to verify
BranchAffectedFixed in
—all versionsno fix published

6 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • opensshUbuntu:Pro:20.04:LTSall versions · no fixed version listed
  • opensshUbuntu:Pro:18.04:LTSall versions · no fixed version listed
  • opensshUbuntu:Pro:16.04:LTSall versions · no fixed version listed
  • opensshUbuntu:Pro:14.04:LTSall versions · no fixed version listed
  • opensshRocky Linux:8all versions · fixed in 0:8.0p1-24.el8
  • opensshRed Hat:enterprise_linux:8::baseosall versions · fixed in 0:8.0p1-24.el8and 13 other packages
  • opensshopenEuler:20.03-LTS-SP2all versions · fixed in 8.2p1-14.oe1
  • opensshopenEuler:20.03-LTS-SP1all versions · fixed in 8.2p1-14.oe1

17 more package ranges on OSV.dev

Vendor advisories

  • CVE-2020-15778 Red Hat Product Security105 products fixed · 18 known affected

    openssh: scp allows command injection when using backtick characters in the destination argument

    openssh.src as a component of Red Hat Enterprise Linux 5 · openssh as a component of Red Hat Enterprise Linux 6 · openssh-askpass as a component of Red Hat Enterprise Linux 6 · +15 more

  • RHSA-2024:3166 Red Hat Product Security105 products fixed

    Red Hat Security Advisory: openssh security update

  • ICSA-23-348-10 CISA5 known affected

    Siemens SIMATIC S7-1500

    SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) · +2 more

  • SSA-398330 Siemens ProductCERT5 known affected

    SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5

    SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.0 < V3.1.5 · +2 more

Full record on NVD

Fix

  1. Update OpenSSH to 8.3
  2. Vendor fix Red Hat Product Security RHSA-2024:3166 · 105 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing this update, the OpenSSH server daemon (sshd) will be restarted automatically.
  3. Vendor fix CISA ICSA-23-348-10 · 5 productsUpdate to V3.1.5 or later version
  4. Vendor fix Siemens ProductCERT SSA-398330 · 1 productUpdate to V3.1.5 or later version
  5. Workaround from the vendor Red Hat Product Security RHSA-2024:3166 · 105 productsAs per upstream, because of the way scp is based on a historical protocol called rcp which relies on that style of argument passing and therefore encounters expansion problems. Making changes to how the scp command line works breaks the pattern used by scp consumers. Upstream therefore recommends t…
  6. Mitigation from the vendor CISA ICSA-23-348-10 · 5 productsOnly build and run applications from trusted sources.
  7. No fix planned, says the vendor Red Hat Product Security CVE-2020-15778 · 8 productsOut of support scope

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Published
2020-07-24
Last modified
2026-10-14
NVD status
Modified
GitHub advisory
GHSA-cvxm-8hgf-6m6m

Frequently asked questions

What is 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."

Is CVE-2020-15778 actively exploited?

A proof-of-concept exploit exists for CVE-2020-15778, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2020-15778?

CVE-2020-15778 has a CVSS v3 base score of 7.4 (High severity), with vector string CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H.

Running OpenSSH? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record