CVE-2023-51384
openssh: destination constraints only apply to first PKCS#11 key
Overview
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: OX vulnerability database
Severity
5.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness: CWE-284
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | OpenSSH_jll | >=8.9.0+0, <9.9.1+0 | 9.9.1+0 |
Open a package to see all its vulnerabilities.
Operating systems · 15 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | openssh | 0:9.7p1-1.azl3 |
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | openssh +3 | 8.9p1-6.ph4 |
| 5.0 | openssh +3 | 9.3p2-7.ph5 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openssh | 9.6_p1-r0 |
| 3.23 | openssh | 9.6_p1-r0 |
| 3.24 | openssh | 9.6_p1-r0 |
| edge | openssh | 9.6_p1-r0 |
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | openssh | 1:9.2p1-2+deb12u2 |
| 13 | openssh | 1:9.6p1-1 |
| 14 | openssh | 1:9.6p1-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssh | 1:9.2p1-2+deb12u2 |
root.io debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-openssh | 1:9.2p1-2+deb12u2 |
| 13 | rootio-openssh | 1:9.6p1-1 |
ubuntu 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | openssh | 1:8.9p1-3ubuntu0.6 |
| 24.04 | openssh | 1:9.6p1-3ubuntu1 |
References
- seclists.org http://seclists.org/fulldisclosure/2024/Mar/21
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-51384
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-082556.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-457936.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-769027.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-794697.html
- github.com https://github.com/openssh/openssh-portable/commit/881d9c6af9da4257c69c327c4e2f1508b2fa754b
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-51384
- security.netapp.com https://security.netapp.com/advisory/ntap-20240105-0005/
Show all 16 references
- support.apple.com https://support.apple.com/kb/HT214084
- ubuntu.com https://ubuntu.com/security/notices/USN-6565-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-51384
- www.debian.org https://www.debian.org/security/2023/dsa-5586
- www.openssh.com https://www.openssh.com/txt/release-9.6
- www.openwall.com https://www.openwall.com/lists/oss-security/2023/12/18/2
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.