CVE-2018-20685

openssh-client: In OpenSSH 7.9, scp.c in the scp client allows remote SSH servers to bypassintended access restrictions via the filen...

CVE-2018-20685 is fixed in 13 products on 1 platform, first by openssh-client 1:7.9p1-5, released January 10, 2019. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
5.3
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0368
89th percentile

In OpenSSH 7.9, scp.c in the scp client allows remote SSH servers to bypassintended access restrictions via the filename of . or an empty filename.The impact is modifying the permissions of the target directory on theclient side.

Where it's fixed

ProductFixed inFixReleased
Linux
openssh · RHEL 8 0:8.0p1-3.el8 RHSA-2019:3702 Nov 5, 2019
openssh · ol 8 0:8.0p1-3.el8 ELSA-2019-3702 Nov 14, 2019
openssh · rocky 8 0:8.0p1-30.el8_10 RLSA-2019:3702 Jul 30, 2026
openssh-askpass · RHEL 8 0:8.0p1-3.el8 RHSA-2019:3702 Nov 5, 2019
openssh-askpass · ol 8 0:8.0p1-3.el8 ELSA-2019-3702 Nov 14, 2019
openssh-cavs · RHEL 8 0:8.0p1-3.el8 RHSA-2019:3702 Nov 5, 2019
openssh-cavs · ol 8 0:8.0p1-3.el8 ELSA-2019-3702 Nov 14, 2019
openssh-client · Ubuntu 18.04.6 LTS (bionic) 1:7.6p1-4ubuntu0.2 openssh-client 1:7.6p1-4ubuntu0.2 Jan 13, 2019
openssh-client · Ubuntu 24.10 (oracular) 1:7.9p1-5 openssh-client 1:7.9p1-5 Jan 10, 2019
openssh-clients · RHEL 8 0:8.0p1-3.el8 RHSA-2019:3702 Nov 5, 2019
openssh-clients · ol 8 0:8.0p1-3.el8 ELSA-2019-3702 Nov 14, 2019
openssh-keycat · RHEL 8 0:8.0p1-3.el8 RHSA-2019:3702 Nov 5, 2019
openssh-keycat · ol 8 0:8.0p1-3.el8 ELSA-2019-3702 Nov 14, 2019
openssh-ldap · RHEL 8 0:8.0p1-3.el8 RHSA-2019:3702 Nov 5, 2019
openssh-ldap · ol 8 0:8.0p1-3.el8 ELSA-2019-3702 Nov 14, 2019
openssh-server · RHEL 8 0:8.0p1-3.el8 RHSA-2019:3702 Nov 5, 2019
openssh-server · Ubuntu 18.04.6 LTS (bionic) 1:7.6p1-4ubuntu0.2 openssh-server 1:7.6p1-4ubuntu0.2 Jan 13, 2019
openssh-server · Ubuntu 24.10 (oracular) 1:7.9p1-5 openssh-server 1:7.9p1-5 Jan 10, 2019
openssh-server · ol 8 0:8.0p1-3.el8 ELSA-2019-3702 Nov 14, 2019
openssh-sftp-server · Ubuntu 18.04.6 LTS (bionic) 1:7.6p1-4ubuntu0.2 openssh-sftp-server 1:7.6p1-4ubuntu0.2 Jan 13, 2019
openssh-sftp-server · Ubuntu 24.10 (oracular) 1:7.9p1-5 openssh-sftp-server 1:7.9p1-5 Jan 10, 2019
openssh-tests · Ubuntu 24.10 (oracular) 1:7.9p1-5 openssh-tests 1:7.9p1-5 Jan 10, 2019
pam_ssh_agent_auth · RHEL 8 0:0.10.3-7.3.el8 RHSA-2019:3702 Nov 5, 2019
pam_ssh_agent_auth · ol 8 0:0.10.3-7.3.el8 ELSA-2019-3702 Nov 14, 2019
ssh · Ubuntu 18.04.6 LTS (bionic) 1:7.6p1-4ubuntu0.2 ssh 1:7.6p1-4ubuntu0.2 Jan 13, 2019
ssh · Ubuntu 24.10 (oracular) 1:7.9p1-5 ssh 1:7.9p1-5 Jan 10, 2019
ssh-askpass-gnome · Ubuntu 18.04.6 LTS (bionic) 1:7.6p1-4ubuntu0.2 ssh-askpass-gnome 1:7.6p1-4ubuntu0.2 Jan 13, 2019
ssh-askpass-gnome · Ubuntu 24.10 (oracular) 1:7.9p1-5 ssh-askpass-gnome 1:7.9p1-5 Jan 10, 2019

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.