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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- Debian Security Tracker CVE-2015-6564 vendor-advisory
- FEDORA-2015-13469 vendor-advisory
- SUSE-SU-2015:1581 vendor-advisory
- RHSA-2016:0741 vendor-advisory
- 20150813 BFS-SA-2015-002: OpenSSH PAM Privilege Separation Vulnerabilities issue-tracking mailing-list
- www.openssh.com issue-tracking vendor-advisory
- [oss-security] 20150821 Re: CVE request - OpenSSH 6.9 PAM privilege separation vulnerabilities issue-tracking mailing-list
- www.oracle.com
- www.oracle.com
- www.oracle.com
- 76317 vdb-entry
- cert-portal.siemens.com
- github.com issue-tracking
- kc.mcafee.com
- [debian-lts-announce] 20180910 [SECURITY] [DLA 1500-1] openssh security update mailing-list
- GLSA-201512-04 vendor-advisory
- www.broadcom.com
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- anongit.mindrot.org issue-tracking
- www.openwall.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking