RHSA-2023:0293HighCVSS 7.8

Red Hat Security Advisory: sudo security update

Published
January 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 products14

  • Red Hat Enterprise Linux BaseOS EUS (v.8.4)
  • sudo-0:1.8.29-7.el8_4.2.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.8.4)
  • sudo-0:1.8.29-7.el8_4.2.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.8.4)
  • sudo-0:1.8.29-7.el8_4.2.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v.8.4)
  • sudo-0:1.8.29-7.el8_4.2.src as a component of Red Hat Enterprise Linux BaseOS EUS (v.8.4)
  • sudo-0:1.8.29-7.el8_4.2.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.8.4)
  • sudo-debuginfo-0:1.8.29-7.el8_4.2.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.8.4)
  • sudo-debuginfo-0:1.8.29-7.el8_4.2.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.8.4)
  • sudo-debuginfo-0:1.8.29-7.el8_4.2.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v.8.4)
  • sudo-debuginfo-0:1.8.29-7.el8_4.2.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.8.4)
  • sudo-debugsource-0:1.8.29-7.el8_4.2.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.8.4)
  • sudo-debugsource-0:1.8.29-7.el8_4.2.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.8.4)
  • sudo-debugsource-0:1.8.29-7.el8_4.2.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v.8.4)
  • sudo-debugsource-0:1.8.29-7.el8_4.2.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.8.4)

✅ 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)