Debian 10229 Published by

A sudo security update has been released for Debian GNU/Linux 11 to address a flaw where a local user can edit a file not permitted by the security policy, resulting in privilege escalation.



DSA 5321-1: sudo security update



- -------------------------------------------------------------------------
Debian Security Advisory DSA-5321-1 security@debian.org
  https://www.debian.org/security/ Salvatore Bonaccorso
January 18, 2023   https://www.debian.org/security/faq
- -------------------------------------------------------------------------

Package : sudo
CVE ID : CVE-2023-22809

Matthieu Barjole and Victor Cutillas discovered that sudoedit in sudo, a
program designed to provide limited super user privileges to specific
users, does not properly handle '--' to separate the editor and
arguments from files to edit. A local user permitted to edit certain
files can take advantage of this flaw to edit a file not permitted by
the security policy, resulting in privilege escalation.

Details can be found in the upstream advisory at
  https://www.sudo.ws/security/advisories/sudoedit_any/ .

For the stable distribution (bullseye), this problem has been fixed in
version 1.9.5p2-3+deb11u1.

We recommend that you upgrade your sudo packages.

For the detailed security status of sudo please refer to its security
tracker page at:
  https://security-tracker.debian.org/tracker/sudo

Further information about Debian Security Advisories, how to apply
these updates to your system and frequently asked questions can be
found at:   https://www.debian.org/security/