Skip to content
OpenAdvisories
Medium · 5.5 CVE-2023-51384 EUVD-2023-56105GHSA-44xq-r8h3-q4q6

In ssh-agent in OpenSSH before 9.6, certain destination constraints can be incompletely applied. When destination constraints are specified…

Published Dec 18, 2023 · Updated Nov 10, 2026 · Assigned by mitre

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.

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.

ReleasePackageFixed inAdvisory
Debian 14 openssh 1:9.6p1-1 —
Debian 13 openssh 1:9.6p1-1 —
Debian 12 openssh 1:9.2p1-2+deb12u2 —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS openssh 1:9.6p1-3ubuntu1 —
Ubuntu 24.04 LTS openssh-ssh1 No fix yet —
Ubuntu 22.04 LTS openssh 1:8.9p1-3ubuntu0.6 USN-6565-1
Ubuntu 22.04 LTS openssh-ssh1 No fix yet —
Ubuntu 20.04 LTS openssh 1:8.2p1-4ubuntu0.11 USN-6565-1
Ubuntu 20.04 LTS openssh-ssh1 No fix yet —
Ubuntu 18.04 LTS openssh-ssh1 No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 openssh 9.6_p1-r0 —
Alpine v3.23 openssh 9.6_p1-r0 —
Alpine v3.22 openssh 9.6_p1-r0 —
Alpine v3.21 openssh 9.6_p1-r0 —
Alpine v3.20 openssh 9.6_p1-r0 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 openssh 9.6_p1-r0 —
Alpine v3.17 openssh 9.1_p1-r5 —
Alpine v3.16 openssh 9.0_p1-r5 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 openssh 9.7p1-1 —
Azure Linux 2 (CBL-Mariner) openssh 8.9p1-3 —

Advisories 20

References