CVE-2018-20685
- State
- Published
- Severity
- 5.3 Medium
- Published
- Jan 10, 2019
- Updated
- Dec 17, 2025
- Reserved
- Jan 10, 2019
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
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.3 Medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N | CISA-ADP |
Weaknesses
- CWE-863 Incorrect Authorization
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- DSA-4387vendor-advisory
- USN-3885-1vendor-advisory
- https://github.com/openssh/openssh-portable/commit/6010c0303a422a9c5fa8860c061bf7105eb7f8b2
- https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/scp.c.diff?r1=1.197&r2=1.198&f=h
- https://security.netapp.com/advisory/ntap-20190215-0001/
- 106531vdb-entry
- https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt
- GLSA-201903-16vendor-advisory
- [debian-lts-announce] 20190325 [SECURITY] [DLA 1728-1] openssh security updatemailing-list
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
- RHSA-2019:3702vendor-advisory
- GLSA-202007-53vendor-advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.