Use After Free Affecting openssh-askpass package, versions <0:6.6.1p1-22.el7


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (12th 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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-OPENSSHASKPASS-4578515
  • published26 Jul 2021
  • disclosed11 Aug 2015

Introduced: 11 Aug 2015

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

How to fix?

Upgrade RHEL:7 openssh-askpass to version 0:6.6.1p1-22.el7 or higher.
This issue was patched in RHSA-2015:2088.

NVD Description

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

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