CVE-2021-23239

sudo: possible directory existence test due to race condition in sudoedit

Published Jan 12, 2021 CVSS 3.1 · 2.5 Low EPSS 1.0% KEV · Not listed
Description
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3181-1 sudo security update
EUVD EUVD EUVD-2021-10338 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.
Ubuntu USN Ubuntu USN USN-4705-1 Sudo vulnerabilities
History

No history.

Weaknesses
  • CWE-203

    Observable Discrepancy

  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition

  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 7:05 PM
Reserved
Jan 7, 2021, 12:00 AM
Status
Modified
Published
Jan 12, 2021, 9:15 AM
Modified
Jun 17, 2026, 3:38 AM
Severity
Low
Public date
Jan 11, 2021, 12:00 AM