---
title: "CVE-2023-51384"
canonical_url: "https://pkgseek.com/security/CVE-2023-51384"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2023-51384

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.

CVE-2023-51384 is rated MEDIUM (5.5), with 8 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM (5.5)
- **Affected builds**: 8
- **Affected distros**: 1
- **Distros with fixed_in**: Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | focal | openssh-client | 1:8.2p1-4 | 1:8.2p1-4ubuntu0.11 |
| Ubuntu | focal | openssh-server | 1:8.2p1-4 | 1:8.2p1-4ubuntu0.11 |
| Ubuntu | focal | openssh-sftp-server | 1:8.2p1-4 | 1:8.2p1-4ubuntu0.11 |
| Ubuntu | focal | ssh | 1:8.2p1-4 | 1:8.2p1-4ubuntu0.11 |
| Ubuntu | jammy | openssh-client | 1:8.9p1-3 | 1:8.9p1-3ubuntu0.6 |
| Ubuntu | jammy | openssh-server | 1:8.9p1-3 | 1:8.9p1-3ubuntu0.6 |
| Ubuntu | jammy | openssh-sftp-server | 1:8.9p1-3 | 1:8.9p1-3ubuntu0.6 |
| Ubuntu | jammy | ssh | 1:8.9p1-3 | 1:8.9p1-3ubuntu0.6 |
