CVSS 3.1
2.5 lowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:NLow (2.5). EPSS 1.0% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:NExplain CVE-2021-23239 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-23239?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-23239?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-23239 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| sudo_project:sudo | before 1.8.32 |
| sudo_project:sudo | from 1.9.0 before 1.9.5 |
| fedoraproject:fedora | 32 |
| fedoraproject:fedora | 33 |
| debian:debian_linux | 10.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | sudo | 1.8.27-1+deb10u4 | DLA-3181-1 |
| Debian | 12, 13, 14 | sudo | 1.9.5-1 | DEBIAN-CVE-2021-23239 |
| Ubuntu | 16.04:LTS | sudo | 1.8.16-0ubuntu1.10 | UBUNTU-CVE-2021-23239 USN-4705-1 |
| Ubuntu | 18.04:LTS | sudo | 1.8.21p2-3ubuntu1.4 | UBUNTU-CVE-2021-23239 USN-4705-1 |
| Ubuntu | 20.04:LTS | sudo | 1.8.31-1ubuntu1.2 | UBUNTU-CVE-2021-23239 USN-4705-1 |
| Ubuntu | Pro:14.04:LTS | sudo | no fix listed | UBUNTU-CVE-2021-23239 |
| Red Hat | enterprise_linux:8::baseos | sudo, sudo-debuginfo, sudo-debugsource | 0:1.8.29-7.el8 | RHSA-2021:1723 |
| SUSE | Enterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL and 8 more | sudo | 1.8.20p2-3.20.1 | SUSE-SU-2021:0226-1 |
| SUSE | Enterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 12 more | sudo | 1.8.22-4.15.1 | SUSE-SU-2021:0227-1 |
| SUSE | Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 more | sudo | 1.8.10p3-10.29.1 | SUSE-SU-2021:0232-1 |
| SUSE | Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5 | sudo | 1.8.27-4.6.1 | SUSE-SU-2021:0225-1 |
| openSUSE | Leap 15.1 | sudo | 1.8.22-lp151.5.12.1 | openSUSE-SU-2021:0169-1 |
| openSUSE | Leap 15.2 | sudo | 1.8.22-lp152.8.6.1 | openSUSE-SU-2021:0170-1 |
| openSUSE | Tumbleweed | sudo | 1.9.7p2-1.4 | openSUSE-SU-2024:11413-1 |
| Rocky Linux | 8 | sudo | 0:1.8.29-7.el8 | RLSA-2021:1723 |
| Alpine | v3.10, v3.11 | sudo | 1.9.5p2-r0 | ALPINE-CVE-2021-23239 |
| Alpine | v3.12, v3.13, v3.14 and 10 more | sudo | 1.9.5-r0 | ALPINE-CVE-2021-23239 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Low.
This flaw has been rated as having a security impact of Low. The symbolic link protection is enabled by default in Red Hat Enterprise Linux 7 and 8, preventing this issue from being exploited.
Enabling the symbolic link protection (/proc/sys/fs/protected_symlinks set to 1) is sufficient to mitigate this flaw.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | sudo-0:1.8.29-7.el8 | Fixed 2021-05-18 | RHSA-2021:1723 |
| Red Hat Enterprise Linux 5 | sudo | Out of support scope | |
| Red Hat Enterprise Linux 6 | sudo | Out of support scope | |
| Red Hat Enterprise Linux 7 | sudo | Out of support scope | |
| Red Hat Enterprise Linux 9 | sudo | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-23239.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.