CVEfocus › CVE database › CVE-2023-51384

CVE-2023-51384

CVSS 5.5 MediumEPSS 0.4% (higher than 25% of CVEs)Published 2023-12-18Updated 2026-11-10Assigner: mitre

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.

CWE-284

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

13Fixed
5Will not fix
29Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04opensshFixed1:9.6p1-3ubuntu1UBUNTU-CVE-2023-51384
Ubuntu 24.04openssh-ssh1Will not fix
openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support…
UBUNTU-CVE-2023-51384
Ubuntu 22.04opensshFixed1:8.9p1-3ubuntu0.6UBUNTU-CVE-2023-51384
Ubuntu 22.04openssh-ssh1Will not fix
openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support…
UBUNTU-CVE-2023-51384
Ubuntu 20.04openssh-ssh1Will not fix
openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support…
UBUNTU-CVE-2023-51384
Ubuntu 18.04openssh-ssh1Will not fix
openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support…
UBUNTU-CVE-2023-51384
Ubuntu 16.04opensshWill not fix
openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support…
Debian 14opensshFixed1:9.6p1-1DEBIAN-CVE-2023-51384
Debian 13opensshFixed1:9.6p1-1DEBIAN-CVE-2023-51384
Debian 12opensshFixed1:9.2p1-2+deb12u2DEBIAN-CVE-2023-51384
Red Hat Enterprise Linux 9opensshNot affected
Red Hat Enterprise Linux 9openssh-askpassNot affected
Red Hat Enterprise Linux 9openssh-clientsNot affected
Red Hat Enterprise Linux 9openssh-keycatNot affected
Red Hat Enterprise Linux 9openssh-serverNot affected
Red Hat Enterprise Linux 9pam_ssh_agent_authNot affected
Red Hat Enterprise Linux 8opensshNot affected
Red Hat Enterprise Linux 8openssh-askpassNot affected
Red Hat Enterprise Linux 8openssh-cavsNot affected
Red Hat Enterprise Linux 8openssh-clientsNot affected
Red Hat Enterprise Linux 8openssh-keycatNot affected
Red Hat Enterprise Linux 8openssh-ldapNot affected
Red Hat Enterprise Linux 8openssh-serverNot affected
Red Hat Enterprise Linux 8pam_ssh_agent_authNot affected
Red Hat Enterprise Linux 7opensshNot affected
Red Hat Enterprise Linux 7openssh-askpassNot affected
Red Hat Enterprise Linux 7openssh-cavsNot affected
Red Hat Enterprise Linux 7openssh-clientsNot affected
Red Hat Enterprise Linux 7openssh-keycatNot affected
Red Hat Enterprise Linux 7openssh-ldapNot affected
Red Hat Enterprise Linux 7openssh-serverNot affected
Red Hat Enterprise Linux 7openssh-server-sysvinitNot affected
Red Hat Enterprise Linux 7pam_ssh_agent_authNot affected
Red Hat Enterprise Linux 6opensshNot affected
Red Hat Enterprise Linux 6openssh-askpassNot affected
Red Hat Enterprise Linux 6openssh-clientsNot affected
Red Hat Enterprise Linux 6openssh-ldapNot affected
Red Hat Enterprise Linux 6openssh-serverNot affected
Red Hat Enterprise Linux 6pam_ssh_agent_authNot affected
Alpine Linux 3.24opensshFixed9.6_p1-r0ALPINE-CVE-2023-51384
Alpine Linux 3.23opensshFixed9.6_p1-r0ALPINE-CVE-2023-51384
Alpine Linux 3.22opensshFixed9.6_p1-r0ALPINE-CVE-2023-51384
Alpine Linux 3.21opensshFixed9.6_p1-r0ALPINE-CVE-2023-51384
Alpine Linux 3.20opensshFixed9.6_p1-r0ALPINE-CVE-2023-51384
Alpine Linux 3.19opensshFixed9.6_p1-r0ALPINE-CVE-2023-51384
Alpine Linux 3.17opensshFixed9.1_p1-r5ALPINE-CVE-2023-51384
Alpine Linux 3.16opensshFixed9.0_p1-r5ALPINE-CVE-2023-51384

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.