CVE-2021-28041
📛 CVE Title
Arch Linux: Arbitrary code execution (CVE-2021-28041)
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.
Overview
- State
- —
- Assigner (CNA)
- —
- CVSS severity
- MEDIUM
- CVSS score
- 5.0 / 10
- CVSS vector
AV:N/AC:H/Au:S/C:P/I:P/A:P- Effective score
- 5.0 / 10 MEDIUM source: CNA overview
- MSRC score
- 7.1 / 10 HIGH
- CWE(s)
-
CWE-415 - Reserved
- —
- Published
- 2021-03-05 00:00 UTC
- Last updated
- 2026-02-26 01:01 UTC
- Source
- https://www.rapid7.com/db/vulnerabilities/arch-linux-cve-2021-28041/
NVD triage scoring NVD CVE 2.0
Layer NVD adds on top of the CNA's CVE record — published / last-modified timestamps, exploitability / impact subscores, and the FIRST.org EPSS probability that this CVE will be exploited in the wild in the next 30 days.
- NVD published
- 2021-03-05 21:15:13 UTC
- NVD last modified
- 2026-06-17 03:45:46 UTC
- NVD CVSS v3.1
- 7.1 / 10 HIGH source: nvd@nist.gov
- NVD CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H- Exploitability subscore
- 1.2 / 10
- Impact subscore
- 5.9 / 10
- EPSS score
- 0.0342 (probability of exploitation in next 30 days)
- EPSS percentile
- 87.41% vs all CVEs — higher = more likely to be exploited, as of 2026-06-29
NVD / KEV / EPSS data refreshed 2026-06-30 01:12 UTC. Re-run the 🛰 Backfill from NVD button above to refresh.
European Union Vulnerability Database ENISA EUVD
ENISA's official EU repository for curated vulnerability intelligence. Carries a separate identifier (EUVD-YYYY-NNNN) and frequently exposes an earlier-published description + CVSS than NVD does.
- EUVD ID
-
EUVD-2021-14748 - Assigner
- mitre
- Published
- Mar 5, 2021, 7:07:34 PM
- Updated
- Aug 3, 2024, 9:33:17 PM
- EUVD-reported EPSS
- 3.4200
- Vendors
- n/a
- Products
-
n/a (n/a)
- Aliases
-
GHSA-gp5m-rxrx-pfrj
ENISA 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.
EUVD references (9)
- https://www.openssh.com/security.html
- https://www.openwall.com/lists/oss-security/2021/03/03/1
- https://github.com/openssh/openssh-portable/commit/e04fd6dde16de1cdc5a4d9946397ff60d96568db
- https://www.openssh.com/txt/release-8.5
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TXST2CML2MWY3PNVUXX7FFJE3ATJMNVZ/
- https://security.gentoo.org/glsa/202105-35
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KQWGII3LQR4AOTPPFXGMTYE7UDEWIUKI/
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://security.netapp.com/advisory/ntap-20210416-0002/
Microsoft Security Response Center MSRC
Microsoft's vendor-authoritative record from the Security Update Guide — its own CVSS score, impact, severity rating, exploit assessment, and KB-article fixes. Refreshed 2026-08-11 01:52 UTC (source: CVRF).
- MS CVSS base score
- 7.1 / 10 (temporal 7.1)
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H - Release
- 2021-Mar
Microsoft remediations / KB articles (2)
- CBL-Mariner Releases — Vendor Fix / Security Update (fixed build -)
- https://learn.microsoft.com/en-us/azure/azure-linux/tutorial-azure-linux-upgrade — None Available / CBL-Mariner Releases
Microsoft FAQ (1)
Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Affected products — CPE 2.3 (12) NVD
NVD's normalized CPE 2.3 matchers, used by vendor tools (vulnerability scanners, asset managers) for automated detection. Compare with the CNA's free-text "Affected products" section above.
cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*cpe:2.3:a:netapp:cloud_backup:-:*:*:*:*:*:*:*cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:*cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:hci_compute_node_firmware:-:*:*:*:*:*:*:*cpe:2.3:h:netapp:hci_compute_node:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:hci_storage_node_firmware:-:*:*:*:*:*:*:*cpe:2.3:h:netapp:hci_storage_node:-:*:*:*:*:*:*:*cpe:2.3:a:oracle:communications_offline_mediation_controller:12.0.0.3.0:*:*:*:*:*:*:*cpe:2.3:o:oracle:zfs_storage_appliance:8.8:*:*:*:*:*:*:*
Vendor references (0)
References embedded in the original CVE record by the assigning CNA.
None in the CVE record.
MITRE references (7) cveawg.mitre.org
Pulled from MITRE's CVE Services API by the 🛰 Backfill from MITRE button.
- GLSA-202105-35 vendor-advisory, x_refsource_GENTOO
- https://www.oracle.com//security-alerts/cpujul2021.html x_refsource_MISC
- https://www.openwall.com/lists/oss-security/2021/03/03/1 x_refsource_MISC
- https://github.com/openssh/openssh-portable/commit/e04fd6dde16de1cdc5a4d9946397ff60d96568db x_refsource_MISC
- FEDORA-2021-f68a5a75ba vendor-advisory, x_refsource_FEDORA
- https://security.netapp.com/advisory/ntap-20210416-0002/ x_refsource_CONFIRM
- FEDORA-2021-1d3698089d vendor-advisory, x_refsource_FEDORA
Web references (10)
DuckDuckGo results ranked by threat-intel / vendor advisory domains. Generated by the 🔎 Find references (web) button above — same flow as the Remediations search.
- None Available msrc
- MSRC update guide: CVE-2021-28041 msrc
- https://support.oracle.com/epmos/faces/DocumentDisplay?id=1448883.1&displayIndex=1 rapid7:support.oracle.com
- https://www.openssh.com/txt/release-8.5 rapid7:www.openssh.com
- https://www.openssh.com/security.html rapid7:www.openssh.com
- https://security.alpinelinux.org/vuln/CVE-2021-28041 rapid7:security.alpinelinux.org
- https://www.cve.org/CVERecord?id=CVE-2021-28041 rapid7:www.cve.org
- http://cwe.mitre.org/data/definitions/415.html rapid7:cwe.mitre.org
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-14748 rapid7:euvd.enisa.europa.eu
- https://attackerkb.com/topics/CVE-2021-28041 rapid7:attackerkb.com
NVD-tagged references (18)
Reference list NVD curates from the CNA record, vendor advisories, and third-party reports. The tag chips below are NVD's analyst-assigned categories.
- https://github.com/openssh/openssh-portable/commit/e04fd6dde16de1cdc5a4d9946397ff60d96568db cve@mitre.org PatchThird Party Advisory
- https://github.com/openssh/openssh-portable/commit/e04fd6dde16de1cdc5a4d9946397ff60d96568db af854a3a-2127-422b-91ae-364da2661108 PatchThird Party Advisory
- https://security.gentoo.org/glsa/202105-35 cve@mitre.org Third Party Advisory
- https://security.gentoo.org/glsa/202105-35 af854a3a-2127-422b-91ae-364da2661108 Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210416-0002/ cve@mitre.org Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210416-0002/ af854a3a-2127-422b-91ae-364da2661108 Third Party Advisory
- https://www.openssh.com/security.html cve@mitre.org Not ApplicableVendor Advisory
- https://www.openssh.com/security.html af854a3a-2127-422b-91ae-364da2661108 Not ApplicableVendor Advisory
- https://www.openssh.com/txt/release-8.5 cve@mitre.org Release NotesVendor Advisory
- https://www.openssh.com/txt/release-8.5 af854a3a-2127-422b-91ae-364da2661108 Release NotesVendor Advisory
- https://www.openwall.com/lists/oss-security/2021/03/03/1 cve@mitre.org Mailing ListPatchThird Party Advisory
- https://www.openwall.com/lists/oss-security/2021/03/03/1 af854a3a-2127-422b-91ae-364da2661108 Mailing ListPatchThird Party Advisory
- https://www.oracle.com//security-alerts/cpujul2021.html cve@mitre.org Third Party Advisory
- https://www.oracle.com//security-alerts/cpujul2021.html af854a3a-2127-422b-91ae-364da2661108 Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KQWGII3LQR4AOTPPFXGMTYE7UDEWIUKI/ cve@mitre.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KQWGII3LQR4AOTPPFXGMTYE7UDEWIUKI/ af854a3a-2127-422b-91ae-364da2661108
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TXST2CML2MWY3PNVUXX7FFJE3ATJMNVZ/ cve@mitre.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TXST2CML2MWY3PNVUXX7FFJE3ATJMNVZ/ af854a3a-2127-422b-91ae-364da2661108
Remediations (4)
-
rapid7
ubuntu-upgrade-openssh-client
2026-05-29 07:37 UTC -
rapid7
oracle-solaris-11-4-upgrade-network-ssh-8-4-0-1-11-4-33-0-1-94-0
2026-05-29 05:56 UTC -
rapid7
openbsd-openssh-upgrade-8_5
2026-05-29 05:14 UTC -
rapid7
gentoo-linux-upgrade-net-misc-openssh
2026-05-29 03:13 UTC
AI Forensic Analysis
Only Available for Registered Users. Sign in to view.