VDB
CVE-2018-20685
CVE-2018-20685
PUBLISHED
CVSS 5.3 MEDIUM
Reported by mitre · Published January 10, 2019
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| openssh-ldap-debuginfo | errata.rockylinux.org | 8.0 |
| openssh-cavs | errata.rockylinux.org | 8.0 |
| openssh | Alpine | 7.9_p1-r3, 7.7_p1-r4, 7.5_p1-r4, 7.5_p1-r10 |
| openssh-askpass | errata.rockylinux.org | 8.0 |
| m10-4_firmware | fujitsu | xcp3070, xcp2361 |
Risk scores
CVSS 3.1
5.3
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| alpine | openssh | 0, 0, 0 |
| n/a | n/a | * |
| amazon:2 | openssh-ldap | 0 |
| amazon:2 | pam_ssh_agent_auth | 0 |
| amazon:2 | openssh-server | 0 |
| alpine | dropbear | 0, 0, 0 |
| amazon:2 | openssh-clients | 0 |
| amazon:2 | openssh | 0 |
| arch | openssh | 0 |
| amazon:2 | openssh-cavs | 0 |
| amazon:2 | openssh-server-sysvinit | 0 |
| amazon:2 | openssh-askpass | 0 |
| amazon:2 | openssh-keycat | 0 |
Timeline
- Jan 10, 2019 CVE Published
- Jul 19, 2020 VulnCheck KEV Exploitation (5 in total, the first dated here)
- Oct 2, 2020 PoC Published (7 in total, the first dated here)
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (4 in total, the first dated here)
- Mar 6, 2026 Security Advisory (8 in total, the first dated here)
- Jul 29, 2026 CVE Updated
- Sep 21, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-20685
vulnetix vdb fixes CVE-2018-20685
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-20685/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- DSA-4387 vendor-advisory
- USN-3885-1 vendor-advisory
- 106531 vdb-entry
- GLSA-201903-16 vendor-advisory
- [debian-lts-announce] 20190325 [SECURITY] [DLA 1728-1] openssh security update mailing-list
- RHSA-2019:3702 vendor-advisory
- GLSA-202007-53 vendor-advisory