Back
CVE-2018-20685
In OpenSSH 7.9, scp.c in the scp client allows remote SSH servers to bypass intended access restrictions via the filename of . or an empty…
Medium5.3EPSS 3.7%
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
In OpenSSH 7.9, scp.c in the scp client allows remote SSH servers to bypass intended access restrictions via the filename of . or an empty filename. The impact is modifying the permissions of the target directory on the client side.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVDNVD · Modified | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 3.7% · top 10% of all CVEs (5 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Weakness
Affected products
n/a
- affected n/a
References (14)
- DSA-4387 (opens in a new tab)vendor-advisoryx_transferred
- USN-3885-1 (opens in a new tab)vendor-advisoryx_transferred
- https://github.com/openssh/openssh-portable/commit/6010c0303a422a9c5fa8860c061bf7105eb7f8b2 (opens in a new tab)x_transferred
- https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/scp.c.diff?r1=1.197&r2=1.198&f=h (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20190215-0001/ (opens in a new tab)x_transferred
- 106531 (opens in a new tab)vdb-entryx_transferred
- https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt (opens in a new tab)x_transferred
- GLSA-201903-16 (opens in a new tab)vendor-advisoryx_transferred
- [debian-lts-announce] 20190325 [SECURITY] [DLA 1728-1] openssh security update (opens in a new tab)mailing-listx_transferred
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html (opens in a new tab)x_transferred
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html (opens in a new tab)x_transferred
- RHSA-2019:3702 (opens in a new tab)vendor-advisoryx_transferred
- GLSA-202007-53 (opens in a new tab)vendor-advisoryx_transferred
- https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-20685)Record last updated .