Security update for sudo

Announcement ID: SUSE-SU-2021:0227-1
Rating: important
References:
Cross-References:
CVSS scores:
  • CVE-2021-23239 ( SUSE ): 2.5 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
  • CVE-2021-23239 ( NVD ): 2.5 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
  • CVE-2021-23240 ( SUSE ): 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • CVE-2021-23240 ( NVD ): 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • CVE-2021-3156 ( SUSE ): 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • CVE-2021-3156 ( NVD ): 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Products:
  • Basesystem Module 15-SP2
  • Basesystem Module 15-SP1
  • SUSE CaaS Platform 4.0
  • SUSE Enterprise Storage 6
  • SUSE Linux Enterprise Desktop 15 SP1
  • SUSE Linux Enterprise Desktop 15 SP2
  • SUSE Linux Enterprise High Performance Computing 15
  • SUSE Linux Enterprise High Performance Computing 15 LTSS 15
  • SUSE Linux Enterprise High Performance Computing 15 SP1
  • SUSE Linux Enterprise High Performance Computing 15 SP1 ESPOS 15-SP1
  • SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS 15-SP1
  • SUSE Linux Enterprise High Performance Computing 15 SP2
  • SUSE Linux Enterprise Real Time 15 SP1
  • SUSE Linux Enterprise Real Time 15 SP2
  • SUSE Linux Enterprise Server 15
  • SUSE Linux Enterprise Server 15 LTSS 15
  • SUSE Linux Enterprise Server 15 SP1
  • SUSE Linux Enterprise Server 15 SP1 Business Critical Linux 15-SP1
  • SUSE Linux Enterprise Server 15 SP1 LTSS 15-SP1
  • SUSE Linux Enterprise Server 15 SP2
  • SUSE Linux Enterprise Server 15 SP2 Business Critical Linux 15-SP2
  • SUSE Linux Enterprise Server ESPOS 15
  • SUSE Linux Enterprise Server for SAP Applications 15
  • SUSE Linux Enterprise Server for SAP Applications 15 SP1
  • SUSE Linux Enterprise Server for SAP Applications 15 SP2
  • SUSE Manager Proxy 4.0
  • SUSE Manager Proxy 4.1
  • SUSE Manager Retail Branch Server 4.0
  • SUSE Manager Retail Branch Server 4.1
  • SUSE Manager Server 4.0
  • SUSE Manager Server 4.1

An update that solves three vulnerabilities and has one security fix can now be installed.

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 update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • Basesystem Module 15-SP1
    zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP1-2021-227=1
  • Basesystem Module 15-SP2
    zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP2-2021-227=1
  • SUSE Linux Enterprise Server ESPOS 15
    zypper in -t patch SUSE-SLE-Product-HPC-15-2021-227=1
  • SUSE Linux Enterprise High Performance Computing 15 LTSS 15
    zypper in -t patch SUSE-SLE-Product-HPC-15-2021-227=1
  • SUSE Linux Enterprise High Performance Computing 15 SP1 ESPOS 15-SP1
    zypper in -t patch SUSE-SLE-Product-HPC-15-SP1-ESPOS-2021-227=1
  • SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS 15-SP1
    zypper in -t patch SUSE-SLE-Product-HPC-15-SP1-LTSS-2021-227=1
  • SUSE Linux Enterprise Server 15 LTSS 15
    zypper in -t patch SUSE-SLE-Product-SLES-15-2021-227=1
  • SUSE Linux Enterprise Server 15 SP1 Business Critical Linux 15-SP1
    zypper in -t patch SUSE-SLE-Product-SLES-15-SP1-BCL-2021-227=1
  • SUSE Linux Enterprise Server 15 SP1 LTSS 15-SP1
    zypper in -t patch SUSE-SLE-Product-SLES-15-SP1-LTSS-2021-227=1
  • SUSE Linux Enterprise Server for SAP Applications 15
    zypper in -t patch SUSE-SLE-Product-SLES_SAP-15-2021-227=1
  • SUSE Linux Enterprise Server for SAP Applications 15 SP1
    zypper in -t patch SUSE-SLE-Product-SLES_SAP-15-SP1-2021-227=1
  • SUSE Manager Proxy 4.0
    zypper in -t patch SUSE-SLE-Product-SUSE-Manager-Proxy-4.0-2021-227=1
  • SUSE Manager Retail Branch Server 4.0
    zypper in -t patch SUSE-SLE-Product-SUSE-Manager-Retail-Branch-Server-4.0-2021-227=1
  • SUSE Manager Server 4.0
    zypper in -t patch SUSE-SLE-Product-SUSE-Manager-Server-4.0-2021-227=1
  • SUSE Enterprise Storage 6
    zypper in -t patch SUSE-Storage-6-2021-227=1
  • SUSE CaaS Platform 4.0
    To install this update, use the SUSE CaaS Platform 'skuba' tool. It will inform you if it detects new updates and let you then trigger updating of the complete cluster in a controlled way.

Package List:

  • Basesystem Module 15-SP1 (aarch64 ppc64le s390x x86_64)
    • sudo-1.8.22-4.15.1
    • sudo-debuginfo-1.8.22-4.15.1
    • sudo-devel-1.8.22-4.15.1
    • sudo-debugsource-1.8.22-4.15.1
  • Basesystem Module 15-SP2 (aarch64 ppc64le s390x x86_64)
    • sudo-1.8.22-4.15.1
    • sudo-debuginfo-1.8.22-4.15.1
    • sudo-devel-1.8.22-4.15.1
    • sudo-debugsource-1.8.22-4.15.1
  • SUSE Linux Enterprise Server ESPOS 15 (aarch64 x86_64)
    • sudo-1.8.22-4.15.1
    • sudo-debuginfo-1.8.22-4.15.1
    • sudo-devel-1.8.22-4.15.1
    • sudo-debugsource-1.8.22-4.15.1
  • SUSE Linux Enterprise High Performance Computing 15 LTSS 15 (aarch64 x86_64)
    • sudo-1.8.22-4.15.1
    • sudo-debuginfo-1.8.22-4.15.1
    • sudo-devel-1.8.22-4.15.1
    • sudo-debugsource-1.8.22-4.15.1
  • SUSE Linux Enterprise High Performance Computing 15 SP1 ESPOS 15-SP1 (aarch64 x86_64)
    • sudo-1.8.22-4.15.1
    • sudo-debuginfo-1.8.22-4.15.1
    • sudo-devel-1.8.22-4.15.1
    • sudo-debugsource-1.8.22-4.15.1
  • SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS 15-SP1 (aarch64 x86_64)
    • sudo-1.8.22-4.15.1
    • sudo-debuginfo-1.8.22-4.15.1
    • sudo-devel-1.8.22-4.15.1
    • sudo-debugsource-1.8.22-4.15.1
  • SUSE Linux Enterprise Server 15 LTSS 15 (aarch64 ppc64le s390x x86_64)
    • sudo-1.8.22-4.15.1
    • sudo-debuginfo-1.8.22-4.15.1
    • sudo-devel-1.8.22-4.15.1
    • sudo-debugsource-1.8.22-4.15.1
  • SUSE Linux Enterprise Server 15 SP1 Business Critical Linux 15-SP1 (x86_64)
    • sudo-1.8.22-4.15.1
    • sudo-debuginfo-1.8.22-4.15.1
    • sudo-devel-1.8.22-4.15.1
    • sudo-debugsource-1.8.22-4.15.1
  • SUSE Linux Enterprise Server 15 SP1 LTSS 15-SP1 (aarch64 ppc64le s390x x86_64)
    • sudo-1.8.22-4.15.1
    • sudo-debuginfo-1.8.22-4.15.1
    • sudo-devel-1.8.22-4.15.1
    • sudo-debugsource-1.8.22-4.15.1
  • SUSE Linux Enterprise Server for SAP Applications 15 (ppc64le x86_64)
    • sudo-1.8.22-4.15.1
    • sudo-debuginfo-1.8.22-4.15.1
    • sudo-devel-1.8.22-4.15.1
    • sudo-debugsource-1.8.22-4.15.1
  • SUSE Linux Enterprise Server for SAP Applications 15 SP1 (ppc64le x86_64)
    • sudo-1.8.22-4.15.1
    • sudo-debuginfo-1.8.22-4.15.1
    • sudo-devel-1.8.22-4.15.1
    • sudo-debugsource-1.8.22-4.15.1
  • SUSE Manager Proxy 4.0 (x86_64)
    • sudo-1.8.22-4.15.1
    • sudo-debuginfo-1.8.22-4.15.1
    • sudo-devel-1.8.22-4.15.1
    • sudo-debugsource-1.8.22-4.15.1
  • SUSE Manager Retail Branch Server 4.0 (x86_64)
    • sudo-1.8.22-4.15.1
    • sudo-debuginfo-1.8.22-4.15.1
    • sudo-devel-1.8.22-4.15.1
    • sudo-debugsource-1.8.22-4.15.1
  • SUSE Manager Server 4.0 (ppc64le s390x x86_64)
    • sudo-1.8.22-4.15.1
    • sudo-debuginfo-1.8.22-4.15.1
    • sudo-devel-1.8.22-4.15.1
    • sudo-debugsource-1.8.22-4.15.1
  • SUSE Enterprise Storage 6 (aarch64 x86_64)
    • sudo-1.8.22-4.15.1
    • sudo-debuginfo-1.8.22-4.15.1
    • sudo-devel-1.8.22-4.15.1
    • sudo-debugsource-1.8.22-4.15.1
  • SUSE CaaS Platform 4.0 (x86_64)
    • sudo-1.8.22-4.15.1
    • sudo-debuginfo-1.8.22-4.15.1
    • sudo-devel-1.8.22-4.15.1
    • sudo-debugsource-1.8.22-4.15.1

References: