Upstream information

CVE-2021-23240 at MITRE

Description

selinux_edit_copy_tfiles in sudoedit in Sudo before 1.9.5 allows a local unprivileged user to gain file ownership and escalate privileges by replacing a temporary file with a symlink to an arbitrary file target. This affects SELinux RBAC support in permissive mode. Machines without SELinux are not vulnerable.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 4.4
Vector AV:L/AC:M/Au:N/C:P/I:P/A:P
Access Vector Local
Access Complexity Medium
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 7.8 7.8
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Access Vector Local Local
Access Complexity Low Low
Privileges Required Low Low
User Interaction None None
Scope Unchanged Unchanged
Confidentiality Impact High High
Integrity Impact High High
Availability Impact High High
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entries: 1171722 [RESOLVED / FIXED], 1180685 [NEW]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
HPE Helion Openstack 8
  • sudo >= 1.8.20p2-3.20.1
Patchnames:
HPE-Helion-OpenStack-8-2021-226
Image SLES15-EC2-CHOST-HVM-BYOS
Image SLES15-SP1-CHOST-BYOS-Azure
Image SLES15-SP1-CHOST-BYOS-EC2
Image SLES15-SP1-CHOST-BYOS-GCE
Image SLES15-SP2-CHOST-BYOS-Aliyun
Image SLES15-SP2-CHOST-BYOS-Azure
Image SLES15-SP2-CHOST-BYOS-EC2
Image SLES15-SP2-CHOST-BYOS-GCE
  • sudo >= 1.8.22-4.15.1
SUSE CaaS Platform 3.0
  • sudo >= 1.8.20p2-3.20.1
Patchnames:
SUSE-CAASP-3.0-2021-226
SUSE CaaS Platform 4.0
  • sudo >= 1.8.22-4.15.1
  • sudo-devel >= 1.8.22-4.15.1
Patchnames:
SUSE-SUSE-CAASP-4.0-2021-227
SUSE Enterprise Storage 5
  • sudo >= 1.8.20p2-3.20.1
Patchnames:
SUSE-Storage-5-2021-226
SUSE Enterprise Storage 6
  • sudo >= 1.8.22-4.15.1
  • sudo-devel >= 1.8.22-4.15.1
Patchnames:
SUSE-Storage-6-2021-227
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS
  • sudo >= 1.8.22-4.15.1
  • sudo-devel >= 1.8.22-4.15.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP1-ESPOS-2021-227
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS
  • sudo >= 1.8.22-4.15.1
  • sudo-devel >= 1.8.22-4.15.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP1-LTSS-2021-227
SUSE Linux Enterprise High Performance Computing 15-ESPOS
SUSE Linux Enterprise High Performance Computing 15-LTSS
  • sudo >= 1.8.22-4.15.1
  • sudo-devel >= 1.8.22-4.15.1
Patchnames:
SUSE-SLE-Product-HPC-15-2021-227
SUSE Linux Enterprise Module for Basesystem 15 SP1
  • sudo >= 1.8.22-4.15.1
  • sudo-devel >= 1.8.22-4.15.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP1-2021-227
SUSE Linux Enterprise Module for Basesystem 15 SP2
  • sudo >= 1.8.22-4.15.1
  • sudo-devel >= 1.8.22-4.15.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP2-2021-227
SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 SP2
  • sudo-test >= 1.8.22-4.15.1
Patchnames:
SUSE-SLE-Module-Development-Tools-OBS-15-SP2-2021-227
SUSE Linux Enterprise Server 12 SP3-BCL
  • sudo >= 1.8.20p2-3.20.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-BCL-2021-226
SUSE Linux Enterprise Server 12 SP3-ESPOS
  • sudo >= 1.8.20p2-3.20.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-ESPOS-2021-226
SUSE Linux Enterprise Server 12 SP3-LTSS
  • sudo >= 1.8.20p2-3.20.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-2021-226
SUSE Linux Enterprise Server 12 SP4-ESPOS
  • sudo >= 1.8.20p2-3.20.1
Patchnames:
SUSE-SLE-SERVER-12-SP4-ESPOS-2021-226
SUSE Linux Enterprise Server 12 SP4-LTSS
  • sudo >= 1.8.20p2-3.20.1
Patchnames:
SUSE-SLE-SERVER-12-SP4-LTSS-2021-226
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server for SAP Applications 12 SP5
  • sudo >= 1.8.27-4.6.1
Patchnames:
SUSE-SLE-SERVER-12-SP5-2021-225
SUSE Linux Enterprise Server 15 SP1-BCL
  • sudo >= 1.8.22-4.15.1
  • sudo-devel >= 1.8.22-4.15.1
Patchnames:
SUSE-SLE-Product-SLES-15-SP1-BCL-2021-227
SUSE Linux Enterprise Server 15 SP1-LTSS
  • sudo >= 1.8.22-4.15.1
  • sudo-devel >= 1.8.22-4.15.1
Patchnames:
SUSE-SLE-Product-SLES-15-SP1-LTSS-2021-227
SUSE Linux Enterprise Server 15-LTSS
  • sudo >= 1.8.22-4.15.1
  • sudo-devel >= 1.8.22-4.15.1
Patchnames:
SUSE-SLE-Product-SLES-15-2021-227
SUSE Linux Enterprise Server for SAP Applications 12 SP3
  • sudo >= 1.8.20p2-3.20.1
Patchnames:
SUSE-SLE-SAP-12-SP3-2021-226
SUSE Linux Enterprise Server for SAP Applications 12 SP4
  • sudo >= 1.8.20p2-3.20.1
Patchnames:
SUSE-SLE-SAP-12-SP4-2021-226
SUSE Linux Enterprise Server for SAP Applications 15 SP1
  • sudo >= 1.8.22-4.15.1
  • sudo-devel >= 1.8.22-4.15.1
Patchnames:
SUSE-SLE-Product-SLES_SAP-15-SP1-2021-227
SUSE Linux Enterprise Server for SAP Applications 15
  • sudo >= 1.8.22-4.15.1
  • sudo-devel >= 1.8.22-4.15.1
Patchnames:
SUSE-SLE-Product-SLES_SAP-15-2021-227
SUSE Linux Enterprise Software Development Kit 12 SP5
  • sudo-devel >= 1.8.27-4.6.1
Patchnames:
SUSE-SLE-SDK-12-SP5-2021-225
SUSE Manager Proxy 4.0
  • sudo >= 1.8.22-4.15.1
  • sudo-devel >= 1.8.22-4.15.1
Patchnames:
SUSE-SLE-Product-SUSE-Manager-Proxy-4.0-2021-227
SUSE Manager Retail Branch Server 4.0
  • sudo >= 1.8.22-4.15.1
  • sudo-devel >= 1.8.22-4.15.1
Patchnames:
SUSE-SLE-Product-SUSE-Manager-Retail-Branch-Server-4.0-2021-227
SUSE Manager Server 4.0
  • sudo >= 1.8.22-4.15.1
  • sudo-devel >= 1.8.22-4.15.1
Patchnames:
SUSE-SLE-Product-SUSE-Manager-Server-4.0-2021-227
SUSE OpenStack Cloud 8
  • sudo >= 1.8.20p2-3.20.1
Patchnames:
SUSE-OpenStack-Cloud-8-2021-226
SUSE OpenStack Cloud 9
  • sudo >= 1.8.20p2-3.20.1
Patchnames:
SUSE-OpenStack-Cloud-9-2021-226
SUSE OpenStack Cloud Crowbar 8
  • sudo >= 1.8.20p2-3.20.1
Patchnames:
SUSE-OpenStack-Cloud-Crowbar-8-2021-226
SUSE OpenStack Cloud Crowbar 9
  • sudo >= 1.8.20p2-3.20.1
Patchnames:
SUSE-OpenStack-Cloud-Crowbar-9-2021-226
openSUSE Leap 15.1
  • sudo >= 1.8.22-lp151.5.12.1
  • sudo-debuginfo >= 1.8.22-lp151.5.12.1
  • sudo-debugsource >= 1.8.22-lp151.5.12.1
  • sudo-devel >= 1.8.22-lp151.5.12.1
  • sudo-test >= 1.8.22-lp151.5.12.1
Patchnames:
openSUSE-2021-169
openSUSE Leap 15.2
  • 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
Patchnames:
openSUSE-2021-170


First public cloud image revisions this CVE is fixed in:


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
HPE Helion OpenStack 8 sudo Released
SUSE CaaS Platform 4.0 sudo Released
SUSE Enterprise Storage 5 sudo Released
SUSE Enterprise Storage 6 sudo Released
SUSE Linux Enterprise High Performance Computing 12 SP5 sudo Released
SUSE Linux Enterprise High Performance Computing 15 LTSS sudo Released
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS sudo Released
SUSE Linux Enterprise Module for Basesystem 15 SP1 sudo Released
SUSE Linux Enterprise Module for Basesystem 15 SP2 sudo Released
SUSE Linux Enterprise Point of Service 11 SP3 sudo Not affected
SUSE Linux Enterprise Point of Service Image Server 12 sudo Not affected
SUSE Linux Enterprise Server 11 SP4 LTSS sudo Not affected
SUSE Linux Enterprise Server 12 SP2 BCL sudo Not affected
SUSE Linux Enterprise Server 12 SP2 ESPOS sudo Not affected
SUSE Linux Enterprise Server 12 SP2 LTSS sudo Not affected
SUSE Linux Enterprise Server 12 SP3 BCL sudo Released
SUSE Linux Enterprise Server 12 SP3 ESPOS sudo Released
SUSE Linux Enterprise Server 12 SP3 LTSS sudo Released
SUSE Linux Enterprise Server 12 SP4 ESPOS sudo Released
SUSE Linux Enterprise Server 12 SP4 LTSS sudo Released
SUSE Linux Enterprise Server 12 SP5 sudo Released
SUSE Linux Enterprise Server 15 LTSS sudo Released
SUSE Linux Enterprise Server 15 SP1 Business Critical Linux sudo Released
SUSE Linux Enterprise Server 15 SP1 LTSS sudo Released
SUSE Linux Enterprise Server ESPOS 15 sudo Released
SUSE Linux Enterprise Server for SAP Applications 12 SP2 sudo Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP3 sudo Released
SUSE Linux Enterprise Server for SAP Applications 12 SP4 sudo Released
SUSE Linux Enterprise Server for SAP Applications 12 SP5 sudo Released
SUSE Linux Enterprise Server for SAP Applications 15 sudo Released
SUSE Linux Enterprise Server for SAP Applications 15 SP1 sudo Released
SUSE Linux Enterprise Software Development Kit 12 SP5 sudo Released
SUSE Manager Proxy 4.0 sudo Released
SUSE Manager Retail Branch Server 4.0 sudo Released
SUSE Manager Server 4.0 sudo Released
SUSE OpenStack Cloud 7 sudo Not affected
SUSE OpenStack Cloud 8 sudo Released
SUSE OpenStack Cloud 9 sudo Released
SUSE OpenStack Cloud Crowbar 8 sudo Released
SUSE OpenStack Cloud Crowbar 9 sudo Released