Access Restriction Bypass Affecting openssh-portable package, versions [,7.0)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.04% (13th 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-2319253
  • published14 Dec 2021
  • disclosed24 Aug 2015
  • creditUnknown

Introduced: 24 Aug 2015

CVE-2015-6564  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade openssh-portable to version 7.0 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass. Use-after-free vulnerability in the mm_answer_pam_free_ctx function in monitor.c in sshd in OpenSSH before 7.0 on non-OpenBSD platforms might allow local users to gain privileges by leveraging control of the sshd uid to send an unexpectedly early MONITOR_REQ_PAM_FREE_CTX request.

CVSS Scores

version 3.1