CVE-2018-20685

MEDIUMCVSS 5.3/10EPSS 3.68%

Last modified

CVE-2018-20685 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 3.68% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
5.3/10

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N

EPSS Probability
3.68%

88.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
OpenbsdOpenssh<= 7.9
WinscpWinscp<= 5.13
NetappCloud BackupAll versions
NetappElement SoftwareAll versions
NetappOntap Select DeployAll versions
NetappSteelstore Cloud Integrated StorageAll versions
NetappStorage Automation StoreAll versions
DebianDebian Linux8.0
DebianDebian Linux9.0
CanonicalUbuntu Linux14.04
CanonicalUbuntu Linux16.04
CanonicalUbuntu Linux18.04
CanonicalUbuntu Linux18.10
RedhatEnterprise Linux7.0
RedhatEnterprise Linux8.0
RedhatEnterprise Linux Eus8.1
RedhatEnterprise Linux Eus8.2
RedhatEnterprise Linux Eus8.4
RedhatEnterprise Linux Eus8.6
RedhatEnterprise Linux Server Aus8.2
RedhatEnterprise Linux Server Aus8.4
RedhatEnterprise Linux Server Aus8.6
RedhatEnterprise Linux Server Tus8.2
RedhatEnterprise Linux Server Tus8.4
RedhatEnterprise Linux Server Tus8.6
OracleSolaris10
FujitsuM10-1 Firmware< xcp2361
FujitsuM10-4 Firmware< xcp2361
FujitsuM10-4s Firmware< xcp2361
FujitsuM12-1 Firmware< xcp2361
FujitsuM12-2 Firmware< xcp2361
FujitsuM12-2s Firmware< xcp2361
FujitsuM10-1 Firmware< xcp3070
FujitsuM10-4 Firmware< xcp3070
FujitsuM10-4s Firmware< xcp3070
FujitsuM12-1 Firmware< xcp3070
FujitsuM12-2 Firmware< xcp3070
FujitsuM12-2s Firmware< xcp3070
SiemensScalance X204rna Firmware< 3.2.7
SiemensScalance X204rna Eec Firmware< 3.2.7

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2018-20685?
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.
How severe is CVE-2018-20685?
CVE-2018-20685 has a CVSS score of 5.3/10 (MEDIUM severity). The EPSS model estimates a 3.68% probability of exploitation in the next 30 days.
How do I fix CVE-2018-20685?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2018-20685?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST