Upstream information

CVE-2021-3156 at MITRE

Description

Sudo before 1.9.5p2 contains an off-by-one error that can result in a heap-based buffer overflow, which allows privilege escalation to root via "sudoedit -s" and a command-line argument that ends with a single backslash character.

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 7.2
Vector AV:L/AC:L/Au:N/C:C/I:C/A:C
Access Vector Local
Access Complexity Low
Authentication None
Confidentiality Impact Complete
Integrity Impact Complete
Availability Impact Complete
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: 1180684 [NEW], 1181090 [REOPENED], 1181657 [NEW], 1183936 [NEW], 1184633 [NEW]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
HPE Helion Openstack 8
  • sudo >= 1.8.20p2-3.23.1
Patchnames:
HPE-Helion-OpenStack-8-2021-1273
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.18.1
  • sudo-devel >= 1.8.22-4.18.1
Patchnames:
SUSE-SUSE-CAASP-4.0-2021-1275
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.18.1
  • sudo-devel >= 1.8.22-4.18.1
Patchnames:
SUSE-Storage-6-2021-1275
SUSE-Storage-6-2021-227
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS
  • sudo >= 1.8.22-4.18.1
  • sudo-devel >= 1.8.22-4.18.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP1-ESPOS-2021-1275
SUSE-SLE-Product-HPC-15-SP1-ESPOS-2021-227
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS
  • sudo >= 1.8.22-4.18.1
  • sudo-devel >= 1.8.22-4.18.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP1-LTSS-2021-1275
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.18.1
  • sudo-devel >= 1.8.22-4.18.1
Patchnames:
SUSE-SLE-Product-HPC-15-2021-1275
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.18.1
  • sudo-devel >= 1.8.22-4.18.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP2-2021-1275
SUSE-SLE-Module-Basesystem-15-SP2-2021-227
SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 SP2
  • sudo >= 1.8.22-4.18.1
  • sudo-test >= 1.8.22-4.18.1
Patchnames:
SUSE-SLE-Module-Development-Tools-OBS-15-SP2-2021-1275
SUSE-SLE-Module-Development-Tools-OBS-15-SP2-2021-227
SUSE Linux Enterprise Point of Sale 12 SP2-CLIENT
  • sudo >= 1.8.10p3-10.32.1
Patchnames:
SUSE-SLE-POS-12-SP2-CLIENT-2021-232
SUSE-SLE-POS-12-SP2-CLIENT-2021-928
SUSE Linux Enterprise Server 12 SP2-BCL
SUSE Linux Enterprise Server for SAP Applications 12 SP2-BCL
  • sudo >= 1.8.10p3-10.35.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-BCL-2021-1267
SUSE-SLE-SERVER-12-SP2-BCL-2021-232
SUSE-SLE-SERVER-12-SP2-BCL-2021-928
SUSE Linux Enterprise Server 12 SP2-ESPOS
SUSE Linux Enterprise Server for SAP Applications 12 SP2-ESPOS
  • sudo >= 1.8.10p3-10.32.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-ESPOS-2021-232
SUSE-SLE-SERVER-12-SP2-ESPOS-2021-928
SUSE Linux Enterprise Server 12 SP2-LTSS-ERICSSON
SUSE Linux Enterprise Server for SAP Applications 12 SP2-LTSS-ERICSSON
  • sudo >= 1.8.10p3-10.35.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-LTSS-ERICSSON-2021-1267
SUSE Linux Enterprise Server 12 SP2-LTSS-SAP
SUSE Linux Enterprise Server for SAP Applications 12 SP2-LTSS-SAP
  • sudo >= 1.8.10p3-10.35.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-LTSS-SAP-2021-1267
SUSE Linux Enterprise Server 12 SP2-LTSS
SUSE Linux Enterprise Server for SAP Applications 12 SP2-LTSS
  • sudo >= 1.8.10p3-10.32.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-2021-232
SUSE-SLE-SERVER-12-SP2-2021-928
SUSE Linux Enterprise Server 12 SP3-BCL
SUSE Linux Enterprise Server for SAP Applications 12 SP3-BCL
  • sudo >= 1.8.20p2-3.23.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-BCL-2021-1273
SUSE-SLE-SERVER-12-SP3-BCL-2021-226
SUSE Linux Enterprise Server 12 SP3-ESPOS
SUSE Linux Enterprise Server for SAP Applications 12 SP3-ESPOS
  • sudo >= 1.8.20p2-3.23.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-ESPOS-2021-1273
SUSE-SLE-SERVER-12-SP3-ESPOS-2021-226
SUSE Linux Enterprise Server 12 SP3-LTSS
SUSE Linux Enterprise Server for SAP Applications 12 SP3-LTSS
  • sudo >= 1.8.20p2-3.23.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-2021-1273
SUSE-SLE-SERVER-12-SP3-2021-226
SUSE Linux Enterprise Server 12 SP4-ESPOS
SUSE Linux Enterprise Server for SAP Applications 12 SP4-ESPOS
  • sudo >= 1.8.20p2-3.23.1
Patchnames:
SUSE-SLE-SERVER-12-SP4-ESPOS-2021-1273
SUSE-SLE-SERVER-12-SP4-ESPOS-2021-226
SUSE Linux Enterprise Server 12 SP4-LTSS
SUSE Linux Enterprise Server for SAP Applications 12 SP4-LTSS
  • sudo >= 1.8.20p2-3.23.1
Patchnames:
SUSE-SLE-SERVER-12-SP4-LTSS-2021-1273
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.15.1
Patchnames:
SUSE-SLE-SERVER-12-SP5-2021-1274
SUSE-SLE-SERVER-12-SP5-2021-225
SUSE Linux Enterprise Server 15 SP1-BCL
  • sudo >= 1.8.22-4.18.1
  • sudo-devel >= 1.8.22-4.18.1
Patchnames:
SUSE-SLE-Product-SLES-15-SP1-BCL-2021-1275
SUSE-SLE-Product-SLES-15-SP1-BCL-2021-227
SUSE Linux Enterprise Server 15 SP1-LTSS
  • sudo >= 1.8.22-4.18.1
  • sudo-devel >= 1.8.22-4.18.1
Patchnames:
SUSE-SLE-Product-SLES-15-SP1-LTSS-2021-1275
SUSE-SLE-Product-SLES-15-SP1-LTSS-2021-227
SUSE Linux Enterprise Server 15-LTSS
  • sudo >= 1.8.22-4.18.1
  • sudo-devel >= 1.8.22-4.18.1
Patchnames:
SUSE-SLE-Product-SLES-15-2021-1275
SUSE-SLE-Product-SLES-15-2021-227
SUSE Linux Enterprise Server for SAP Applications 12 SP2
  • sudo >= 1.8.10p3-10.32.1
Patchnames:
SUSE-SLE-SAP-12-SP2-2021-232
SUSE-SLE-SAP-12-SP2-2021-928
SUSE Linux Enterprise Server for SAP Applications 12 SP3
  • sudo >= 1.8.20p2-3.23.1
Patchnames:
SUSE-SLE-SAP-12-SP3-2021-1273
SUSE-SLE-SAP-12-SP3-2021-226
SUSE Linux Enterprise Server for SAP Applications 12 SP4
  • sudo >= 1.8.20p2-3.23.1
Patchnames:
SUSE-SLE-SAP-12-SP4-2021-1273
SUSE-SLE-SAP-12-SP4-2021-226
SUSE Linux Enterprise Server for SAP Applications 15 SP1
  • sudo >= 1.8.22-4.18.1
  • sudo-devel >= 1.8.22-4.18.1
Patchnames:
SUSE-SLE-Product-SLES_SAP-15-SP1-2021-1275
SUSE-SLE-Product-SLES_SAP-15-SP1-2021-227
SUSE Linux Enterprise Server for SAP Applications 15
  • sudo >= 1.8.22-4.18.1
  • sudo-devel >= 1.8.22-4.18.1
Patchnames:
SUSE-SLE-Product-SLES_SAP-15-2021-1275
SUSE-SLE-Product-SLES_SAP-15-2021-227
SUSE Linux Enterprise Software Development Kit 12 SP5
  • sudo >= 1.8.27-4.15.1
  • sudo-devel >= 1.8.27-4.15.1
Patchnames:
SUSE-SLE-SDK-12-SP5-2021-1274
SUSE-SLE-SDK-12-SP5-2021-225
SUSE Manager Proxy 4.0
  • sudo >= 1.8.22-4.18.1
  • sudo-devel >= 1.8.22-4.18.1
Patchnames:
SUSE-SLE-Product-SUSE-Manager-Proxy-4.0-2021-1275
SUSE-SLE-Product-SUSE-Manager-Proxy-4.0-2021-227
SUSE Manager Retail Branch Server 4.0
  • sudo >= 1.8.22-4.18.1
  • sudo-devel >= 1.8.22-4.18.1
Patchnames:
SUSE-SLE-Product-SUSE-Manager-Retail-Branch-Server-4.0-2021-1275
SUSE-SLE-Product-SUSE-Manager-Retail-Branch-Server-4.0-2021-227
SUSE Manager Server 4.0
  • sudo >= 1.8.22-4.18.1
  • sudo-devel >= 1.8.22-4.18.1
Patchnames:
SUSE-SLE-Product-SUSE-Manager-Server-4.0-2021-1275
SUSE-SLE-Product-SUSE-Manager-Server-4.0-2021-227
SUSE MicroOS 5.0
  • sudo >= 1.8.22-4.18.1
Patchnames:
SUSE-SUSE-MicroOS-5.0-2021-1275
SUSE OpenStack Cloud 7
  • sudo >= 1.8.10p3-10.32.1
Patchnames:
SUSE-OpenStack-Cloud-7-2021-232
SUSE-OpenStack-Cloud-7-2021-928
SUSE OpenStack Cloud 8
  • sudo >= 1.8.20p2-3.23.1
Patchnames:
SUSE-OpenStack-Cloud-8-2021-1273
SUSE-OpenStack-Cloud-8-2021-226
SUSE OpenStack Cloud 9
  • sudo >= 1.8.20p2-3.23.1
Patchnames:
SUSE-OpenStack-Cloud-9-2021-1273
SUSE-OpenStack-Cloud-9-2021-226
SUSE OpenStack Cloud Crowbar 8
  • sudo >= 1.8.20p2-3.23.1
Patchnames:
SUSE-OpenStack-Cloud-Crowbar-8-2021-1273
SUSE-OpenStack-Cloud-Crowbar-8-2021-226
SUSE OpenStack Cloud Crowbar 9
  • sudo >= 1.8.20p2-3.23.1
Patchnames:
SUSE-OpenStack-Cloud-Crowbar-9-2021-1273
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 Released
SUSE Linux Enterprise Server 11 SP4 LTSS sudo Not affected
SUSE Linux Enterprise Server 12 SP2 BCL sudo Released
SUSE Linux Enterprise Server 12 SP2 ESPOS sudo Released
SUSE Linux Enterprise Server 12 SP2 LTSS sudo Released
SUSE Linux Enterprise Server 12 SP2 LTSS ERICSSON sudo Released
SUSE Linux Enterprise Server 12 SP2 LTSS SAP sudo Released
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 Released
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 Released
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