Description
ssh in OpenSSH before 4.7 does not properly handle when an untrusted cookie cannot be created and uses a trusted X11 cookie instead, which allows attackers to violate intended policy and gain privileges by causing an X client to be treated as trusted.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | openssh | 1:4.7p1-1 | — |
| Debian 13 | openssh | 1:4.7p1-1 | — |
| Debian 12 | openssh | 1:4.7p1-1 | — |
| Debian 4.0 | openssh | 1:4.3p2-9etch2 | DSA-1576-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | openssh +3 | 4.3p2-26.el5_2.1 | RHSA-2008:0855 |
| RHEL 4 | openssh +4 | 3.9p1-11.el4_7 | RHSA-2008:0855 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 4.5 EUS | openssh +4 | 3.9p1-10.RHEL4.20 | RHSA-2008:0855 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | openssh | 8.4p1-7.4 | openSUSE-SU-2024:11124-1 |
Advisories 3
- RHSA-2008:0855 Red Hat Security Advisory: openssh security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1576-1 openssh openssh-blacklist - predictable randomness Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:11124-1 openssh-8.4p1-7.4 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- http://www.openssh.com/txt/release-4.7
- GLSA-200711-02 vendor-advisory
- oval:org.mitre.oval:def:10809 vdb-entry signature
- DSA-1576 vendor-advisory
- 25628 vdb-entry
- 20070917 FLEA-2007-0055-1 openssh openssh-client openssh-server gnome-ssh-askpass mailing-list
- http://support.avaya.com/elmodocs2/security/ASA-2008-399.htm
- FEDORA-2007-715 vendor-advisory
- USN-566-1 vendor-advisory
- 3126 third-party-advisory
- ADV-2008-0924 vdb-entry
- ADV-2008-2821 vdb-entry
- 30249 third-party-advisory
- ADV-2007-3156 vdb-entry
- SSRT071485 vendor-advisory
- 31575 third-party-advisory
- RHSA-2008:0855 vendor-advisory
- MDKSA-2007:236 vendor-advisory
- oval:org.mitre.oval:def:5599 vdb-entry signature
- https://bugzilla.redhat.com/show_bug.cgi?id=280471
- 29420 third-party-advisory
- APPLE-SA-2008-03-18 vendor-advisory
- 20071115 Re: HPSBUX02287 SSRT071485 rev.1 - HP-UX Running HP Secure Shell, Remotely Gain Extended Privileges mailing-list
- 27399 third-party-advisory
- openssh-x11cookie-privilege-escalation(36637) vdb-entry
- https://issues.rpath.com/browse/RPL-1706
- http://docs.info.apple.com/article.html?artnum=307562
- http://bugs.gentoo.org/show_bug.cgi?id=191321
- SUSE-SR:2007:022 vendor-advisory
- 32241 third-party-advisory