CVE-2015-6564 json
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 mig…
published 11y ago modified 4mo ago also EUVD-2015-6503
- cvss
- 7.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 48%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- openssh Debian 14, Debian 13, Debian 12 1:6.9p1-1
debian advisories DEBIAN-CVE-2015-6564
- openssh Ubuntu 14.04 LTS 1:6.6p1-2ubuntu2.2
ubuntu advisories UBUNTU-CVE-2015-6564
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- openssh RHEL 6 5.3p1-117.el6
- openssh-ldap RHEL 6 5.3p1-117.el6
- openssh-server RHEL 6 5.3p1-117.el6
- openssh-askpass RHEL 6 5.3p1-117.el6
- openssh-clients RHEL 6 5.3p1-117.el6
- pam_ssh_agent_auth RHEL 6 0.9.3-117.el6
- openssh RHEL 7 6.6.1p1-22.el7
- openssh-ldap RHEL 7 6.6.1p1-22.el7
red hat advisories RHSA-2016:0741RHSA-2015:2088
- openssh SLES for SAP 11 SP4, SLES 11 SP4, SLED 11 SP4 6.6p1-13.1
- openssh-askpass-gnome SLES for SAP 11 SP4, SLES 11 SP4, SLED 11 SP4 6.6p1-13.3
- openssh SLES for SAP 11 SP3, SLES 11 SP3-TERADATA, SLES 11 SP3 +1 more 6.2p2-0.21.1
- openssh-askpass-gnome SLES for SAP 11 SP3, SLES 11 SP3-TERADATA, SLES 11 SP3 +1 more 6.2p2-0.21.3
- openssh SLES for SAP 12, SLES 12, SLED 12 6.6p1-29.1
- openssh-askpass-gnome SLES for SAP 12, SLES 12, SLED 12 6.6p1-29.1
suse advisories SUSE-SU-2015:1695-1SUSE-SU-2015:1581-1SUSE-SU-2015:1544-1
Is CVE-2015-6564 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-6564 updated cvss 4.0
openssh: Use-after-free bug related to PAM support
-
Red Hat Enterprise Linux 4 openssh Red Hat Enterprise Linux 5 opensshaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux Client (v. 7) openssh 6.6.1p1-22.el7, openssh-keycat 6.6.1p1-22.el7, openssh-server 6.6.1p1-22.el7, openssh-askpass 6.6.1p1-22.el7, openssh-clients 6.6.1p1-22.el7 Red Hat Enterprise Linux Client Optional (v. 7) openssh-ldap 6.6.1p1-22.el7, pam_ssh_agent_auth 0.9.3-9.22.el7, openssh-server-sysvinit 6.6.1p1-22.el7 Red Hat Enterprise Linux ComputeNode (v. 7) openssh 6.6.1p1-22.el7, openssh-keycat 6.6.1p1-22.el7, openssh-server 6.6.1p1-22.el7, openssh-clients 6.6.1p1-22.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) openssh-ldap 6.6.1p1-22.el7, openssh-askpass 6.6.1p1-22.el7, pam_ssh_agent_auth 0.9.3-9.22.el7, openssh-server-sysvinit 6.6.1p1-22.el7fixed: vendor fix RHSA-2015:2088
-
Red Hat Enterprise Linux Desktop (v. 6) openssh 5.3p1-117.el6, openssh-server 5.3p1-117.el6, openssh-askpass 5.3p1-117.el6, openssh-clients 5.3p1-117.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) openssh-ldap 5.3p1-117.el6, pam_ssh_agent_auth 0.9.3-117.el6 Red Hat Enterprise Linux HPC Node (v. 6) openssh 5.3p1-117.el6, openssh-server 5.3p1-117.el6, openssh-clients 5.3p1-117.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) openssh-ldap 5.3p1-117.el6, openssh-askpass 5.3p1-117.el6, pam_ssh_agent_auth 0.9.3-117.el6 Red Hat Enterprise Linux Server (v. 6) openssh 5.3p1-117.el6, openssh-server 5.3p1-117.el6, openssh-askpass 5.3p1-117.el6, openssh-clients 5.3p1-117.el6fixed: vendor fix RHSA-2016:0741
-
Red Hat Enterprise Linux Server (v. 7) openssh 6.6.1p1-22.el7, openssh-keycat 6.6.1p1-22.el7, openssh-server 6.6.1p1-22.el7, openssh-askpass 6.6.1p1-22.el7, openssh-clients 6.6.1p1-22.el7fixed: vendor fix RHSA-2015:2088
-
Red Hat Enterprise Linux Server Optional (v. 6) openssh-ldap 5.3p1-117.el6, pam_ssh_agent_auth 0.9.3-117.el6fixed: vendor fix RHSA-2016:0741
-
Red Hat Enterprise Linux Server Optional (v. 7) openssh-ldap 6.6.1p1-22.el7, openssh-askpass 6.6.1p1-22.el7, pam_ssh_agent_auth 0.9.3-9.22.el7, openssh-server-sysvinit 6.6.1p1-22.el7fixed: vendor fix RHSA-2015:2088
-
Red Hat Enterprise Linux Workstation (v. 6) openssh 5.3p1-117.el6, openssh-server 5.3p1-117.el6, openssh-askpass 5.3p1-117.el6, openssh-clients 5.3p1-117.el6fixed: vendor fix RHSA-2016:0741
-
Red Hat Enterprise Linux Workstation (v. 7) openssh 6.6.1p1-22.el7, openssh-keycat 6.6.1p1-22.el7, openssh-server 6.6.1p1-22.el7, openssh-askpass 6.6.1p1-22.el7, openssh-clients 6.6.1p1-22.el7fixed: vendor fix RHSA-2015:2088
show 2 moreshow fewer
-
Red Hat Enterprise Linux Workstation Optional (v. 6) openssh-ldap 5.3p1-117.el6, pam_ssh_agent_auth 0.9.3-117.el6fixed: vendor fix RHSA-2016:0741
-
Red Hat Enterprise Linux Workstation Optional (v. 7) openssh-ldap 6.6.1p1-22.el7, pam_ssh_agent_auth 0.9.3-9.22.el7, openssh-server-sysvinit 6.6.1p1-22.el7fixed: vendor fix RHSA-2015:2088
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-22-349-21 updated cvss 7.4
Siemens SCALANCE X-200RNA Switch Devices
-
Siemens SCALANCE X204RNA (HSR) (6GK5204-0BA00-2MB2) <V3.2.7 Siemens SCALANCE X204RNA (PRP) (6GK5204-0BA00-2KB2) <V3.2.7 Siemens SCALANCE X204RNA EEC (HSR) (6GK5204-0BS00-2NA3) <V3.2.7 Siemens SCALANCE X204RNA EEC (PRP) (6GK5204-0BS00-3LA3) <V3.2.7 Siemens SCALANCE X204RNA EEC (PRP/HSR) (6GK5204-0BS00-3PA3) <V3.2.7affected: fixed in V3.2.7, mitigation support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 5mo ago
Exploit prediction
0.60% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.9 | AV:L/AC:M/Au:N/C:C/I:C/A:C |
Classification
References
- github.com /openssh/openssh-portable/commit/5e75f5198769056089fb06c4d738ab0e5abc66f7
-
lists.fedoraproject.org
/pipermail/package-announce/2015-August/165170.html
vendor-advisory
-
security.gentoo.org
/glsa/201512-04
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2016-0741.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2015-09/msg00017.html
vendor-advisory
-
openssh.com
/txt/release-7.0
vendor-advisory
-
openwall.com
/lists/oss-security/2015/08/22/1
mailing-list
-
securityfocus.com
/bid/76317
vdb-entry
- oracle.com /technetwork/topics/security/linuxbulletinapr2016-2952096.html
- kc.mcafee.com /corporate/index?page=content&id=SB10136
- oracle.com /technetwork/topics/security/linuxbulletinoct2015-2719645.html
-
seclists.org
/fulldisclosure/2015/Aug/54
mailing-list
- oracle.com /technetwork/topics/security/bulletinjan2016-2867206.html
-
lists.debian.org
/debian-lts-announce/2018/09/msg00010.html
mailing-list
- broadcom.com /support/fibre-channel-networking/security-advisories/brocade-security-advisory-2019-764
- cert-portal.siemens.com /productcert/pdf/ssa-412672.pdf
Sources
- CVE List CVE-2015-6564
- NVD CVE-2015-6564
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.