CVE-2019-6111 json
An issue was discovered in OpenSSH 7.9.
published 7y ago modified 26d ago also EUVD-2019-15678
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 58.2%
- EPSS 58.2% chance of exploitation in 30 days, percentile 99%
- public exploits
- 2
- Exploit-DB
Summary
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).
Patch / fix
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- openssh Debian 14, Debian 13, Debian 12 1:7.9p1-9
debian advisories DEBIAN-CVE-2019-6111
- openssh Ubuntu 14.04 LTS 1:6.6p1-2ubuntu2.13
- openssh Ubuntu 16.04 LTS 1:7.2p2-4ubuntu2.8
- openssh Ubuntu 18.04 LTS 1:7.6p1-4ubuntu0.3
- openssh Ubuntu Pro FIPS-updates 16.04 LTS 1:7.2p2-4ubuntu2.fips.2.8.1
- openssh Ubuntu Pro FIPS 16.04 LTS 1:7.2p2-4ubuntu2.fips.2.10.1
ubuntu advisories UBUNTU-CVE-2019-6111
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- openssh RHEL 8 8.0p1-3.el8
- openssh-cavs RHEL 8 8.0p1-3.el8
- openssh-ldap RHEL 8 8.0p1-3.el8
- openssh-keycat RHEL 8 8.0p1-3.el8
- openssh-server RHEL 8 8.0p1-3.el8
- openssh-askpass RHEL 8 8.0p1-3.el8
- openssh-clients RHEL 8 8.0p1-3.el8
- pam_ssh_agent_auth RHEL 8 0.10.3-7.3.el8
red hat advisories RHSA-2019:3702
- openssh SLES for SAP 12 SP4, SLES for SAP 12 SP3, SLES for SAP 12 SP2 +8 more 7.2p2-74.42.8
- openssh-askpass-gnome SLES for SAP 12 SP4, SLES for SAP 12 SP3, SLES for SAP 12 SP2 +8 more 7.2p2-74.42.10
- openssh SLE Point of Sale 11 SP3 6.6p1-41.18.1
- openssh-askpass-gnome SLE Point of Sale 11 SP3 6.6p1-41.18.1
- openssh SLE Module for Server Applications 15, SLE Module for Basesystem 15 7.6p1-9.23.1
- openssh-askpass-gnome SLE Module for Desktop Applications 15 7.6p1-9.23.1
- openssh SLES for SAP 12 SP4, SLES for SAP 12 SP3, SLES for SAP 12 SP2 +8 more 7.2p2-74.35.1
- openssh-askpass-gnome SLES for SAP 12 SP4, SLES for SAP 12 SP3, SLES for SAP 12 SP2 +8 more 7.2p2-74.35.1
suse advisories SUSE-SU-2019:1524-1SUSE-SU-2019:0125-2SUSE-SU-2019:14030-1SUSE-SU-2019:0941-1SUSE-SU-2019:14016-1SUSE-SU-2019:0496-1
- openssh openSUSE Tumbleweed 8.4p1-7.4
- openssh openSUSE Leap 15.0 7.6p1-lp150.8.15.2
- openssh openSUSE Leap 15.0 7.6p1-lp150.8.9.1
opensuse advisories openSUSE-SU-2024:11124-1openSUSE-SU-2019:0307-1openSUSE-SU-2019:0091-1
- openssh Rocky Linux 8 8.0p1-30.el8_10
rocky linux advisories RLSA-2019:3702
- openssh Alpine 3.24, Alpine 3.23, Alpine 3.22 +13 more 7.9_p1-r3
- openssh Alpine 3.6 7.5_p1-r4
- openssh Alpine 3.7 7.5_p1-r10
- openssh Alpine 3.8 7.7_p1-r4
- dropbear Alpine 3.24 2025.89-r0
- dropbear Alpine 3.24 2026.91-r0
alpine advisories ALPINE-CVE-2019-6111
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- openssh Arch Linux 8.0p1-1
arch linux advisories AVG-951
Is CVE-2019-6111 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-6111 updated cvss 5.3
openssh: Improper validation of object names allows malicious server to overwrite files via scp client
-
Red Hat Enterprise Linux 5 openssh Red Hat Enterprise Linux 6 openssh, openssh-ldap, openssh-server, openssh-askpass, openssh-clients, pam_ssh_agent_authaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 openssh, openssh-cavs, openssh-ldap, openssh-keycat, openssh-server, openssh-askpass, +3 moreaffected: workaround, no fix planned “Will not fix”
-
Red Hat Enterprise Linux AppStream (v. 8) openssh-askpass 8.0p1-3.el8 Red Hat Enterprise Linux BaseOS (v. 8) openssh 8.0p1-3.el8, openssh-cavs 8.0p1-3.el8, openssh-ldap 8.0p1-3.el8, openssh-keycat 8.0p1-3.el8, openssh-server 8.0p1-3.el8, openssh-clients 8.0p1-3.el8, +1 morefixed: vendor fix RHSA-2019:3702
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-23-348-10 updated cvss 5.9
Siemens SIMATIC S7-1500
-
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5affected: fixed in V3.1.5, mitigation support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
cisa ICSA-22-349-21 updated cvss 5.9
Siemens SCALANCE X-200RNA Switch Devices
-
Siemens SCALANCE X204RNA (HSR) (6GK5204-0BA00-2MB2) <V3.2.7 Siemens SCALANCE X204RNA (PRP) (6GK5204-0BA00-2KB2) <V3.2.7 Siemens SCALANCE X204RNA EEC (HSR) (6GK5204-0BS00-2NA3) <V3.2.7 Siemens SCALANCE X204RNA EEC (PRP) (6GK5204-0BS00-3LA3) <V3.2.7 Siemens SCALANCE X204RNA EEC (PRP/HSR) (6GK5204-0BS00-3PA3) <V3.2.7affected: fixed in V3.2.7, mitigation support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
Timeline
- First public exploit (EDB-46516)
- Published
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 10mo ago
Exploit prediction
58.20% chance of exploitation in the next 30 days, higher than 99% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-46516 OpenSSH SCP Client - Write Arbitrary Files remote, 2019-01-11
- EDB-46193 SCP Client - Multiple Vulnerabilities (SSHtranger Things) remote, 2019-01-18
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1677794 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:N/I:P/A:P |
Affected products
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
oracle.com
/technetwork/security-advisory/cpuoct2019-5072832.html
patch, third-party-advisory
-
exploit-db.com
/exploits/46193/
exploit, third-party-advisory, vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=1677794
exploit, issue-tracking, third-party-advisory
-
debian.org
/security/2019/dsa-4387
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3885-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3885-2/
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/201903-16
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/W3YVQ2BPTOVDCFDVNC2GGF5P5ISFG37G/
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-06/msg00058.html
vendor-advisory, broken-link
-
freebsd.org
/security/advisories/FreeBSD-EN-19:10.scp.asc
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:3702
vendor-advisory, third-party-advisory
-
security.netapp.com
/advisory/ntap-20190213-0001/
third-party-advisory
-
securityfocus.com
/bid/106741
vdb-entry, broken-link, third-party-advisory
-
cvsweb.openbsd.org
/src/usr.bin/ssh/scp.c
release-notes
-
sintonen.fi
/advisories/scp-client-multiple-vulnerabilities.txt
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/03/msg00030.html
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2019/04/18/1
mailing-list, third-party-advisory
-
lists.apache.org
/thread.html/c45d9bc90700354b58fb7455962873c44229841880dcb64842fa7d23%40%3Cdev.mina.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/c7301cab36a86825359e1b725fc40304d1df56dc6d107c1fe885148b%40%3Cdev.mina.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/e47597433b351d6e01a5d68d610b4ba195743def9730e49561e8cf3f%40%3Cdev.mina.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/d540139359de999b0f1c87d05b715be4d7d4bec771e1ae55153c5c7a%40%3Cdev.mina.apache.org%3E
mailing-list
-
openwall.com
/lists/oss-security/2022/08/02/1
mailing-list, third-party-advisory
-
cert-portal.siemens.com
/productcert/pdf/ssa-412672.pdf
third-party-advisory
- cert-portal.siemens.com /productcert/html/ssa-412672.html
- cert-portal.siemens.com /productcert/html/ssa-398330.html
Sources
- CVE List CVE-2019-6111
- NVD CVE-2019-6111
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.