Incorrect Authorization Affecting openssh-server package, versions <0:8.0p1-30.el8_10


Severity

Recommended
0.0
medium
0
10

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
3.68% (89th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ROCKY8-OPENSSHSERVER-18476223
  • published31 Jul 2026
  • disclosed10 Jan 2019

Introduced: 10 Jan 2019

CVE-2018-20685  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 openssh-server to version 0:8.0p1-30.el8_10 or higher.
This issue was patched in RLSA-2019:3702.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openssh-server package and not the openssh-server package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1