vulnerability

FreeBSD: VID-76b5068c-8436-11eb-9469-080027f515ea (CVE-2021-28041): OpenSSH -- Double-free memory corruption in ssh-agent

Severity
5
CVSS
(AV:N/AC:H/Au:S/C:P/I:P/A:P)
Published
Mar 13, 2021
Added
Mar 19, 2021
Modified
Dec 10, 2025

Description

OpenBSD Project reports: ssh-agent(1): fixed a double-free memory corruption that was introduced in OpenSSH 8.2 . We treat all such memory faults as potentially exploitable. This bug could be reached by an attacker with access to the agent socket. On modern operating systems where the OS can provide information about the user identity connected to a socket, OpenSSH ssh-agent and sshd limit agent socket access only to the originating user and root. Additional mitigation may be afforded by the system's malloc(3)/free(3) implementation, if it detects double-free conditions. The most likely scenario for exploitation is a user forwarding an agent either to an account shared with a malicious user or to a host with an attacker holding root access.

Solutions

freebsd-upgrade-package-openssh-portablefreebsd-upgrade-package-openssh-portable-hpnfreebsd-upgrade-package-openssh-portable-gssapi
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.