CVE-2021-28041
openssh: double-free memory corruption may lead to arbitrary code execution
Overview
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.
Source: OX vulnerability database
Severity
7.1 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Weakness: CWE-415
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | OpenSSH_jll | >=8.9.0+0, <9.1.0+0 | 9.1.0+0 |
Open a package to see all its vulnerabilities.
Operating systems · 17 fixes
Photon OS 1 release · 1 package
fixed 1
openssh
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | openssh +3 | 8.5p1-1.ph4 |
SUSE Linux Enterprise Micro 1 release · 1 package
fixed 1
openssh
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.1 | openssh +4 | 8.4p1-3.9.1 | SUSE-SU-2021:4153-1 |
alpine 4 releases · 1 package
fixed 4
openssh
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openssh | 8.5_p1-r0 |
| 3.23 | openssh | 8.5_p1-r0 |
| 3.24 | openssh | 8.5_p1-r0 |
| edge | openssh | 8.5_p1-r0 |
debian 4 releases · 1 package
fixed 4
openssh
| Release | Package | Fixed in |
|---|---|---|
| 11 | openssh | 1:8.4p1-5 |
| 12 | openssh | 1:8.4p1-5 |
| 13 | openssh | 1:8.4p1-5 |
| 14 | openssh | 1:8.4p1-5 |
echo 1 release · 1 package
fixed 1
openssh
| Release | Package | Fixed in |
|---|---|---|
| openssh | 1:8.4p1-5 |
openSUSE 1 release · 1 package
fixed 1
openssh
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | openssh +7 | 9.6p1-3.1 | openSUSE-SU-2024:13842-1 |
root.io debian 3 releases · 1 package
fixed 3
rootio-openssh
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-openssh | 1:8.4p1-5 |
| 12 | rootio-openssh | 1:8.4p1-5 |
| 13 | rootio-openssh | 1:8.4p1-5 |
ubuntu 2 releases · 1 package
fixed 2
openssh
| Release | Package | Fixed in |
|---|---|---|
| 20.04 | openssh | 1:8.2p1-4ubuntu0.2 |
| 20.04-ESM | openssh | 1:8.2p1-4ubuntu0.2 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2021-28041
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- github.com https://github.com/openssh/openssh-portable/commit/e04fd6dde16de1cdc5a4d9946397ff60d96568db
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KQWGII3LQR4AOTPPFXGMTYE7UDEWIUKI/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TXST2CML2MWY3PNVUXX7FFJE3ATJMNVZ/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-28041
- security.gentoo.org https://security.gentoo.org/glsa/202105-35
- security.netapp.com https://security.netapp.com/advisory/ntap-20210416-0002/
- ubuntu.com https://ubuntu.com/security/notices/USN-4762-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2021-28041
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.