CVEfocus › CVE database › CVE-2019-6111

CVE-2019-6111

CVSS 5.9 MediumEPSS 58.2% (in the top 1% of all CVEs)Published 2019-01-31Updated 2026-10-14Assigner: mitre

An issue was discovered in OpenSSH 7.9. Due to the scp implementation being derived from 1983 rcp, the server chooses which files/directories are sent to the client. However, the scp client only performs cursory validation of the object name returned (only directory traversal attacks are prevented). A malicious scp server (or Man-in-The-Middle attacker) can overwrite arbitrary files in the scp client target directory. If recursive operation (-r) is performed, the server can manipulate subdirectories as well (for example, to overwrite the .ssh/authorized_keys file).

CWE-22

What to do

Likely to be exploited: EPSS gives a 58% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

35Fixed
20Will not fix
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04opensshNot affected
vulnerable_code_not_present
Ubuntu 24.04openssh-ssh1Will not fix
openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support…
UBUNTU-CVE-2019-6111
Ubuntu 22.04opensshNot affected
vulnerable_code_not_present
Ubuntu 22.04openssh-ssh1Will not fix
openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support…
UBUNTU-CVE-2019-6111
Ubuntu 20.04openssh-ssh1Will not fix
openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support…
UBUNTU-CVE-2019-6111
Ubuntu 18.04opensshFixed1:7.6p1-4ubuntu0.3UBUNTU-CVE-2019-6111
Ubuntu 18.04openssh-ssh1Will not fix
openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support…
UBUNTU-CVE-2019-6111
Ubuntu 16.04opensshFixed1:7.2p2-4ubuntu2.8UBUNTU-CVE-2019-6111
Ubuntu 14.04opensshFixed1:6.6p1-2ubuntu2.13UBUNTU-CVE-2019-6111
Debian 14opensshFixed1:7.9p1-9DEBIAN-CVE-2019-6111
Debian 13opensshFixed1:7.9p1-9DEBIAN-CVE-2019-6111
Debian 12opensshFixed1:7.9p1-9DEBIAN-CVE-2019-6111
Red Hat Enterprise Linux 8opensshFixed0:8.0p1-3.el8RHSA-2019:3702
Red Hat Enterprise Linux 8openssh-askpassFixed0:8.0p1-3.el8RHSA-2019:3702
Red Hat Enterprise Linux 8openssh-cavsFixed0:8.0p1-3.el8RHSA-2019:3702
Red Hat Enterprise Linux 8openssh-clientsFixed0:8.0p1-3.el8RHSA-2019:3702
Red Hat Enterprise Linux 8openssh-keycatFixed0:8.0p1-3.el8RHSA-2019:3702
Red Hat Enterprise Linux 8openssh-ldapFixed0:8.0p1-3.el8RHSA-2019:3702
Red Hat Enterprise Linux 8openssh-serverFixed0:8.0p1-3.el8RHSA-2019:3702
Red Hat Enterprise Linux 8pam_ssh_agent_authFixed0:0.10.3-7.3.el8RHSA-2019:3702
Red Hat Enterprise Linux 7opensshWill not fix
Will not fix
Red Hat Enterprise Linux 7openssh-askpassWill not fix
Will not fix
Red Hat Enterprise Linux 7openssh-cavsWill not fix
Will not fix
Red Hat Enterprise Linux 7openssh-clientsWill not fix
Will not fix
Red Hat Enterprise Linux 7openssh-keycatWill not fix
Will not fix
Red Hat Enterprise Linux 7openssh-ldapWill not fix
Will not fix
Red Hat Enterprise Linux 7openssh-serverWill not fix
Will not fix
Red Hat Enterprise Linux 7openssh-server-sysvinitWill not fix
Will not fix
Red Hat Enterprise Linux 7pam_ssh_agent_authWill not fix
Will not fix
Red Hat Enterprise Linux 6opensshWill not fix
Out of support scope
Red Hat Enterprise Linux 6openssh-askpassWill not fix
Out of support scope
Red Hat Enterprise Linux 6openssh-clientsWill not fix
Out of support scope
Red Hat Enterprise Linux 6openssh-ldapWill not fix
Out of support scope
Red Hat Enterprise Linux 6openssh-serverWill not fix
Out of support scope
Red Hat Enterprise Linux 6pam_ssh_agent_authWill not fix
Out of support scope
Red Hat Enterprise Linux 5opensshWill not fix
Out of support scope
Rocky Linux 8opensshFixed0:8.0p1-30.el8_10RLSA-2019:3702
Alpine Linux 3.24dropbearFixed2025.89-r0ALPINE-CVE-2019-6111
Alpine Linux 3.24opensshFixed7.9_p1-r3ALPINE-CVE-2019-6111
Alpine Linux 3.23opensshFixed7.9_p1-r3ALPINE-CVE-2019-6111
Alpine Linux 3.22opensshFixed7.9_p1-r3ALPINE-CVE-2019-6111
Alpine Linux 3.21opensshFixed7.9_p1-r3ALPINE-CVE-2019-6111
Alpine Linux 3.20opensshFixed7.9_p1-r3ALPINE-CVE-2019-6111
Alpine Linux 3.19opensshFixed7.9_p1-r3ALPINE-CVE-2019-6111
Alpine Linux 3.18opensshFixed7.9_p1-r3ALPINE-CVE-2019-6111
Alpine Linux 3.17opensshFixed7.9_p1-r3ALPINE-CVE-2019-6111
Alpine Linux 3.16opensshFixed7.9_p1-r3ALPINE-CVE-2019-6111
Alpine Linux 3.15opensshFixed7.9_p1-r3ALPINE-CVE-2019-6111
Alpine Linux 3.14opensshFixed7.9_p1-r3ALPINE-CVE-2019-6111
Alpine Linux 3.13opensshFixed7.9_p1-r3ALPINE-CVE-2019-6111
Alpine Linux 3.12opensshFixed7.9_p1-r3ALPINE-CVE-2019-6111
Alpine Linux 3.11opensshFixed7.9_p1-r3ALPINE-CVE-2019-6111
Alpine Linux 3.10opensshFixed7.9_p1-r3ALPINE-CVE-2019-6111
Alpine Linux 3.9opensshFixed7.9_p1-r3ALPINE-CVE-2019-6111
Alpine Linux 3.8opensshFixed7.7_p1-r4ALPINE-CVE-2019-6111
Alpine Linux 3.7opensshFixed7.5_p1-r10ALPINE-CVE-2019-6111
Alpine Linux 3.6opensshFixed7.5_p1-r4ALPINE-CVE-2019-6111

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.