Medium severity5.3OSV Advisory· Published Jan 10, 2019· Updated Jun 17, 2026
CVE-2018-20685
CVE-2018-20685
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
39- osv-coords37 versionspkg:rpm/opensuse/openssh&distro=openSUSE%20Leap%2015.0pkg:rpm/opensuse/openssh&distro=openSUSE%20Tumbleweedpkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Enterprise%20Storage%204pkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3pkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP4pkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015pkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4pkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1-LTSSpkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSSpkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3pkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4pkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Linux%20Enterprise%20Server%2012-LTSSpkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4pkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP1pkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20OpenStack%20Cloud%207pkg:rpm/suse/openssh&distro=SUSE%20Enterprise%20Storage%204pkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3pkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP4pkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015pkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015pkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4pkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1-LTSSpkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSSpkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3pkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4pkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Server%2012-LTSSpkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4pkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP1pkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/openssh&distro=SUSE%20OpenStack%20Cloud%207
< 7.6p1-lp150.8.9.1+ 36 more
- (no CPE)range: < 7.6p1-lp150.8.9.1
- (no CPE)range: < 8.4p1-7.4
- (no CPE)range: < 7.2p2-74.35.1
- (no CPE)range: < 7.2p2-74.35.1
- (no CPE)range: < 7.2p2-74.35.1
- (no CPE)range: < 7.6p1-9.13.1
- (no CPE)range: < 6.6p1-36.12.1
- (no CPE)range: < 6.6p1-54.26.1
- (no CPE)range: < 7.2p2-74.35.1
- (no CPE)range: < 7.2p2-74.35.1
- (no CPE)range: < 7.2p2-74.35.1
- (no CPE)range: < 7.2p2-74.35.1
- (no CPE)range: < 6.6p1-54.26.1
- (no CPE)range: < 6.6p1-36.12.1
- (no CPE)range: < 6.6p1-54.26.1
- (no CPE)range: < 7.2p2-74.35.1
- (no CPE)range: < 7.2p2-74.35.1
- (no CPE)range: < 7.2p2-74.35.1
- (no CPE)range: < 7.2p2-74.35.1
- (no CPE)range: < 7.2p2-74.35.1
- (no CPE)range: < 7.2p2-74.35.1
- (no CPE)range: < 7.2p2-74.35.1
- (no CPE)range: < 7.6p1-9.13.1
- (no CPE)range: < 7.6p1-9.13.1
- (no CPE)range: < 6.6p1-36.12.1
- (no CPE)range: < 6.6p1-54.26.1
- (no CPE)range: < 7.2p2-74.35.1
- (no CPE)range: < 7.2p2-74.35.1
- (no CPE)range: < 7.2p2-74.35.1
- (no CPE)range: < 7.2p2-74.35.1
- (no CPE)range: < 6.6p1-54.26.1
- (no CPE)range: < 6.6p1-36.12.1
- (no CPE)range: < 6.6p1-54.26.1
- (no CPE)range: < 7.2p2-74.35.1
- (no CPE)range: < 7.2p2-74.35.1
- (no CPE)range: < 7.2p2-74.35.1
- (no CPE)range: < 7.2p2-74.35.1
Patches
Vulnerability mechanics
References
14- cert-portal.siemens.com/productcert/pdf/ssa-412672.pdfnvdPatchThird Party Advisory
- cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/scp.c.diffnvdPatch
- github.com/openssh/openssh-portable/commit/6010c0303a422a9c5fa8860c061bf7105eb7f8b2nvdPatch
- sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txtnvdPatchThird Party Advisory
- www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.htmlnvdPatchThird Party Advisory
- www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.htmlnvdPatchThird Party Advisory
- access.redhat.com/errata/RHSA-2019:3702nvdThird Party Advisory
- lists.debian.org/debian-lts-announce/2019/03/msg00030.htmlnvdMailing ListThird Party Advisory
- security.gentoo.org/glsa/201903-16nvdThird Party Advisory
- security.gentoo.org/glsa/202007-53nvdThird Party Advisory
- security.netapp.com/advisory/ntap-20190215-0001/nvdThird Party Advisory
- usn.ubuntu.com/3885-1/nvdThird Party Advisory
- www.debian.org/security/2019/dsa-4387nvdThird Party Advisory
- www.securityfocus.com/bid/106531nvdBroken Link
News mentions
0No linked articles in our index yet.