CVE-2015-6564
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 6.9AV:L/AC:M/Au:N/C:C/I:C/A:C
EPSS Trends
Current EPSS score: 4.03%• Percentile: 89%
Techniques & Countermeasures
- CWE-264•Permissions, Privileges, and Access Controls
Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control.
- CWE-416•Use After Free
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Affected Systems
- openbsd•openssh
≤ 6.9
References (16)
- http://www.openwall.com/lists/oss-security/2015/08/22/1
- http://lists.fedoraproject.org/pipermail/package-announce/2015-August/165170.html
- http://www.securityfocus.com/bid/76317
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- https://security.gentoo.org/glsa/201512-04
- https://kc.mcafee.com/corporate/index?page=content&id=SB10136
- http://www.openssh.com/txt/release-7.0
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- https://github.com/openssh/openssh-portable/commit/5e75f5198769056089fb06c4d738ab0e5abc66f7
- http://rhn.redhat.com/errata/RHSA-2016-0741.html
- http://seclists.org/fulldisclosure/2015/Aug/54
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html
- http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00017.html
- https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html
- https://www.broadcom.com/support/fibre-channel-networking/security-advisories/brocade-security-advisory-2019-764
- https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf