CVE-2021-23239
Title: Sudo sudoedit Race Condition for Directory-Existence Tests
Privilege Escalation
Proof Of Concept
No public PoC currently indexed for CVE-2021-23239.
CWE Category
CWE-59
Published Date
Jan 12, 2021
Modified Date
Nov 21, 2024
Exploit Status
Not Found
Score
2.5
CVSS v3.1
Exploit Probability (EPSS)
1.03%
Vulnerability Summary
CVE-2021-23239: The sudoedit personality of Sudo before 1.9.5 may allow a local unprivileged user to perform arbitrary directory-existence tests by winning a sudo_edit.c race condition in replacing a user-controlled directory by a symlink to an arbitrary path.
Impacted Vendors
Reference Links
https://bugzilla.suse.com/show_bug.cgi?id=CVE-2021-23239
https://lists.debian.org/debian-lts-announce/2022/11/msg00007.html
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EE42Y35SMJOLONAIBNYNFC7J44UUZ2Y6/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GMY4VSSBIND7VAYSN6T7XIWJRWG4GBB3/
https://security.gentoo.org/glsa/202101-33
https://security.netapp.com/advisory/ntap-20210129-0010/
https://www.sudo.ws/stable.html#1.9.5
https://bugzilla.suse.com/show_bug.cgi?id=CVE-2021-23239
https://lists.debian.org/debian-lts-announce/2022/11/msg00007.html
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EE42Y35SMJOLONAIBNYNFC7J44UUZ2Y6/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GMY4VSSBIND7VAYSN6T7XIWJRWG4GBB3/
https://security.gentoo.org/glsa/202101-33
https://security.netapp.com/advisory/ntap-20210129-0010/
https://www.sudo.ws/stable.html#1.9.5
CVSS v3.1
Source Entity
[email protected]
Severity
LOW
2.5
Attack Vector
LOCAL
Complexity
HIGH
Privileges
N/A
Interaction
NONE
Confidentiality
N/A
Integrity
N/A
Availability
N/A
Scope
UNCHANGED
RAW VECTOR
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
CVSS v2.0
Source Entity
[email protected]
Severity
LOW
1.9
Access Vector
N/A
Authentication
N/A
RAW VECTOR
AV:L/AC:M/Au:N/C:P/I:N/A:N
Associated Attack Patterns (CAPEC)
Total: PatternsNo specific attack patterns mapped.
Likelihood
Severity
Page /
CVE-2021-23239 Exploits & PoCs (Proof Of Concept)
No public PoCs found in our database for this CVE.
MODIFIED
Vulnerability data or affected products updated.
PUBLISHED
Vulnerability first announced in NVD.
Attack Vector Matrix
Access Vector
LOCAL
Complexity
HIGH
Privileges
N/A
Interaction
NONE
CVSS Vector String
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Affected Stack
No specific products linked.