Name | CVE-2023-51384 |
Description | In ssh-agent in OpenSSH before 9.6, certain destination constraints can be incompletely applied. When destination constraints are specified during addition of PKCS#11-hosted private keys, these constraints are only applied to the first key, even if a PKCS#11 token returns multiple keys. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
openssh (PTS) | jessie, jessie (lts) | 1:6.7p1-5+deb8u10 | fixed |
| stretch (security) | 1:7.4p1-10+deb9u6 | fixed |
| stretch (lts), stretch | 1:7.4p1-10+deb9u9 | fixed |
| buster (security), buster, buster (lts) | 1:7.9p1-10+deb10u4 | fixed |
| bullseye (security), bullseye | 1:8.4p1-5+deb11u3 | fixed |
| bookworm (security), bookworm | 1:9.2p1-2+deb12u3 | fixed |
| sid, trixie | 1:9.9p1-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
openssh | source | jessie | (not affected) | | | |
openssh | source | stretch | (not affected) | | | |
openssh | source | buster | (not affected) | | | |
openssh | source | bullseye | (not affected) | | | |
openssh | source | bookworm | 1:9.2p1-2+deb12u2 | | | |
openssh | source | (unstable) | 1:9.6p1-1 | | | |
Notes
[bullseye] - openssh <not-affected> (Vulnerable code introduced later; per-hop destination constraints support added in OpenSSH 8.9)
[buster] - openssh <not-affected> (Vulnerable code introduced later; per-hop destination constraints support added in OpenSSH 8.9)
https://www.openwall.com/lists/oss-security/2023/12/18/2
https://github.com/openssh/openssh-portable/commit/881d9c6af9da4257c69c327c4e2f1508b2fa754b (V_9_6_P1)
[stretch] - openssh <not-affected> (Vulnerable code introduced later; per-hop destination constraints support added in OpenSSH 8.9)
[jessie] - openssh <not-affected> (Vulnerable code introduced later; per-hop destination constraints support added in OpenSSH 8.9)