Vulnerabilities · 2018 · Openbsd
CVE-2018-20685
Openbsd Openssh vulnerability
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.
Affected products
Openssh, Winscp, Cloud Backup, Element Software, Ontap Select Deploy, Steelstore Cloud Integrated Storage, Storage Automation Store, Debian Linux, Ubuntu Linux, Enterprise Linux and more. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Openbsd Openssh runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf · Patch
- cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/scp.c.diff?r1=1.197&r2=1.198&f=h · Patch
- github.com/openssh/openssh-portable/commit/6010c0303a422a9c5fa8860c061bf7105eb7f8b2 · Patch
- sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt · Patch
- www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html · Patch
- www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html · Patch
- access.redhat.com/errata/RHSA-2019:3702 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2019/03/msg00030.html · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2018-20685
- cve.org/CVERecord?id=CVE-2018-20685
More vulnerabilities in Openbsd products
CVE-2025-32728CVE-2025-30334CVE-2025-26466CVE-2025-26465CVE-2024-29937CVE-2024-11149CVE-2024-11148CVE-2024-10934All 307
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.