cve.bz

CVE-2019-6111 Path traversal

5.9 mediumExploitEPSS 58%Fix available

Medium (5.9). EPSS 58% estimated probability of exploitation activity in the next 30 days.

On this page
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).

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
58% (unchanged from 58% a week ago; 58% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-12-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-6111 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-6111?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-6111?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-6111 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2019-6111

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2019-6111](https://cve.bz/cve/badge/CVE-2019-6111.svg)](https://cve.bz/cve/CVE-2019-6111)

HTML:

<a href="https://cve.bz/cve/CVE-2019-6111"><img src="https://cve.bz/cve/badge/CVE-2019-6111.svg" alt="CVE-2019-6111"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
openbsd:opensshthrough 7.9
winscp:winscpthrough 5.1.3
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux18.10
debian:debian_linux8.0
debian:debian_linux9.0
redhat:enterprise_linux7.0
redhat:enterprise_linux8.0
redhat:enterprise_linux_eus8.1
redhat:enterprise_linux_eus8.2
redhat:enterprise_linux_eus8.4
redhat:enterprise_linux_eus8.6
redhat:enterprise_linux_server_aus8.2
redhat:enterprise_linux_server_aus8.4
redhat:enterprise_linux_server_aus8.6
redhat:enterprise_linux_server_tus8.2
redhat:enterprise_linux_server_tus8.4
redhat:enterprise_linux_server_tus8.6
fedoraproject:fedora30
apache:mina_sshd2.2.0
freebsd:freebsdbefore 12.0
freebsd:freebsd12.0
freebsd:freebsd12.0:p1
freebsd:freebsd12.0:p2
freebsd:freebsd12.0:p3
fujitsu:m10-1_firmwarebefore xcp2361
fujitsu:m10-4_firmwarebefore xcp2361
fujitsu:m10-4s_firmwarebefore xcp2361
fujitsu:m12-1_firmwarebefore xcp2361
fujitsu:m12-2_firmwarebefore xcp2361
fujitsu:m12-2s_firmwarebefore xcp2361
fujitsu:m10-1_firmwarebefore xcp3070
fujitsu:m10-4_firmwarebefore xcp3070
fujitsu:m10-4s_firmwarebefore xcp3070
fujitsu:m12-1_firmwarebefore xcp3070
fujitsu:m12-2_firmwarebefore xcp3070
fujitsu:m12-2s_firmwarebefore xcp3070
siemens:scalance_x204rna_firmwarebefore 3.2.7
siemens:scalance_x204rna_eec_firmwarebefore 3.2.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8openssh1:6.7p1-5+deb8u8DLA-1728-1
Debian9openssh1:7.4p1-10+deb9u5DSA-4387-1
Debian9openssh1:7.4p1-10+deb9u6DSA-4387-2
Debian12, 13, 14openssh1:7.9p1-9DEBIAN-CVE-2019-6111
Ubuntu14.04:LTSopenssh1:6.6p1-2ubuntu2.13UBUNTU-CVE-2019-6111 USN-3885-1 USN-3885-2
Ubuntu16.04:LTSopenssh1:7.2p2-4ubuntu2.8UBUNTU-CVE-2019-6111 USN-3885-1 USN-3885-2
Ubuntu18.04:LTSopenssh1:7.6p1-4ubuntu0.3UBUNTU-CVE-2019-6111 USN-3885-1 USN-3885-2
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 1 moreopenssh-ssh1no fix listedUBUNTU-CVE-2019-6111
UbuntuPro:FIPS-updates:16.04:LTSopenssh1:7.2p2-4ubuntu2.fips.2.8.1UBUNTU-CVE-2019-6111
UbuntuPro:FIPS:16.04:LTSopenssh1:7.2p2-4ubuntu2.fips.2.10.1UBUNTU-CVE-2019-6111
Red Hatenterprise_linux:8::appstreamopenssh-askpass, openssh-debuginfo, openssh-debugsource and 6 more0:8.0p1-3.el8RHSA-2019:3702
Red Hatenterprise_linux:8::appstreampam_ssh_agent_auth-debuginfo0:0.10.3-7.3.el8RHSA-2019:3702
Red Hatenterprise_linux:8::baseosopenssh, openssh-cavs, openssh-ldap and 11 more0:8.0p1-3.el8RHSA-2019:3702
Red Hatenterprise_linux:8::baseospam_ssh_agent_auth, pam_ssh_agent_auth-debuginfo0:0.10.3-7.3.el8RHSA-2019:3702
SUSEEnterprise Storage 4, Linux Enterprise Desktop 12 SP3, Linux Enterprise Desktop 12 SP4 and 8 moreopenssh7.2p2-74.42.8SUSE-SU-2019:1524-1
SUSEEnterprise Storage 4, Linux Enterprise Desktop 12 SP3, Linux Enterprise Desktop 12 SP4 and 8 moreopenssh, openssh-askpass-gnome7.2p2-74.35.1SUSE-SU-2019:0132-1
SUSEEnterprise Storage 4, Linux Enterprise Desktop 12 SP3, Linux Enterprise Desktop 12 SP4 and 8 moreopenssh-askpass-gnome7.2p2-74.42.10SUSE-SU-2019:1524-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Server Applications 15openssh7.6p1-9.13.1SUSE-SU-2019:0126-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Server Applications 15openssh7.6p1-9.23.1SUSE-SU-2019:0496-1
SUSELinux Enterprise Module for Desktop Applications 15openssh-askpass-gnome7.6p1-9.13.1SUSE-SU-2019:0126-1
SUSELinux Enterprise Module for Desktop Applications 15openssh-askpass-gnome7.6p1-9.23.1SUSE-SU-2019:0496-1
SUSELinux Enterprise Point of Sale 11 SP3openssh, openssh-askpass-gnome6.6p1-41.18.1SUSE-SU-2019:14016-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4openssh, openssh-askpass-gnome6.6p1-36.12.1SUSE-SU-2019:13931-1
SUSELinux Enterprise Server 11 SP4-LTSSopenssh, openssh-askpass-gnome6.6p1-36.20.1SUSE-SU-2019:14030-1
SUSELinux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server 12-LTSSopenssh, openssh-askpass-gnome6.6p1-54.26.1SUSE-SU-2019:0125-1
SUSELinux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server 12-LTSS, Linux Enterprise Server for SAP Applications 12 SP1openssh, openssh-askpass-gnome6.6p1-54.32.1SUSE-SU-2019:0941-1
1 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.0openssh7.6p1-lp150.8.15.2openSUSE-SU-2019:0307-1
openSUSELeap 15.0openssh7.6p1-lp150.8.9.1openSUSE-SU-2019:0091-1
openSUSETumbleweedopenssh8.4p1-7.4openSUSE-SU-2024:11124-1
Rocky Linux8openssh0:8.0p1-30.el8_10RLSA-2019:3702
Alpinev3.6openssh7.5_p1-r4ALPINE-CVE-2019-6111
Alpinev3.7openssh7.5_p1-r10ALPINE-CVE-2019-6111
Alpinev3.8openssh7.7_p1-r4ALPINE-CVE-2019-6111
Alpinev3.9, v3.10, v3.11 and 13 moreopenssh7.9_p1-r3ALPINE-CVE-2019-6111
Alpinev3.24dropbear2026.91-r0ALPINE-CVE-2019-6111

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue affects the scp client shipped with openssh. The SSH protocol or the SSH client is not affected. For more detailed analysis please refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1666127#c2

Red Hat's mitigation

This issue only affects the users of scp binary which is a part of openssh-clients package. Other usage of SSH protocol or other ssh clients is not affected. Administrators can uninstall openssh-clients for additional protection against accidental usage of this binary. Removal of openssh-clients package will make the packaged binaries like scp, ssh etc unavailable.

Note: This flaw requires a malicious MITM scp server for exploitation. Use cases where trusted SCP servers are used are not affected by this flaw.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8openssh-0:8.0p1-3.el8Fixed 2019-11-05RHSA-2019:3702
Red Hat Enterprise Linux 5opensshOut of support scope
Red Hat Enterprise Linux 6opensshOut of support scope
Red Hat Enterprise Linux 7opensshWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-6111.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed
ICSA-22-349-21Siemens SCALANCE X-200RNA Switch Devices2022-12-13MultipleSCALANCE X204RNA (HSR) (6GK5204-0BA00-2MB2), SCALANCE X204RNA (PRP) (6GK5204-0BA00-2KB2), SCALANCE X204RNA EEC (HSR) (6GK5204-0BS00-2NA3) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Public exploits

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON