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 filename. The impact is modifying the permissions of the
02 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
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 3.68% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 89.2% of scored records. A rank, not a probability.
- NVD base score
- 5.3 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2019-01-10 00:00Z7 YR AGO
- Last updated
- 2025-12-17 21:53Z10 MO AGO
- Reserved
- 2019-01-10
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 5.3)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
- Weaknesses
- Data version
- 5.2
- Document digest
- 03ea71caea98d93dbbb84c9a6061903fdfc2e24794fab7153288974d11582c0c
05 Affected products
06 References
- www.debian.orgDSA-4387https://www.debian.org/security/2019/dsa-4387
- usn.ubuntu.comUSN-3885-1https://usn.ubuntu.com/3885-1/
- github.comhttps://github.com/openssh/openssh-portable/commit/6010c0303a422a9c5fa8860c061bf7105eb7f8b2
- cvsweb.openbsd.orghttps://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/scp.c.diff?r1=1.197&r2=1.198&f=h
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20190215-0001/
- www.securityfocus.com106531http://www.securityfocus.com/bid/106531
- sintonen.fihttps://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt
- security.gentoo.orgGLSA-201903-16https://security.gentoo.org/glsa/201903-16
- lists.debian.org[debian-lts-announce] 20190325 [SECURITY] [DLA 1728-1] openssh security updatehttps://lists.debian.org/debian-lts-announce/2019/03/msg00030.html
- www.oracle.comhttps://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
- www.oracle.comhttps://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
- access.redhat.comRHSA-2019:3702https://access.redhat.com/errata/RHSA-2019:3702
- security.gentoo.orgGLSA-202007-53https://security.gentoo.org/glsa/202007-53
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
07 Fixed in
Arch Linux
- openssh Fixed in 8.0p1-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Debian 12
- openssh Fixed in 1:7.9p1-5
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- openssh Fixed in 1:7.9p1-5
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- openssh Fixed in 1:7.9p1-5
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- openssh Fixed in 1:6.6p1-2ubuntu2.12
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- openssh Fixed in 1:7.2p2-4ubuntu2.7
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- openssh Fixed in 1:7.6p1-4ubuntu0.2
- openssh-ssh1 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- openssh-ssh1 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- openssh-ssh1 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- openssh-ssh1 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-updates 16.04 LTS
- openssh Fixed in 1:7.2p2-4ubuntu2.fips.2.8.1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS 16.04 LTS
- openssh Fixed in 1:7.2p2-4ubuntu2.fips.2.10.1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.