Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2021-23239: CVE-2021-23239 sudo: possible directory existence test due to race condition in sudoedit (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Red Hat: CVE-2021-23239: CVE-2021-23239 sudo: possible directory existence test due to race condition in sudoedit (Multiple Advisories)

Severity
2
CVSS
(AV:L/AC:M/Au:N/C:P/I:N/A:N)
Published
01/12/2021
Created
05/21/2021
Added
05/21/2021
Modified
12/15/2023

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.

Solution(s)

  • redhat-upgrade-sudo
  • redhat-upgrade-sudo-debuginfo
  • redhat-upgrade-sudo-debugsource

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;