Advisory

RLSA-2021:1723

Also known as: CVE-2021-23239, CVE-2021-23240

Summary

Low: sudo security and bug fix update

Details

The sudo packages contain the sudo utility which allows system administrators to provide certain users with the permission to execute privileged commands, which are used for system management purposes, without having to log in as root.

Security Fix(es):

  • sudo: symbolic link attack in SELinux-enabled sudoedit (CVE-2021-23240)
  • sudo: possible directory existence test due to race condition in sudoedit (CVE-2021-23239)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 8.4 Release Notes linked from the References section.

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2021-05-18 05:55 UTC
Modified
2026-02-05 03:15 UTC

Affected packages and fixes

sudo

RPM packages (rpm) · Rocky Linux 8

Affected

  • introduced 0, fixed 0:1.8.29-7.el8 (ecosystem)

Fixed versions

0:1.8.29-7.el8

Fix

  • Fixed version 0:1.8.29-7.el8
    sudo dnf upgrade sudo-0:1.8.29-7.el8

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Rocky Linux errata (Apollo)

Rocky Linux errata, Rocky Enterprise Software Foundation.

Sources & licences