Advisory

UBUNTU-CVE-2019-6111

Also known as: CVE-2019-6111

Summary

The record has no summary.

Details

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

Medium Basis: CVSS v3 score 5.9, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Dates

Published
2019-01-14 00:00 UTC
Modified
2026-10-05 19:19 UTC

Affected packages and fixes

openssh

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 1:6.6p1-2ubuntu2.13 (ecosystem)

Fixed versions

1:6.6p1-2ubuntu2.13

Fix

  • Fixed version 1:6.6p1-2ubuntu2.13
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

openssh

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 1:7.2p2-4ubuntu2.8 (ecosystem)

Fixed versions

1:7.2p2-4ubuntu2.8

Fix

  • Fixed version 1:7.2p2-4ubuntu2.8
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

openssh

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 1:7.6p1-4ubuntu0.3 (ecosystem)

Fixed versions

1:7.6p1-4ubuntu0.3

Fix

  • Fixed version 1:7.6p1-4ubuntu0.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

openssh-ssh1

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

openssh-ssh1

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

openssh-ssh1

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

openssh-ssh1

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences