{"schema_version":"1.7.3","id":"UBUNTU-CVE-2023-28531","published":"2023-03-17T04:15:00Z","modified":"2026-02-04T03:20:08.307021Z","related":["USN-6560-1"],"upstream":["CVE-2023-28531"],"details":"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":[{"package":{"name":"openssh","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/openssh@1:8.9p1-3ubuntu0.5?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:8.9p1-3ubuntu0.5"}]}],"versions":["1:8.4p1-6ubuntu2","1:8.7p1-2","1:8.7p1-2build1","1:8.7p1-4","1:8.8p1-1","1:8.9p1-3","1:8.9p1-3ubuntu0.1","1:8.9p1-3ubuntu0.3","1:8.9p1-3ubuntu0.4"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"openssh-client","binary_version":"1:8.9p1-3ubuntu0.5"},{"binary_name":"openssh-server","binary_version":"1:8.9p1-3ubuntu0.5"},{"binary_name":"openssh-sftp-server","binary_version":"1:8.9p1-3ubuntu0.5"},{"binary_name":"openssh-tests","binary_version":"1:8.9p1-3ubuntu0.5"},{"binary_name":"ssh","binary_version":"1:8.9p1-3ubuntu0.5"},{"binary_name":"ssh-askpass-gnome","binary_version":"1:8.9p1-3ubuntu0.5"}],"priority_reason":"Only affects configurations using agent forwarding, smartcard keys, and per-hop destination constraints. Policy bypass only."},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-28531.json"}}],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-28531"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2023/03/15/8"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6560-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-28531"}],"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}