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-2018-20685

Publication date 10 January 2019

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

5.3 · Medium

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
openssh 24.04 LTS noble
Fixed 1:7.9p1-5
23.10 mantic
Fixed 1:7.9p1-5
23.04 lunar
Fixed 1:7.9p1-5
22.10 kinetic
Fixed 1:7.9p1-5
22.04 LTS jammy
Fixed 1:7.9p1-5
21.10 impish
Fixed 1:7.9p1-5
21.04 hirsute
Fixed 1:7.9p1-5
20.10 groovy
Fixed 1:7.9p1-5
20.04 LTS focal
Fixed 1:7.9p1-5
19.10 eoan
Fixed 1:7.9p1-5
19.04 disco
Fixed 1:7.9p1-5
18.10 cosmic
Fixed 1:7.7p1-4ubuntu0.2
18.04 LTS bionic
Fixed 1:7.6p1-4ubuntu0.2
16.04 LTS xenial
Fixed 1:7.2p2-4ubuntu2.7
14.04 LTS trusty
Fixed 1:6.6p1-2ubuntu2.12
openssh-ssh1 24.04 LTS noble
Needs evaluation
23.10 mantic Ignored end of life, was needs-triage
23.04 lunar Ignored end of life, was needs-triage
22.10 kinetic Ignored end of life, was needs-triage
22.04 LTS jammy
Needs evaluation
21.10 impish Ignored end of life
21.04 hirsute Ignored end of life
20.10 groovy Ignored end of life
20.04 LTS focal
Needs evaluation
19.10 eoan Ignored end of life
19.04 disco Ignored end of life
18.10 cosmic Ignored end of life
18.04 LTS bionic
Needs evaluation
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release

Notes


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.

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
openssh

Severity score breakdown

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