Improper Privilege Management Affecting openssh-portable package, versions [0,7.6)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.36% (73rd 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-UNMANAGED-OPENSSHPORTABLE-2319304
  • published14 Dec 2021
  • disclosed26 Oct 2017
  • creditUnknown

Introduced: 26 Oct 2017

CVE-2017-15906  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

Upgrade openssh-portable to version 7.6 or higher.

Overview

Affected versions of this package are vulnerable to Improper Privilege Management. The process_open function in sftp-server.c in OpenSSH before 7.6 does not properly prevent write operations in readonly mode, which allows attackers to create zero-length files.

CVSS Base Scores

version 3.1