Security update for sudo

Announcement ID: SUSE-SU-2023:1665-1
Rating: moderate
References:
Cross-References:
CVSS scores:
  • CVE-2023-27320 ( SUSE ): 5.5 CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:N/A:H
  • CVE-2023-27320 ( NVD ): 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • CVE-2023-28486 ( SUSE ): 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
  • CVE-2023-28486 ( NVD ): 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • CVE-2023-28487 ( SUSE ): 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
  • CVE-2023-28487 ( NVD ): 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Affected Products:
  • Basesystem Module 15-SP4
  • openSUSE Leap 15.4
  • openSUSE Leap Micro 5.3
  • SUSE Linux Enterprise Desktop 15 SP4
  • SUSE Linux Enterprise High Performance Computing 15 SP4
  • SUSE Linux Enterprise Micro 5.3
  • SUSE Linux Enterprise Micro 5.4
  • SUSE Linux Enterprise Micro for Rancher 5.3
  • SUSE Linux Enterprise Micro for Rancher 5.4
  • SUSE Linux Enterprise Real Time 15 SP4
  • SUSE Linux Enterprise Server 15 SP4
  • SUSE Linux Enterprise Server for SAP Applications 15 SP4
  • SUSE Manager Proxy 4.3
  • SUSE Manager Retail Branch Server 4.3
  • SUSE Manager Server 4.3

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

Description:

This update for sudo fixes the following issue:

Security issues:

  • CVE-2023-28486: Fixed sudo does not escape control characters in log messages. (bsc#1209362)
  • CVE-2023-28487: Fixed sudo does not escape control characters in sudoreplay output. (bsc#1209361)
  • CVE-2023-27320: Fixed a potential security issue with a double free with per-command chroot sudoers rules (bsc#1208595).

Bug fixes:

  • Fix a situation where "sudo -U otheruser -l" would dereference a NULL pointer (bsc#1206483)
  • If NOPASSWD is specified, don't ask for password if command is not found (bsc#1206772).
  • Do not re-enable the reader when flushing the buffers as part of pty_finish() (bsc#1203201).

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:

  • openSUSE Leap Micro 5.3
    zypper in -t patch openSUSE-Leap-Micro-5.3-2023-1665=1
  • openSUSE Leap 15.4
    zypper in -t patch openSUSE-SLE-15.4-2023-1665=1
  • SUSE Linux Enterprise Micro for Rancher 5.3
    zypper in -t patch SUSE-SLE-Micro-5.3-2023-1665=1
  • SUSE Linux Enterprise Micro 5.3
    zypper in -t patch SUSE-SLE-Micro-5.3-2023-1665=1
  • SUSE Linux Enterprise Micro for Rancher 5.4
    zypper in -t patch SUSE-SLE-Micro-5.4-2023-1665=1
  • SUSE Linux Enterprise Micro 5.4
    zypper in -t patch SUSE-SLE-Micro-5.4-2023-1665=1
  • Basesystem Module 15-SP4
    zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP4-2023-1665=1

Package List:

  • openSUSE Leap Micro 5.3 (aarch64 x86_64)
    • sudo-debuginfo-1.9.9-150400.4.26.1
    • sudo-1.9.9-150400.4.26.1
    • sudo-debugsource-1.9.9-150400.4.26.1
  • openSUSE Leap 15.4 (aarch64 ppc64le s390x x86_64)
    • sudo-1.9.9-150400.4.26.1
    • sudo-plugin-python-1.9.9-150400.4.26.1
    • sudo-plugin-python-debuginfo-1.9.9-150400.4.26.1
    • sudo-test-1.9.9-150400.4.26.1
    • sudo-debuginfo-1.9.9-150400.4.26.1
    • sudo-debugsource-1.9.9-150400.4.26.1
    • sudo-devel-1.9.9-150400.4.26.1
  • SUSE Linux Enterprise Micro for Rancher 5.3 (aarch64 s390x x86_64)
    • sudo-debuginfo-1.9.9-150400.4.26.1
    • sudo-1.9.9-150400.4.26.1
    • sudo-debugsource-1.9.9-150400.4.26.1
  • SUSE Linux Enterprise Micro 5.3 (aarch64 s390x x86_64)
    • sudo-debuginfo-1.9.9-150400.4.26.1
    • sudo-1.9.9-150400.4.26.1
    • sudo-debugsource-1.9.9-150400.4.26.1
  • SUSE Linux Enterprise Micro for Rancher 5.4 (aarch64 s390x x86_64)
    • sudo-debuginfo-1.9.9-150400.4.26.1
    • sudo-1.9.9-150400.4.26.1
    • sudo-debugsource-1.9.9-150400.4.26.1
  • SUSE Linux Enterprise Micro 5.4 (aarch64 s390x x86_64)
    • sudo-debuginfo-1.9.9-150400.4.26.1
    • sudo-1.9.9-150400.4.26.1
    • sudo-debugsource-1.9.9-150400.4.26.1
  • Basesystem Module 15-SP4 (aarch64 ppc64le s390x x86_64)
    • sudo-1.9.9-150400.4.26.1
    • sudo-plugin-python-1.9.9-150400.4.26.1
    • sudo-plugin-python-debuginfo-1.9.9-150400.4.26.1
    • sudo-debuginfo-1.9.9-150400.4.26.1
    • sudo-debugsource-1.9.9-150400.4.26.1
    • sudo-devel-1.9.9-150400.4.26.1

References: