CVE-2021-28041
High 7.1 CVSS 3.1
Description
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.
Description as published by the source, in English.
Key facts
- Published
- 2021-03-05
- Last modified
- 2026-10-14
- Assigned by
- cve@mitre.org
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
3.4 %
higher than 88 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Fedoraproject | Fedora | 33 | Affected |
| Fedoraproject | Fedora | 34 | Affected |
| Netapp | Cloud Backup | all versions listed | Affected |
| Netapp | Hci Compute Node | all versions listed | Not affected |
| Netapp | Hci Compute Node Firmware | all versions listed | Affected |
| Netapp | Hci Management Node | all versions listed | Affected |
| Netapp | Hci Storage Node | all versions listed | Not affected |
| Netapp | Hci Storage Node Firmware | all versions listed | Affected |
| Netapp | Solidfire | all versions listed | Affected |
| Openbsd | Openssh | ≥ 8.2, < 8.5 | Affected |
| Oracle | Communications Offline Mediation Controller | 12.0.0.3.0 | Affected |
| Oracle | Zfs Storage Appliance | 8.8 | Affected |
Weakness type
-
CWE-415: Double Free
The product calls free() twice on the same memory address.
References
- https://github.com/openssh/openssh-portable/commit/e04fd6dde16de1cdc5a4d9946397ff60d96568…
- https://security.gentoo.org/glsa/202105-35
- https://security.netapp.com/advisory/ntap-20210416-0002/
- https://www.openssh.com/security.html
- https://www.openssh.com/txt/release-8.5
- https://www.openwall.com/lists/oss-security/2021/03/03/1
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://github.com/openssh/openssh-portable/commit/e04fd6dde16de1cdc5a4d9946397ff60d96568…
- https://security.gentoo.org/glsa/202105-35
- https://security.netapp.com/advisory/ntap-20210416-0002/
- https://www.openssh.com/security.html
- https://www.openssh.com/txt/release-8.5
- https://www.openwall.com/lists/oss-security/2021/03/03/1
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.