RHSA-2023:3276HighCVSS 7.8

Red Hat Security Advisory: sudo security update

Published
May 23, 2023
Last Modified
August 7, 2026

🔗 CVE IDs covered (1)

📋 Description

CVE-2023-22809 — sudo: arbitrary file write with privileges of the RunAs user

🎯 Affected products31

  • Red Hat Enterprise Linux Server AUS (v. 7.7)
  • Red Hat Enterprise Linux Server E4S (v. 7.7)
  • Red Hat Enterprise Linux Server Optional AUS (v. 7.7)
  • Red Hat Enterprise Linux Server Optional E4S (v. 7.7)
  • Red Hat Enterprise Linux Server Optional TUS (v. 7.7)
  • Red Hat Enterprise Linux Server TUS (v. 7.7)
  • sudo-0:1.8.23-4.el7_7.4.ppc64le as a component of Red Hat Enterprise Linux Server E4S (v. 7.7)
  • sudo-0:1.8.23-4.el7_7.4.src as a component of Red Hat Enterprise Linux Server AUS (v. 7.7)
  • sudo-0:1.8.23-4.el7_7.4.src as a component of Red Hat Enterprise Linux Server E4S (v. 7.7)
  • sudo-0:1.8.23-4.el7_7.4.src as a component of Red Hat Enterprise Linux Server TUS (v. 7.7)
  • sudo-0:1.8.23-4.el7_7.4.x86_64 as a component of Red Hat Enterprise Linux Server AUS (v. 7.7)
  • sudo-0:1.8.23-4.el7_7.4.x86_64 as a component of Red Hat Enterprise Linux Server E4S (v. 7.7)
  • sudo-0:1.8.23-4.el7_7.4.x86_64 as a component of Red Hat Enterprise Linux Server TUS (v. 7.7)
  • sudo-debuginfo-0:1.8.23-4.el7_7.4.i686 as a component of Red Hat Enterprise Linux Server Optional AUS (v. 7.7)
  • sudo-debuginfo-0:1.8.23-4.el7_7.4.i686 as a component of Red Hat Enterprise Linux Server Optional E4S (v. 7.7)
  • sudo-debuginfo-0:1.8.23-4.el7_7.4.i686 as a component of Red Hat Enterprise Linux Server Optional TUS (v. 7.7)
  • sudo-debuginfo-0:1.8.23-4.el7_7.4.ppc64le as a component of Red Hat Enterprise Linux Server E4S (v. 7.7)
  • sudo-debuginfo-0:1.8.23-4.el7_7.4.ppc64le as a component of Red Hat Enterprise Linux Server Optional E4S (v. 7.7)
  • sudo-debuginfo-0:1.8.23-4.el7_7.4.x86_64 as a component of Red Hat Enterprise Linux Server AUS (v. 7.7)
  • sudo-debuginfo-0:1.8.23-4.el7_7.4.x86_64 as a component of Red Hat Enterprise Linux Server E4S (v. 7.7)
  • sudo-debuginfo-0:1.8.23-4.el7_7.4.x86_64 as a component of Red Hat Enterprise Linux Server Optional AUS (v. 7.7)
  • sudo-debuginfo-0:1.8.23-4.el7_7.4.x86_64 as a component of Red Hat Enterprise Linux Server Optional E4S (v. 7.7)
  • sudo-debuginfo-0:1.8.23-4.el7_7.4.x86_64 as a component of Red Hat Enterprise Linux Server Optional TUS (v. 7.7)
  • sudo-debuginfo-0:1.8.23-4.el7_7.4.x86_64 as a component of Red Hat Enterprise Linux Server TUS (v. 7.7)
  • sudo-devel-0:1.8.23-4.el7_7.4.i686 as a component of Red Hat Enterprise Linux Server Optional AUS (v. 7.7)
  • sudo-devel-0:1.8.23-4.el7_7.4.i686 as a component of Red Hat Enterprise Linux Server Optional E4S (v. 7.7)
  • sudo-devel-0:1.8.23-4.el7_7.4.i686 as a component of Red Hat Enterprise Linux Server Optional TUS (v. 7.7)
  • sudo-devel-0:1.8.23-4.el7_7.4.ppc64le as a component of Red Hat Enterprise Linux Server Optional E4S (v. 7.7)
  • sudo-devel-0:1.8.23-4.el7_7.4.x86_64 as a component of Red Hat Enterprise Linux Server Optional AUS (v. 7.7)
  • sudo-devel-0:1.8.23-4.el7_7.4.x86_64 as a component of Red Hat Enterprise Linux Server Optional E4S (v. 7.7)
  • +1 more not shown

✅ Remediation

For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: It is possible to prevent a user-specified editor from being used by sudoedit by adding the following line to the sudoers file. ~~~ Defaults!sudoedit env_delete+="SUDO_EDITOR VISUAL EDITOR" ~~~ To restrict the editor when editing specific files, a Cmnd_Alias can be used, for example: ~~~ Cmnd_Alias EDIT_MOTD = sudoedit /etc/motd Defaults!EDIT_MOTD env_delete+="SUDO_EDITOR VISUAL EDITOR" user ALL = EDIT_MOTD ~~~ But if possible please update the affected package as soon as possible.

🔗 References (4)