Red Hat Security Advisory: sudo security update
🔗 CVE IDs covered (1)
📋 Description
CVE-2023-22809 — sudo: arbitrary file write with privileges of the RunAs user
🎯 Affected products48
- Red Hat Enterprise Linux Client (v. 7)
- Red Hat Enterprise Linux Client Optional (v. 7)
- Red Hat Enterprise Linux ComputeNode Optional (v. 7)
- Red Hat Enterprise Linux Server (v. 7)
- Red Hat Enterprise Linux Server Optional (v. 7)
- Red Hat Enterprise Linux Workstation (v. 7)
- Red Hat Enterprise Linux Workstation Optional (v. 7)
- sudo-0:1.8.23-10.el7_9.3.ppc64 as a component of Red Hat Enterprise Linux Server (v. 7)
- sudo-0:1.8.23-10.el7_9.3.ppc64le as a component of Red Hat Enterprise Linux Server (v. 7)
- sudo-0:1.8.23-10.el7_9.3.s390x as a component of Red Hat Enterprise Linux Server (v. 7)
- sudo-0:1.8.23-10.el7_9.3.src as a component of Red Hat Enterprise Linux Client (v. 7)
- sudo-0:1.8.23-10.el7_9.3.src as a component of Red Hat Enterprise Linux Server (v. 7)
- sudo-0:1.8.23-10.el7_9.3.src as a component of Red Hat Enterprise Linux Workstation (v. 7)
- sudo-0:1.8.23-10.el7_9.3.x86_64 as a component of Red Hat Enterprise Linux Client (v. 7)
- sudo-0:1.8.23-10.el7_9.3.x86_64 as a component of Red Hat Enterprise Linux Server (v. 7)
- sudo-0:1.8.23-10.el7_9.3.x86_64 as a component of Red Hat Enterprise Linux Workstation (v. 7)
- sudo-debuginfo-0:1.8.23-10.el7_9.3.i686 as a component of Red Hat Enterprise Linux Client Optional (v. 7)
- sudo-debuginfo-0:1.8.23-10.el7_9.3.i686 as a component of Red Hat Enterprise Linux ComputeNode Optional (v. 7)
- sudo-debuginfo-0:1.8.23-10.el7_9.3.i686 as a component of Red Hat Enterprise Linux Server Optional (v. 7)
- sudo-debuginfo-0:1.8.23-10.el7_9.3.i686 as a component of Red Hat Enterprise Linux Workstation Optional (v. 7)
- sudo-debuginfo-0:1.8.23-10.el7_9.3.ppc as a component of Red Hat Enterprise Linux Server Optional (v. 7)
- sudo-debuginfo-0:1.8.23-10.el7_9.3.ppc64 as a component of Red Hat Enterprise Linux Server (v. 7)
- sudo-debuginfo-0:1.8.23-10.el7_9.3.ppc64 as a component of Red Hat Enterprise Linux Server Optional (v. 7)
- sudo-debuginfo-0:1.8.23-10.el7_9.3.ppc64le as a component of Red Hat Enterprise Linux Server (v. 7)
- sudo-debuginfo-0:1.8.23-10.el7_9.3.ppc64le as a component of Red Hat Enterprise Linux Server Optional (v. 7)
- sudo-debuginfo-0:1.8.23-10.el7_9.3.s390 as a component of Red Hat Enterprise Linux Server Optional (v. 7)
- sudo-debuginfo-0:1.8.23-10.el7_9.3.s390x as a component of Red Hat Enterprise Linux Server (v. 7)
- sudo-debuginfo-0:1.8.23-10.el7_9.3.s390x as a component of Red Hat Enterprise Linux Server Optional (v. 7)
- sudo-debuginfo-0:1.8.23-10.el7_9.3.x86_64 as a component of Red Hat Enterprise Linux Client (v. 7)
- sudo-debuginfo-0:1.8.23-10.el7_9.3.x86_64 as a component of Red Hat Enterprise Linux Client Optional (v. 7)
- +18 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.