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.

PackageEcosystemFixed in
openssh-ldap-debuginfoerrata.rockylinux.org8.0
openssh-cavserrata.rockylinux.org8.0
opensshAlpine7.9_p1-r3, 7.7_p1-r4, 7.5_p1-r4, 7.5_p1-r10
openssh-askpasserrata.rockylinux.org8.0
m10-4_firmwarefujitsuxcp3070, 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

VendorProductVersions
n/an/an/a
alpineopenssh0, 0, 0
n/an/a*
amazon:2openssh-ldap0
amazon:2pam_ssh_agent_auth0
amazon:2openssh-server0
alpinedropbear0, 0, 0
amazon:2openssh-clients0
amazon:2openssh0
archopenssh0
amazon:2openssh-cavs0
amazon:2openssh-server-sysvinit0
amazon:2openssh-askpass0
amazon:2openssh-keycat0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›