Directory Traversal The advisory has been revoked - it doesn't affect any version of package openssh-cavs  (opens in a new tab)


Threat Intelligence

EPSS
58.2% (99th 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-SLES150-OPENSSHCAVS-2755879
  • published14 Apr 2022
  • disclosed26 Feb 2019

Introduced: 26 Feb 2019

CVE-2019-6111  (opens in a new tab)
CWE-22  (opens in a new tab)

Amendment

The SLES security team deemed this advisory irrelevant for SLES:15.0.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openssh-cavs package and not the openssh-cavs package as distributed by SLES.

An issue was discovered in OpenSSH 7.9. Due to the scp implementation being derived from 1983 rcp, the server chooses which files/directories are sent to the client. However, the scp client only performs cursory validation of the object name returned (only directory traversal attacks are prevented). A malicious scp server (or Man-in-The-Middle attacker) can overwrite arbitrary files in the scp client target directory. If recursive operation (-r) is performed, the server can manipulate subdirectories as well (for example, to overwrite the .ssh/authorized_keys file).

References