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


Severity

Recommended
0.0
medium
0
10

Based on CentOS 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-CENTOS7-OPENSSHSERVERSYSVINIT-2055059
  • 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 Centos:7 openssh-server-sysvinit to version 0:6.6.1p1-22.el7 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openssh-server-sysvinit package and not the openssh-server-sysvinit package as distributed by Centos. See How to fix? for Centos: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