Vulnerabilities / CVE-2023-28531

critical

CVE-2023-28531

openssh: smartcard keys to ssh-agent without the intended per-hop destination constraints.

Published Modified CWE 284
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Julia9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, CBL-Mariner, Julia, Photon OS. Rated lower by Red Hat (medium), Ubuntu (low).

Description

ssh-add in OpenSSH before 9.3 adds smartcard keys to ssh-agent without the intended per-hop destination constraints. The earliest affected version is 8.9.

Affected packages and fixed versions

SourcePackageFixed in
CBL-Mariner 1.0openssh0:8.9p1-2.cm1
CBL-Mariner 2.0openssh0:8.9p1-5.cm2
julia::Julia Ecosystem Security AdvisoriesOpenSSH_jll9.3.2+0
Photon OS 4.0openssh, openssh-clients, openssh-server and 1 more8.9p1-2.ph4
Photon OS 5.0openssh, openssh-clients, openssh-server and 1 more9.3p1-1.ph5
alpine 3.16openssh9.0_p1-r3
alpine 3.17openssh9.1_p1-r3
debian 12openssh1:9.2p1-2+deb12u2
debian 13openssh1:9.3p1-1
debian 14openssh1:9.3p1-1
echoopenssh1:9.2p1-2+deb12u2
root.io debian 12rootio-openssh1:9.2p1-2+deb12u2
Show all 21 entries from 15 sources
SourcePackageFixed in
CBL-Mariner 1.0openssh0:8.9p1-2.cm1
CBL-Mariner 2.0openssh0:8.9p1-5.cm2
julia::Julia Ecosystem Security AdvisoriesOpenSSH_jll9.3.2+0
Photon OS 4.0openssh8.9p1-2.ph4
Photon OS 4.0openssh-clients8.9p1-2.ph4
Photon OS 4.0openssh-server8.9p1-2.ph4
Photon OS 4.0openssh-socket8.9p1-2.ph4
Photon OS 5.0openssh9.3p1-1.ph5
Photon OS 5.0openssh-clients9.3p1-1.ph5
Photon OS 5.0openssh-server9.3p1-1.ph5
Photon OS 5.0openssh-socket9.3p1-1.ph5
alpine 3.16openssh9.0_p1-r3
alpine 3.17openssh9.1_p1-r3
debian 12openssh1:9.2p1-2+deb12u2
debian 13openssh1:9.3p1-1
debian 14openssh1:9.3p1-1
echoopenssh1:9.2p1-2+deb12u2
root.io debian 12rootio-openssh1:9.2p1-2+deb12u2
root.io debian 13rootio-openssh1:9.3p1-1
ubuntu 22.04openssh1:8.9p1-3ubuntu0.5
ubuntu 23.04openssh1:9.0p1-1ubuntu8.6

References

All 12 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.