Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2019-6111

Published: 14 January 2019

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).

Notes

AuthorNote
seth-arnold
openssh-ssh1 is provided for compatibility with old devices that
cannot be upgraded to modern protocols. Thus we may not provide security
support for this package if doing so would prevent access to equipment.
mdeslaur
The recommended workaround for this issue is to switch to using
sftp instead of scp.

The updates in USN-3885-1 inverted two CVE numbers by accident.

The initial USN was incomplete and did not include the second
commit.

Priority

Low

Cvss 3 Severity Score

5.9

Score breakdown

Status

Package Release Status
openssh-ssh1
Launchpad, Ubuntu, Debian
groovy Ignored
(end of life)
hirsute Ignored
(end of life)
kinetic Ignored
(end of life, was needs-triage)
bionic Needs triage

cosmic Ignored
(end of life)
disco Ignored
(end of life)
eoan Ignored
(end of life)
focal Needs triage

impish Ignored
(end of life)
jammy Needs triage

trusty Does not exist

upstream Ignored
(frozen on openssh 7.5p)
xenial Does not exist

mantic Needs triage

lunar Ignored
(end of life, was needs-triage)
openssh
Launchpad, Ubuntu, Debian
impish Not vulnerable
(1:7.9p1-10)
groovy Not vulnerable
(1:7.9p1-10)
kinetic Not vulnerable
(1:7.9p1-10)
bionic
Released (1:7.6p1-4ubuntu0.3)
cosmic
Released (1:7.7p1-4ubuntu0.3)
disco Not vulnerable
(1:7.9p1-10)
eoan Not vulnerable
(1:7.9p1-10)
focal Not vulnerable
(1:7.9p1-10)
hirsute Not vulnerable
(1:7.9p1-10)
jammy Not vulnerable
(1:7.9p1-10)
lunar Not vulnerable
(1:7.9p1-10)
trusty
Released (1:6.6p1-2ubuntu2.13)
upstream Needs triage

xenial
Released (1:7.2p2-4ubuntu2.8)
mantic Not vulnerable
(1:7.9p1-10)
Patches:
upstream: https://github.com/openssh/openssh-portable/commit/391ffc4b9d31fa1f4ad566499fef9176ff8a07dc
upstream: https://github.com/openssh/openssh-portable/commit/3d896c157c722bc47adca51a58dca859225b5874

Severity score breakdown

Parameter Value
Base score 5.9
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact High
Availability impact None
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N