Security update for sudo

SUSE Security Update: Security update for sudo
Announcement ID: SUSE-SU-2021:0226-1
Rating: important
References: #1180684 #1180685 #1180687 #1181090
Cross-References:CVE-2021-23239 CVE-2021-23240 CVE-2021-3156
Affected Products:
  • SUSE OpenStack Cloud Crowbar 9
  • SUSE OpenStack Cloud Crowbar 8
  • SUSE OpenStack Cloud 9
  • SUSE OpenStack Cloud 8
  • SUSE Linux Enterprise Server for SAP 12-SP4
  • SUSE Linux Enterprise Server for SAP 12-SP3
  • SUSE Linux Enterprise Server 12-SP4-LTSS
  • SUSE Linux Enterprise Server 12-SP3-LTSS
  • SUSE Linux Enterprise Server 12-SP3-BCL
  • SUSE Enterprise Storage 5
  • HPE Helion Openstack 8

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]

Patch Instructions:

To install this SUSE 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:

  • SUSE OpenStack Cloud Crowbar 9:
    zypper in -t patch SUSE-OpenStack-Cloud-Crowbar-9-2021-226=1
  • SUSE OpenStack Cloud Crowbar 8:
    zypper in -t patch SUSE-OpenStack-Cloud-Crowbar-8-2021-226=1
  • SUSE OpenStack Cloud 9:
    zypper in -t patch SUSE-OpenStack-Cloud-9-2021-226=1
  • SUSE OpenStack Cloud 8:
    zypper in -t patch SUSE-OpenStack-Cloud-8-2021-226=1
  • SUSE Linux Enterprise Server for SAP 12-SP4:
    zypper in -t patch SUSE-SLE-SAP-12-SP4-2021-226=1
  • SUSE Linux Enterprise Server for SAP 12-SP3:
    zypper in -t patch SUSE-SLE-SAP-12-SP3-2021-226=1
  • SUSE Linux Enterprise Server 12-SP4-LTSS:
    zypper in -t patch SUSE-SLE-SERVER-12-SP4-LTSS-2021-226=1
  • SUSE Linux Enterprise Server 12-SP3-LTSS:
    zypper in -t patch SUSE-SLE-SERVER-12-SP3-2021-226=1
  • SUSE Linux Enterprise Server 12-SP3-BCL:
    zypper in -t patch SUSE-SLE-SERVER-12-SP3-BCL-2021-226=1
  • SUSE Enterprise Storage 5:
    zypper in -t patch SUSE-Storage-5-2021-226=1
  • HPE Helion Openstack 8:
    zypper in -t patch HPE-Helion-OpenStack-8-2021-226=1

Package List:

  • SUSE OpenStack Cloud Crowbar 9 (x86_64):
    • sudo-1.8.20p2-3.20.1
    • sudo-debuginfo-1.8.20p2-3.20.1
    • sudo-debugsource-1.8.20p2-3.20.1
  • SUSE OpenStack Cloud Crowbar 8 (x86_64):
    • sudo-1.8.20p2-3.20.1
    • sudo-debuginfo-1.8.20p2-3.20.1
    • sudo-debugsource-1.8.20p2-3.20.1
  • SUSE OpenStack Cloud 9 (x86_64):
    • sudo-1.8.20p2-3.20.1
    • sudo-debuginfo-1.8.20p2-3.20.1
    • sudo-debugsource-1.8.20p2-3.20.1
  • SUSE OpenStack Cloud 8 (x86_64):
    • sudo-1.8.20p2-3.20.1
    • sudo-debuginfo-1.8.20p2-3.20.1
    • sudo-debugsource-1.8.20p2-3.20.1
  • SUSE Linux Enterprise Server for SAP 12-SP4 (ppc64le x86_64):
    • sudo-1.8.20p2-3.20.1
    • sudo-debuginfo-1.8.20p2-3.20.1
    • sudo-debugsource-1.8.20p2-3.20.1
  • SUSE Linux Enterprise Server for SAP 12-SP3 (ppc64le x86_64):
    • sudo-1.8.20p2-3.20.1
    • sudo-debuginfo-1.8.20p2-3.20.1
    • sudo-debugsource-1.8.20p2-3.20.1
  • SUSE Linux Enterprise Server 12-SP4-LTSS (aarch64 ppc64le s390x x86_64):
    • sudo-1.8.20p2-3.20.1
    • sudo-debuginfo-1.8.20p2-3.20.1
    • sudo-debugsource-1.8.20p2-3.20.1
  • SUSE Linux Enterprise Server 12-SP3-LTSS (aarch64 ppc64le s390x x86_64):
    • sudo-1.8.20p2-3.20.1
    • sudo-debuginfo-1.8.20p2-3.20.1
    • sudo-debugsource-1.8.20p2-3.20.1
  • SUSE Linux Enterprise Server 12-SP3-BCL (x86_64):
    • sudo-1.8.20p2-3.20.1
    • sudo-debuginfo-1.8.20p2-3.20.1
    • sudo-debugsource-1.8.20p2-3.20.1
  • SUSE Enterprise Storage 5 (aarch64 x86_64):
    • sudo-1.8.20p2-3.20.1
    • sudo-debuginfo-1.8.20p2-3.20.1
    • sudo-debugsource-1.8.20p2-3.20.1
  • HPE Helion Openstack 8 (x86_64):
    • sudo-1.8.20p2-3.20.1
    • sudo-debuginfo-1.8.20p2-3.20.1
    • sudo-debugsource-1.8.20p2-3.20.1

References: