openSUSE Security Update: Security update for sudo
______________________________________________________________________________

Announcement ID:    openSUSE-SU-2021:0170-1
Rating:             important
References:         #1180684 #1180685 #1180687 #1181090 
Cross-References:   CVE-2021-23239 CVE-2021-23240 CVE-2021-3156
                   
Affected Products:
                    openSUSE Leap 15.2
______________________________________________________________________________

   An update that solves three vulnerabilities and has one
   errata is now available.

Description:

   This update for sudo fixes the following issues:

   - A Heap-based buffer overflow in sudo could be exploited to allow a user
     to gain root privileges [bsc#1181090,CVE-2021-3156]
   - It was possible for a user to test for the existence of a directory due
     to a Race Condition in `sudoedit` [bsc#1180684,CVE-2021-23239]
   - A Possible Symlink Attack vector existed in `sudoedit` if SELinux was
     running in permissive mode [bsc#1180685, CVE-2021-23240]
   - It was possible for a User to enable Debug Settings not Intended for
     them [bsc#1180687]

   This update was imported from the SUSE:SLE-15:Update update project.


Patch Instructions:

   To install this openSUSE Security Update use the SUSE recommended installation methods
   like YaST online_update or "zypper patch".

   Alternatively you can run the command listed for your product:

   - openSUSE Leap 15.2:

      zypper in -t patch openSUSE-2021-170=1



Package List:

   - openSUSE Leap 15.2 (i586 x86_64):

      sudo-1.8.22-lp152.8.6.1
      sudo-debuginfo-1.8.22-lp152.8.6.1
      sudo-debugsource-1.8.22-lp152.8.6.1
      sudo-devel-1.8.22-lp152.8.6.1
      sudo-test-1.8.22-lp152.8.6.1


References:

   https://www.suse.com/security/cve/CVE-2021-23239.html
   https://www.suse.com/security/cve/CVE-2021-23240.html
   https://www.suse.com/security/cve/CVE-2021-3156.html
   https://bugzilla.suse.com/1180684
   https://bugzilla.suse.com/1180685
   https://bugzilla.suse.com/1180687
   https://bugzilla.suse.com/1181090