{"id":"UBUNTU-CVE-2021-28041","details":"ssh-agent in OpenSSH before 8.5 has a double free that may be relevant in a few less-common scenarios, such as unconstrained agent-socket access on a legacy operating system, or the forwarding of an agent to an attacker-controlled host.","modified":"2026-02-04T03:59:18.943548Z","published":"2021-03-05T21:15:00Z","related":["USN-4762-1"],"upstream":["CVE-2021-28041"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-28041"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2021/03/03/1"},{"type":"REPORT","url":"https://www.openssh.com/security.html"},{"type":"REPORT","url":"https://www.openssh.com/txt/release-8.5"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4762-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-28041"}],"affected":[{"package":{"name":"openssh","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/openssh@1:8.2p1-4ubuntu0.2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:8.2p1-4ubuntu0.2"}]}],"versions":["1:8.0p1-6build1","1:8.1p1-1","1:8.1p1-5","1:8.2p1-4","1:8.2p1-4ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"openssh-client","binary_version":"1:8.2p1-4ubuntu0.2"},{"binary_name":"openssh-server","binary_version":"1:8.2p1-4ubuntu0.2"},{"binary_name":"openssh-sftp-server","binary_version":"1:8.2p1-4ubuntu0.2"},{"binary_name":"openssh-tests","binary_version":"1:8.2p1-4ubuntu0.2"},{"binary_name":"ssh","binary_version":"1:8.2p1-4ubuntu0.2"},{"binary_name":"ssh-askpass-gnome","binary_version":"1:8.2p1-4ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-28041.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}