Skip to content
OpenAdvisories
Medium · 5.3 CVE-2018-20685 EUVD-2018-13232GHSA-28hp-2gv6-gjp8

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 …

Published Jan 10, 2019 · Updated Dec 17, 2025 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openssh 1:7.9p1-5 —
Debian 13 openssh 1:7.9p1-5 —
Debian 12 openssh 1:7.9p1-5 —
Debian 9 openssh 1:7.4p1-10+deb9u5 DSA-4387-1
Debian 8 openssh 1:6.7p1-5+deb8u8 DLA-1728-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS openssh-ssh1 No fix yet —
Ubuntu 22.04 LTS openssh-ssh1 No fix yet —
Ubuntu 20.04 LTS openssh-ssh1 No fix yet —
Ubuntu 18.04 LTS openssh 1:7.6p1-4ubuntu0.2 USN-3885-1
Ubuntu 18.04 LTS openssh-ssh1 No fix yet —
Ubuntu 16.04 LTS openssh 1:7.2p2-4ubuntu2.7 USN-3885-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS openssh 1:6.6p1-2ubuntu2.12 USN-3885-1
Ubuntu Pro FIPS 16.04 LTS openssh 1:7.2p2-4ubuntu2.fips.2.10.1 —
Ubuntu Pro FIPS-updates 16.04 LTS openssh 1:7.2p2-4ubuntu2.fips.2.8.1 —
ReleasePackageFixed inAdvisory
RHEL 8 openssh +6 8.0p1-3.el8 RHSA-2019:3702
RHEL 8 pam_ssh_agent_auth 0.10.3-7.3.el8 RHSA-2019:3702

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 openssh 8.0p1-30.el8_10 RLSA-2019:3702
ReleasePackageFixed inAdvisory
SLES 15 openssh +1 7.6p1-9.13.1 SUSE-SU-2019:0126-1
SLES 12 SP4 openssh +1 7.2p2-74.35.1 SUSE-SU-2019:0132-1
SLES 12 SP3 openssh +1 7.2p2-74.35.1 SUSE-SU-2019:0132-1
SLES 12 SP2 openssh +1 7.2p2-74.35.1 SUSE-SU-2019:0132-1
SLES 12 SP1 openssh +1 6.6p1-54.26.1 SUSE-SU-2019:0125-1
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 openssh +1 6.6p1-54.26.1 SUSE-SU-2019:0125-1
SLES 11 SP4 openssh +1 6.6p1-36.12.1 SUSE-SU-2019:13931-1
SLES for SAP 12 SP4 openssh +1 7.2p2-74.35.1 SUSE-SU-2019:0132-1
SLES for SAP 12 SP3 openssh +1 7.2p2-74.35.1 SUSE-SU-2019:0132-1
SLES for SAP 12 SP2 openssh +1 7.2p2-74.35.1 SUSE-SU-2019:0132-1
SLES for SAP 12 SP1 openssh +1 6.6p1-54.26.1 SUSE-SU-2019:0125-2
SLES for SAP 11 SP4 openssh +1 6.6p1-36.12.1 SUSE-SU-2019:13931-1
SUSE OpenStack Cloud 7 openssh +1 7.2p2-74.35.1 SUSE-SU-2019:0132-1
SUSE Enterprise Storage 4 openssh +1 7.2p2-74.35.1 SUSE-SU-2019:0132-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed openssh 8.4p1-7.4 openSUSE-SU-2024:11124-1
openSUSE Leap 15.0 openssh 7.6p1-lp150.8.9.1 openSUSE-SU-2019:0091-1
ReleasePackageFixed inAdvisory
Alpine v3.24 dropbear 2020.79-r0 —
Alpine v3.24 openssh 7.9_p1-r3 —
Alpine v3.23 dropbear 2020.79-r0 —
Alpine v3.23 openssh 7.9_p1-r3 —
Alpine v3.22 dropbear 2020.79-r0 —
Alpine v3.22 openssh 7.9_p1-r3 —
Alpine v3.21 dropbear 2020.79-r0 —
Alpine v3.21 openssh 7.9_p1-r3 —
Alpine v3.20 dropbear 2020.79-r0 —
Alpine v3.20 openssh 7.9_p1-r3 —
Show 14 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 dropbear 2020.79-r0 —
Alpine v3.19 openssh 7.9_p1-r3 —
Alpine v3.18 dropbear 2020.79-r0 —
Alpine v3.18 openssh 7.9_p1-r3 —
Alpine v3.17 dropbear 2020.79-r0 —
Alpine v3.17 openssh 7.9_p1-r3 —
Alpine v3.16 dropbear 2020.79-r0 —
Alpine v3.16 openssh 7.9_p1-r3 —
Alpine v3.15 dropbear 2020.79-r0 —
Alpine v3.15 openssh 7.9_p1-r3 —
Alpine v3.14 dropbear 2020.79-r0 —
Alpine v3.14 openssh 7.9_p1-r3 —
Alpine v3.13 dropbear 2020.79-r0 —
Alpine v3.13 openssh 7.9_p1-r3 —
Alpine v3.12 dropbear 2019.78-r1 —
Alpine v3.12 openssh 7.9_p1-r3 —
Alpine v3.11 dropbear 2019.78-r1 —
Alpine v3.11 openssh 7.9_p1-r3 —
Alpine v3.10 dropbear 2019.78-r1 —
Alpine v3.10 openssh 7.9_p1-r3 —
Alpine v3.9 dropbear 2018.76-r3 —
Alpine v3.9 openssh 7.9_p1-r3 —
Alpine v3.8 openssh 7.7_p1-r4 —
Alpine v3.7 openssh 7.5_p1-r10 —
Alpine v3.6 openssh 7.5_p1-r4 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 openssh +7 7.4p1-16.amzn2.0.6 ALAS2-2019-1216
Amazon Linux 2 pam_ssh_agent_auth 0.10.3-2.16.amzn2.0.6 ALAS2-2019-1216

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 openssh +6 8.0p1-3.el8 ELSA-2019-3702
Oracle Linux 8 pam_ssh_agent_auth 0.10.3-7.3.el8 ELSA-2019-3702

Advisories 18

References