# CVE-2018-20685

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2019-01-10 · Modified: 2025-12-17
- Aliases: ALPINE-CVE-2018-20685, MGASA-2019-0067, UBUNTU-CVE-2018-20685, DEBIAN-CVE-2018-20685
- Record: https://cvemate.com/vulnerability/CVE-2018-20685 · JSON: https://cvemate.com/vulnerability/CVE-2018-20685/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
- EPSS: 3.681%, percentile 90.026%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 28)

- alpine dropbear (Alpine Linux): \< 2019.78-r1 \| \< 2020.79-r0 \| \< 2018.76-r3
- alpine openssh (Alpine Linux): \< 7.9\_p1-r3 \| \< 7.5\_p1-r4 \| \< 7.5\_p1-r10 \| \< 7.7\_p1-r4
- canonical ubuntu\_linux: 14.04 \| 16.04 \| 18.04 \| 18.10
- debian openssh (Debian): \< 1:7.9p1-5
- ubuntu openssh (Ubuntu): \< 1:6.6p1-2ubuntu2.12 \| \< 1:7.2p2-4ubuntu2.7 \| \< 1:7.2p2-4ubuntu2.fips.2.8.1 \| \< 1:7.2p2-4ubuntu2.fips.2.10.1 \| \< 1:7.6p1-4ubuntu0.2
- ubuntu openssh-ssh1 (Ubuntu): All versions (No fix recorded)
- debian debian\_linux: 8.0 \| 9.0
- fujitsu m10-1\_firmware: \< xcp2361 \| \< xcp3070
- fujitsu m10-4\_firmware: \< xcp2361 \| \< xcp3070
- fujitsu m10-4s\_firmware: \< xcp2361 \| \< xcp3070
- fujitsu m12-1\_firmware: \< xcp2361 \| \< xcp3070
- fujitsu m12-2\_firmware: \< xcp2361 \| \< xcp3070
- fujitsu m12-2s\_firmware: \< xcp2361 \| \< xcp3070
- mageia openssh (Mageia): \< 7.5p1-2.3.mga6
- netapp cloud\_backup: na
- netapp element\_software: na
- netapp ontap\_select\_deploy: na
- netapp steelstore\_cloud\_integrated\_storage: na
- netapp storage\_automation\_store: na
- openbsd openssh: ≤ 7.9

## References (first 20 of 23)

- <https://www.debian.org/security/2019/dsa-4387>
- <https://usn.ubuntu.com/3885-1/>
- <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/>
- <http://www.securityfocus.com/bid/106531>
- <https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt>
- <https://security.gentoo.org/glsa/201903-16>
- <https://lists.debian.org/debian-lts-announce/2019/03/msg00030.html>
- <https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html>
- <https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html>
- <https://access.redhat.com/errata/RHSA-2019:3702>
- <https://security.gentoo.org/glsa/202007-53>
- <https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf>
- <https://security.alpinelinux.org/vuln/CVE-2018-20685>
- <https://advisories.mageia.org/MGASA-2019-0067.html>
- <https://bugs.mageia.org/show_bug.cgi?id=24191>
- <https://lists.opensuse.org/opensuse-updates/2019-01/msg00094.html>
- <https://ubuntu.com/security/CVE-2018-20685>
- <https://lists.mindrot.org/pipermail/openssh-unix-dev/2019-January/037459.html>

---

Data as of 2026-12-05T03:05:41.416Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
