National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2018-20685 Detail

Current Description

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.

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: 5.3 MEDIUM
Vector:  CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://www.securityfocus.com/bid/106531 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2019:3702
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-20685 Issue Tracking Patch Third Party Advisory
https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/scp.c.diff?r1=1.197&r2=1.198&f=h Patch Third Party Advisory
https://github.com/openssh/openssh-portable/commit/6010c0303a422a9c5fa8860c061bf7105eb7f8b2 Patch Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/03/msg00030.html Mailing List Third Party Advisory
https://security.gentoo.org/glsa/201903-16 Third Party Advisory
https://security.netapp.com/advisory/ntap-20190215-0001/ Third Party Advisory
https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt Patch Third Party Advisory
https://usn.ubuntu.com/3885-1/ Third Party Advisory
https://www.debian.org/security/2019/dsa-4387 Third Party Advisory
https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html Patch
https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html

Weakness Enumeration

CWE-ID CWE Name Source
CWE-706 Use of Incorrectly-Resolved Name or Reference NIST  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (including)
7.9
 cpe:2.3:a:winscp:winscp:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (including)
5.13

Configuration 2 ( hide )
 cpe:2.3:a:netapp:cloud_backup:-:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:netapp:element_software:-:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:netapp:ontap_select_deploy:-:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:netapp:steelstore_cloud_integrated_storage:-:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:netapp:storage_automation_store:-:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 3 ( hide )
 cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 4 ( hide )
 cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 5 ( hide )
 cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 6 ( hide )
 cpe:2.3:o:oracle:solaris:10:*:*:*:*:*:*:*
     Show Matching CPE(s)


Change History

15 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2018-20685
NVD Published Date:
01/10/2019
NVD Last Modified:
10/16/2019