CVE-2018-20685

openssh: scp client improper directory name validation

Published Jan 10, 2019 CVSS 3.1 · 5.3 Medium EPSS 3.7% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-1728-1 openssh security update
Debian DSA Debian DSA DSA-4387-1 openssh security update
EUVD EUVD EUVD-2018-13232 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.
Ubuntu USN Ubuntu USN USN-3885-1 OpenSSH vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Dec 17, 2025, 9:53 PM
Reserved
Jan 10, 2019, 12:00 AM
Status
Modified
Published
Jan 10, 2019, 9:29 PM
Modified
Jun 17, 2026, 1:53 AM
Severity
Moderate
Public date
Nov 16, 2018, 12:00 AM