Use After Free Affecting pam_ssh_agent_auth package, versions <0:0.9.3-9.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-PAMSSHAGENTAUTH-2054529
  • 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 pam_ssh_agent_auth to version 0:0.9.3-9.22.el7 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pam_ssh_agent_auth package and not the pam_ssh_agent_auth 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