CVE-2015-6564
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.6% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.6% in the next 30 days (EPSS).
- Severity: 7.0 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.6% · EPSS, next 30 days
- Weakness
- CWE-264
- Record status
- Modified
Affected
- Openbsd OpenSSH ≤ 6.9
Attack profile CVSS 3.1 · 7.0
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2015-6564.md and follow it. Check whether this project is affected by CVE-2015-6564. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://www.openssh.com/txt/release-7.0
- https://github.com/openssh/openssh-portable/commit/5e75f5198769056089fb06c4d738ab0e5abc66f7
- http://www.openssh.com/txt/release-7.0
- https://github.com/openssh/openssh-portable/commit/5e75f5198769056089fb06c4d738ab0e5abc66f7
References
- http://lists.fedoraproject.org/pipermail/package-announce/2015-August/165170.html
- http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00017.html
- http://rhn.redhat.com/errata/RHSA-2016-0741.html
- http://seclists.org/fulldisclosure/2015/Aug/54
- http://www.openssh.com/txt/release-7.0
- http://www.openwall.com/lists/oss-security/2015/08/22/1
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- http://www.securityfocus.com/bid/76317
- https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
- https://github.com/openssh/openssh-portable/commit/5e75f5198769056089fb06c4d738ab0e5abc66f7
- https://kc.mcafee.com/corporate/index?page=content&id=SB10136
- https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html
- https://security.gentoo.org/glsa/201512-04
- https://www.broadcom.com/support/fibre-channel-networking/security-advisories/brocade-security-advisory-2019-764
- http://lists.fedoraproject.org/pipermail/package-announce/2015-August/165170.html
- http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00017.html
- http://rhn.redhat.com/errata/RHSA-2016-0741.html
- http://seclists.org/fulldisclosure/2015/Aug/54
- http://www.openssh.com/txt/release-7.0
- http://www.openwall.com/lists/oss-security/2015/08/22/1
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html