Advisory

UBUNTU-CVE-2018-20685

Also known as: CVE-2018-20685

Summary

The record has no summary.

Details

In OpenSSH 7.9, scp.c in the scp client allows remote SSH servers to bypass intended access restrictions via the filename of . or an empty filename. The impact is modifying the permissions of the target directory on the client side.

Severity

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

Dates

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

Affected packages and fixes

openssh

Debian packages (deb) · Ubuntu 14.04

Affected

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

Fixed versions

1:6.6p1-2ubuntu2.12

Fix

  • Fixed version 1:6.6p1-2ubuntu2.12
    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.7 (ecosystem)

Fixed versions

1:7.2p2-4ubuntu2.7

Fix

  • Fixed version 1:7.2p2-4ubuntu2.7
    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.2 (ecosystem)

Fixed versions

1:7.6p1-4ubuntu0.2

Fix

  • Fixed version 1:7.6p1-4ubuntu0.2
    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