CVE-2019-6111: Apache Mina Sshd
Medium severity, CVSS 5.9. EPSS: 58% probability of exploitation activity in the next 30 days.
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).
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Freebsd, before 12.0: fixed in 12.0
- Fujitsu m10-1 Firmware, before xcp2361: fixed in xcp2361
- Fujitsu m10-1 Firmware, before xcp3070: fixed in xcp3070
- Fujitsu m10-4 Firmware, before xcp2361: fixed in xcp2361
- Fujitsu m10-4 Firmware, before xcp3070: fixed in xcp3070
- Fujitsu m10-4s Firmware, before xcp2361: fixed in xcp2361
- Fujitsu m10-4s Firmware, before xcp3070: fixed in xcp3070
- Fujitsu m12-1 Firmware, before xcp2361: fixed in xcp2361
- Fujitsu m12-1 Firmware, before xcp3070: fixed in xcp3070
- Fujitsu m12-2 Firmware, before xcp2361: fixed in xcp2361
- and 5 more
Affected products
- Apache Mina Sshd: version 2.2.0 only
- Canonical Ubuntu Linux: version 14.04 only; version 16.04 only; version 18.04 only; version 18.10 only
- Debian Debian Linux: version 8.0 only; version 9.0 only
- Fedoraproject Fedora: version 30 only
- Freebsd Freebsd: before 12.0 (fixed in 12.0); version 12.0 only
- Fujitsu m10-1 Firmware: before xcp2361 (fixed in xcp2361); before xcp3070 (fixed in xcp3070)
- Fujitsu m10-4 Firmware: before xcp2361 (fixed in xcp2361); before xcp3070 (fixed in xcp3070)
- Fujitsu m10-4s Firmware: before xcp2361 (fixed in xcp2361); before xcp3070 (fixed in xcp3070)
- Fujitsu m12-1 Firmware: before xcp2361 (fixed in xcp2361); before xcp3070 (fixed in xcp3070)
- Fujitsu m12-2 Firmware: before xcp2361 (fixed in xcp2361); before xcp3070 (fixed in xcp3070)
- Fujitsu m12-2s Firmware: before xcp2361 (fixed in xcp2361); before xcp3070 (fixed in xcp3070)
- OpenBSD OpenSSH: up to and including 7.9
- Red Hat Enterprise Linux: version 7.0 only; version 8.0 only
- Red Hat Enterprise Linux Eus: version 8.1 only; version 8.2 only; version 8.4 only; version 8.6 only
- Red Hat Enterprise Linux Server Aus: version 8.2 only; version 8.4 only; version 8.6 only
- Red Hat Enterprise Linux Server Tus: version 8.2 only; version 8.4 only; version 8.6 only
- Siemens Scalance x204rna Eec Firmware: before 3.2.7 (fixed in 3.2.7)
- Siemens Scalance x204rna Firmware: before 3.2.7 (fixed in 3.2.7)
- Winscp Winscp: up to and including 5.1.3
Published 2019-01-31. Last modified 2026-10-14.