Skip to content

CVE-2015-6564 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...

MediumCVSS 6.9 EPSS 0.60%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebian

Description

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.

Upgrade path

5 packages: 5 fixed.

PackageAffectedFixed inStatus
debian/openssh(Debian 12) < 1:6.9p1-1 1:6.9p1-1 Fixed
debian/openssh(Debian 13) < 1:6.9p1-1 1:6.9p1-1 Fixed
debian/openssh(Debian 14) < 1:6.9p1-1 1:6.9p1-1 Fixed
OpenBSD openssh <= 6.9 after 6.9 Fixed
ubuntu/openssh(Ubuntu 14.04) < 1:6.6p1-2ubuntu2.2; = 1:6.2p2-6; = 1:6.2p2-6ubuntu1; = 1:6.4p1-1 +10 more 1:6.6p1-2ubuntu2.2 Fixed

Affected products

ProductAffected versionsFixed in
debian/openssh(Debian:12) < 1:6.9p1-1 1:6.9p1-1
debian/openssh(Debian:13) < 1:6.9p1-1 1:6.9p1-1
debian/openssh(Debian:14) < 1:6.9p1-1 1:6.9p1-1
OpenBSD openssh <= 6.9 No fix listed
ubuntu/openssh(Ubuntu:14.04) < 1:6.6p1-2ubuntu2.2 1:6.6p1-2ubuntu2.2
ubuntu/openssh(Ubuntu:14.04) = 1:6.2p2-6 No fix listed
ubuntu/openssh(Ubuntu:14.04) = 1:6.2p2-6ubuntu1 No fix listed
ubuntu/openssh(Ubuntu:14.04) = 1:6.4p1-1 No fix listed
ubuntu/openssh(Ubuntu:14.04) = 1:6.4p1-2 No fix listed
ubuntu/openssh(Ubuntu:14.04) = 1:6.5p1-1 No fix listed
ubuntu/openssh(Ubuntu:14.04) = 1:6.5p1-2 No fix listed
ubuntu/openssh(Ubuntu:14.04) = 1:6.5p1-3 No fix listed
ubuntu/openssh(Ubuntu:14.04) = 1:6.5p1-4 No fix listed
ubuntu/openssh(Ubuntu:14.04) = 1:6.5p1-6 No fix listed
ubuntu/openssh(Ubuntu:14.04) = 1:6.6p1-1 No fix listed
ubuntu/openssh(Ubuntu:14.04) = 1:6.6p1-2 No fix listed
ubuntu/openssh(Ubuntu:14.04) = 1:6.6p1-2ubuntu1 No fix listed
ubuntu/openssh(Ubuntu:14.04) = 1:6.6p1-2ubuntu2 No fix listed

References