UBUNTU-CVE-2018-20685

Source
https://ubuntu.com/security/CVE-2018-20685
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20685.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2018-20685
Related
Published
2019-01-10T00:00:00Z
Modified
2024-10-15T14:06:37Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N CVSS Calculator
  • 5.3 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
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.

References

Affected packages

Ubuntu:14.04:LTS / openssh

Package

Name
openssh
Purl
pkg:deb/ubuntu/openssh?arch=src?distro=trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:6.6p1-2ubuntu2.12

Affected versions

1:6.*

1:6.2p2-6
1:6.2p2-6ubuntu1
1:6.4p1-1
1:6.4p1-2
1:6.5p1-1
1:6.5p1-2
1:6.5p1-3
1:6.5p1-4
1:6.5p1-6
1:6.6p1-1
1:6.6p1-2
1:6.6p1-2ubuntu1
1:6.6p1-2ubuntu2
1:6.6p1-2ubuntu2.2
1:6.6p1-2ubuntu2.3
1:6.6p1-2ubuntu2.4
1:6.6p1-2ubuntu2.6
1:6.6p1-2ubuntu2.7
1:6.6p1-2ubuntu2.8
1:6.6p1-2ubuntu2.10
1:6.6p1-2ubuntu2.11

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:6.6p1-2ubuntu2.12",
            "binary_name": "openssh-client"
        },
        {
            "binary_version": "1:6.6p1-2ubuntu2.12",
            "binary_name": "openssh-client-dbgsym"
        },
        {
            "binary_version": "1:6.6p1-2ubuntu2.12",
            "binary_name": "openssh-client-udeb"
        },
        {
            "binary_version": "1:6.6p1-2ubuntu2.12",
            "binary_name": "openssh-client-udeb-dbgsym"
        },
        {
            "binary_version": "1:6.6p1-2ubuntu2.12",
            "binary_name": "openssh-server"
        },
        {
            "binary_version": "1:6.6p1-2ubuntu2.12",
            "binary_name": "openssh-server-dbgsym"
        },
        {
            "binary_version": "1:6.6p1-2ubuntu2.12",
            "binary_name": "openssh-server-udeb"
        },
        {
            "binary_version": "1:6.6p1-2ubuntu2.12",
            "binary_name": "openssh-server-udeb-dbgsym"
        },
        {
            "binary_version": "1:6.6p1-2ubuntu2.12",
            "binary_name": "openssh-sftp-server"
        },
        {
            "binary_version": "1:6.6p1-2ubuntu2.12",
            "binary_name": "openssh-sftp-server-dbgsym"
        },
        {
            "binary_version": "1:6.6p1-2ubuntu2.12",
            "binary_name": "ssh"
        },
        {
            "binary_version": "1:6.6p1-2ubuntu2.12",
            "binary_name": "ssh-askpass-gnome"
        },
        {
            "binary_version": "1:6.6p1-2ubuntu2.12",
            "binary_name": "ssh-askpass-gnome-dbgsym"
        },
        {
            "binary_version": "1:6.6p1-2ubuntu2.12",
            "binary_name": "ssh-krb5"
        }
    ]
}

Ubuntu:16.04:LTS / openssh

Package

Name
openssh
Purl
pkg:deb/ubuntu/openssh?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:7.2p2-4ubuntu2.7

Affected versions

1:6.*

1:6.9p1-2
1:6.9p1-3

1:7.*

1:7.1p1-1
1:7.1p1-3
1:7.1p1-4
1:7.1p1-6
1:7.1p2-1
1:7.1p2-2
1:7.2p1-1
1:7.2p2-1
1:7.2p2-2
1:7.2p2-3
1:7.2p2-4
1:7.2p2-4ubuntu1
1:7.2p2-4ubuntu2.1
1:7.2p2-4ubuntu2.2
1:7.2p2-4ubuntu2.4
1:7.2p2-4ubuntu2.5
1:7.2p2-4ubuntu2.6

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:7.2p2-4ubuntu2.7",
            "binary_name": "openssh-client"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.7",
            "binary_name": "openssh-client-dbgsym"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.7",
            "binary_name": "openssh-client-ssh1"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.7",
            "binary_name": "openssh-client-ssh1-dbgsym"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.7",
            "binary_name": "openssh-client-udeb"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.7",
            "binary_name": "openssh-client-udeb-dbgsym"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.7",
            "binary_name": "openssh-server"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.7",
            "binary_name": "openssh-server-dbgsym"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.7",
            "binary_name": "openssh-server-udeb"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.7",
            "binary_name": "openssh-server-udeb-dbgsym"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.7",
            "binary_name": "openssh-sftp-server"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.7",
            "binary_name": "openssh-sftp-server-dbgsym"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.7",
            "binary_name": "ssh"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.7",
            "binary_name": "ssh-askpass-gnome"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.7",
            "binary_name": "ssh-askpass-gnome-dbgsym"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.7",
            "binary_name": "ssh-krb5"
        }
    ]
}

Ubuntu:Pro:FIPS:16.04:LTS / openssh

Package

Name
openssh
Purl
pkg:deb/ubuntu/openssh?arch=src?distro=fips-updates/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:7.2p2-4ubuntu2.fips.2.8.1

Affected versions

1:7.*

1:7.2p2-4ubuntu2.fips.2.2.3
1:7.2p2-4ubuntu2.fips.2.4.1
1:7.2p2-4ubuntu2.fips.2.4.2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1",
            "binary_name": "openssh-client"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1",
            "binary_name": "openssh-client-dbgsym"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1",
            "binary_name": "openssh-client-hmac"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1",
            "binary_name": "openssh-client-ssh1"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1",
            "binary_name": "openssh-client-ssh1-dbgsym"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1",
            "binary_name": "openssh-client-udeb"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1",
            "binary_name": "openssh-client-udeb-dbgsym"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1",
            "binary_name": "openssh-server"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1",
            "binary_name": "openssh-server-dbgsym"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1",
            "binary_name": "openssh-server-hmac"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1",
            "binary_name": "openssh-server-udeb"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1",
            "binary_name": "openssh-server-udeb-dbgsym"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1",
            "binary_name": "openssh-sftp-server"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1",
            "binary_name": "openssh-sftp-server-dbgsym"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1",
            "binary_name": "ssh"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1",
            "binary_name": "ssh-askpass-gnome"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1",
            "binary_name": "ssh-askpass-gnome-dbgsym"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1",
            "binary_name": "ssh-krb5"
        }
    ]
}

Ubuntu:Pro:FIPS:16.04:LTS / openssh

Package

Name
openssh
Purl
pkg:deb/ubuntu/openssh?arch=src?distro=fips/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:7.2p2-4ubuntu2.fips.2.10.1

Affected versions

1:7.*

1:7.2p2-4ubuntu2.fips.2.2
1:7.2p2-4ubuntu2.fips.2.2.1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1",
            "binary_name": "openssh-client"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1",
            "binary_name": "openssh-client-dbgsym"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1",
            "binary_name": "openssh-client-hmac"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1",
            "binary_name": "openssh-client-ssh1"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1",
            "binary_name": "openssh-client-ssh1-dbgsym"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1",
            "binary_name": "openssh-client-udeb"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1",
            "binary_name": "openssh-client-udeb-dbgsym"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1",
            "binary_name": "openssh-server"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1",
            "binary_name": "openssh-server-dbgsym"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1",
            "binary_name": "openssh-server-hmac"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1",
            "binary_name": "openssh-server-udeb"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1",
            "binary_name": "openssh-server-udeb-dbgsym"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1",
            "binary_name": "openssh-sftp-server"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1",
            "binary_name": "openssh-sftp-server-dbgsym"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1",
            "binary_name": "ssh"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1",
            "binary_name": "ssh-askpass-gnome"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1",
            "binary_name": "ssh-askpass-gnome-dbgsym"
        },
        {
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1",
            "binary_name": "ssh-krb5"
        }
    ]
}

Ubuntu:18.04:LTS / openssh

Package

Name
openssh
Purl
pkg:deb/ubuntu/openssh?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:7.6p1-4ubuntu0.2

Affected versions

1:7.*

1:7.5p1-10
1:7.6p1-4
1:7.6p1-4ubuntu0.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:7.6p1-4ubuntu0.2",
            "binary_name": "openssh-client"
        },
        {
            "binary_version": "1:7.6p1-4ubuntu0.2",
            "binary_name": "openssh-client-dbgsym"
        },
        {
            "binary_version": "1:7.6p1-4ubuntu0.2",
            "binary_name": "openssh-client-udeb"
        },
        {
            "binary_version": "1:7.6p1-4ubuntu0.2",
            "binary_name": "openssh-server"
        },
        {
            "binary_version": "1:7.6p1-4ubuntu0.2",
            "binary_name": "openssh-server-dbgsym"
        },
        {
            "binary_version": "1:7.6p1-4ubuntu0.2",
            "binary_name": "openssh-server-udeb"
        },
        {
            "binary_version": "1:7.6p1-4ubuntu0.2",
            "binary_name": "openssh-sftp-server"
        },
        {
            "binary_version": "1:7.6p1-4ubuntu0.2",
            "binary_name": "openssh-sftp-server-dbgsym"
        },
        {
            "binary_version": "1:7.6p1-4ubuntu0.2",
            "binary_name": "ssh"
        },
        {
            "binary_version": "1:7.6p1-4ubuntu0.2",
            "binary_name": "ssh-askpass-gnome"
        },
        {
            "binary_version": "1:7.6p1-4ubuntu0.2",
            "binary_name": "ssh-askpass-gnome-dbgsym"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / openssh-ssh1

Package

Name
openssh-ssh1
Purl
pkg:deb/ubuntu/openssh-ssh1?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:7.*

1:7.5p1-8
1:7.5p1-9
1:7.5p1-9build1
1:7.5p1-10

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / openssh-ssh1

Package

Name
openssh-ssh1
Purl
pkg:deb/ubuntu/openssh-ssh1?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:7.*

1:7.5p1-11build1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / openssh-ssh1

Package

Name
openssh-ssh1
Purl
pkg:deb/ubuntu/openssh-ssh1?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:7.*

1:7.5p1-12
1:7.5p1-12build1
1:7.5p1-13

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / openssh-ssh1

Package

Name
openssh-ssh1
Purl
pkg:deb/ubuntu/openssh-ssh1?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:7.*

1:7.5p1-16
1:7.5p1-17

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / openssh-ssh1

Package

Name
openssh-ssh1
Purl
pkg:deb/ubuntu/openssh-ssh1?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:7.*

1:7.5p1-14
1:7.5p1-15
1:7.5p1-15build1
1:7.5p1-16

Ecosystem specific

{
    "ubuntu_priority": "medium"
}