Time-of-check Time-of-use (TOCTOU) Affecting sudo package, versions <0:1.8.29-7.el8


Severity

Recommended
0.0
low
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.07% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-SUDO-1474541
  • published26 Jul 2021
  • disclosed11 Jan 2021

Introduced: 11 Jan 2021

CVE-2021-23239  (opens in a new tab)
CWE-367  (opens in a new tab)
CWE-59  (opens in a new tab)
CWE-203  (opens in a new tab)

How to fix?

Upgrade RHEL:8 sudo to version 0:1.8.29-7.el8 or higher.
This issue was patched in RHSA-2021:1723.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sudo package and not the sudo package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

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.

CVSS Scores

version 3.1