Upstream information

CVE-2021-43784 at MITRE

Description

runc is a CLI tool for spawning and running containers on Linux according to the OCI specification. In runc, netlink is used internally as a serialization system for specifying the relevant container configuration to the `C` portion of the code (responsible for the based namespace setup of containers). In all versions of runc prior to 1.0.3, the encoder did not handle the possibility of an integer overflow in the 16-bit length field for the byte array attribute type, meaning that a large enough malicious byte array attribute could result in the length overflowing and the attribute contents being parsed as netlink messages for container configuration. This vulnerability requires the attacker to have some control over the configuration of the container and would allow the attacker to bypass the namespace restrictions of the container by simply adding their own netlink payload which disables all namespaces. The main users impacted are those who allow untrusted images with untrusted configurations to run on their machines (such as with shared cloud infrastructure). runc version 1.0.3 contains a fix for this bug. As a workaround, one may try disallowing untrusted namespace paths from your container. It should be noted that untrusted namespace paths would allow the attacker to disable namespace protections entirely even in the absence of this bug.

SUSE information

Overall state of this security issue: Running

This issue is currently rated as having moderate severity.

CVSS v3 Scores
  National Vulnerability Database
Base Score 6
Vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L
Access Vector Network
Access Complexity High
Privileges Required Low
User Interaction None
Scope Changed
Confidentiality Impact Low
Integrity Impact Low
Availability Impact Low
CVSSv3 Version 3.1
SUSE Bugzilla entry: 1193436 [NEW]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Image SLES12-SP5-Azure-Basic-On-Demand
Image SLES12-SP5-Azure-Standard-On-Demand
Image SLES12-SP5-EC2-ECS-On-Demand
Image SLES12-SP5-EC2-On-Demand
Image SLES12-SP5-GCE-On-Demand
  • runc >= 1.0.3-16.18.1
Image SLES15-Azure-BYOS
Image SLES15-EC2-CHOST-HVM-BYOS
Image SLES15-EC2-HVM-BYOS
Image SLES15-GCE-BYOS
Image SLES15-SAP-Azure
Image SLES15-SAP-Azure-BYOS
Image SLES15-SAP-EC2-HVM
Image SLES15-SAP-EC2-HVM-BYOS
Image SLES15-SAP-GCE
Image SLES15-SAP-GCE-BYOS
Image SLES15-SP1-Azure-BYOS
Image SLES15-SP1-Azure-HPC-BYOS
Image SLES15-SP1-CHOST-BYOS-Azure
Image SLES15-SP1-CHOST-BYOS-EC2
Image SLES15-SP1-CHOST-BYOS-GCE
Image SLES15-SP1-EC2-HPC-HVM-BYOS
Image SLES15-SP1-EC2-HVM-BYOS
Image SLES15-SP1-GCE-BYOS
Image SLES15-SP1-SAP-Azure
Image SLES15-SP1-SAP-Azure-BYOS
Image SLES15-SP1-SAP-EC2-HVM
Image SLES15-SP1-SAP-EC2-HVM-BYOS
Image SLES15-SP1-SAP-GCE
Image SLES15-SP1-SAP-GCE-BYOS
Image SLES15-SP1-SAPCAL-Azure
Image SLES15-SP1-SAPCAL-EC2-HVM
Image SLES15-SP1-SAPCAL-GCE
Image SLES15-SP2-BYOS-Azure
Image SLES15-SP2-BYOS-EC2-HVM
Image SLES15-SP2-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
Image SLES15-SP2-HPC-BYOS-Azure
Image SLES15-SP2-HPC-BYOS-EC2-HVM
Image SLES15-SP2-Manager-4-1-Proxy-BYOS-Azure
Image SLES15-SP2-Manager-4-1-Proxy-BYOS-EC2-HVM
Image SLES15-SP2-Manager-4-1-Proxy-BYOS-GCE
Image SLES15-SP2-Manager-4-1-Server-BYOS-Azure
Image SLES15-SP2-Manager-4-1-Server-BYOS-EC2-HVM
Image SLES15-SP2-Manager-4-1-Server-BYOS-GCE
Image SLES15-SP2-SAP-Azure
Image SLES15-SP2-SAP-BYOS-Azure
Image SLES15-SP2-SAP-BYOS-EC2-HVM
Image SLES15-SP2-SAP-BYOS-GCE
Image SLES15-SP2-SAP-EC2-HVM
Image SLES15-SP2-SAP-GCE
Image SLES15-SP3-Azure-Basic
Image SLES15-SP3-Azure-Standard
Image SLES15-SP3-BYOS-Azure
Image SLES15-SP3-BYOS-EC2-HVM
Image SLES15-SP3-BYOS-GCE
Image SLES15-SP3-CHOST-BYOS-Aliyun
Image SLES15-SP3-CHOST-BYOS-Azure
Image SLES15-SP3-CHOST-BYOS-EC2
Image SLES15-SP3-CHOST-BYOS-GCE
Image SLES15-SP3-EC2-ECS-HVM
Image SLES15-SP3-EC2-HVM
Image SLES15-SP3-GCE
Image SLES15-SP3-HPC-Azure
Image SLES15-SP3-HPC-BYOS-Azure
Image SLES15-SP3-HPC-BYOS-EC2-HVM
Image SLES15-SP3-HPC-BYOS-GCE
Image SLES15-SP3-Manager-4-2-Proxy-BYOS-Azure
Image SLES15-SP3-Manager-4-2-Proxy-BYOS-EC2-HVM
Image SLES15-SP3-Manager-4-2-Proxy-BYOS-GCE
Image SLES15-SP3-Manager-4-2-Server-BYOS-Azure
Image SLES15-SP3-Manager-4-2-Server-BYOS-EC2-HVM
Image SLES15-SP3-Manager-4-2-Server-BYOS-GCE
Image SLES15-SP3-Micro-5-1-BYOS-Azure
Image SLES15-SP3-Micro-5-1-BYOS-EC2-HVM
Image SLES15-SP3-Micro-5-1-BYOS-GCE
Image SLES15-SP3-Micro-5-2-BYOS-Azure
Image SLES15-SP3-Micro-5-2-BYOS-EC2-HVM
Image SLES15-SP3-Micro-5-2-BYOS-GCE
Image SLES15-SP3-Micro-BYOS-GCE
Image SLES15-SP3-SAP-Azure
Image SLES15-SP3-SAP-BYOS-Azure
Image SLES15-SP3-SAP-BYOS-EC2-HVM
Image SLES15-SP3-SAP-BYOS-GCE
Image SLES15-SP3-SAP-EC2-HVM
Image SLES15-SP3-SAP-GCE
Image SLES15-SP3-SAPCAL-Azure
Image SLES15-SP3-SAPCAL-EC2-HVM
Image SLES15-SP3-SAPCAL-GCE
  • runc >= 1.0.3-27.1
SUSE Enterprise Storage 7
  • runc >= 1.0.3-27.1
Patchnames:
SUSE-Storage-7-2021-4171
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Module for Containers 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server 12 SP3
SUSE Linux Enterprise Server 12 SP4
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server for SAP Applications 12 SP3
SUSE Linux Enterprise Server for SAP Applications 12 SP4
SUSE Linux Enterprise Server for SAP Applications 12 SP5
  • runc >= 1.0.3-16.18.1
Patchnames:
SUSE-SLE-Module-Containers-12-2021-4059
SUSE Linux Enterprise High Performance Computing 15 SP2
SUSE Linux Enterprise Module for Containers 15 SP2
SUSE Linux Enterprise Server 15 SP2
SUSE Linux Enterprise Server for SAP Applications 15 SP2
SUSE Linux Enterprise Storage 7
SUSE Manager Proxy 4.1
SUSE Manager Retail Branch Server 4.1
SUSE Manager Server 4.1
  • runc >= 1.0.3-27.1
Patchnames:
SUSE-SLE-Module-Containers-15-SP2-2021-4171
SUSE Linux Enterprise High Performance Computing 15 SP3
SUSE Linux Enterprise Module for Containers 15 SP3
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server for SAP Applications 15 SP3
SUSE Linux Enterprise Storage 7.1
SUSE Manager Proxy 4.2
SUSE Manager Retail Branch Server 4.2
SUSE Manager Server 4.2
  • runc >= 1.0.3-27.1
Patchnames:
SUSE-SLE-Module-Containers-15-SP3-2021-4171
SUSE Linux Enterprise Micro 5.0
  • runc >= 1.0.3-27.1
Patchnames:
SUSE-SUSE-MicroOS-5.0-2021-4171
SUSE Linux Enterprise Micro 5.1
  • runc >= 1.0.3-27.1
Patchnames:
SUSE-SUSE-MicroOS-5.1-2021-4171
openSUSE Leap 15.2
  • runc >= 1.0.3-lp152.2.12.1
Patchnames:
openSUSE-2021-1625
openSUSE Leap 15.3
  • runc >= 1.0.3-27.1
Patchnames:
openSUSE-SLE-15.3-2021-4171
openSUSE Tumbleweed
  • runc >= 1.0.3-1.1
Patchnames:
openSUSE Tumbleweed GA runc-1.0.3-1.1


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
SLES15-EC2-CHOST-HVM-BYOS runc In progress
SLES15-SP1-CHOST-BYOS-Azure runc In progress
SLES15-SP1-CHOST-BYOS-EC2 runc In progress
SLES15-SP1-CHOST-BYOS-GCE runc In progress
SLES15-SP2-CHOST-BYOS-Aliyun runc In progress
SLES15-SP2-CHOST-BYOS-Azure runc In progress
SLES15-SP2-CHOST-BYOS-EC2 runc In progress
SLES15-SP2-CHOST-BYOS-GCE runc In progress
SLES15-SP2-CHOST-BYOS-OpenStack runc In progress
SLES15-SP3-CHOST-BYOS-Aliyun runc In progress
SLES15-SP3-CHOST-BYOS-Azure runc In progress
SLES15-SP3-CHOST-BYOS-EC2 runc In progress
SLES15-SP3-CHOST-BYOS-GCE runc In progress
SUSE CaaS Platform 4.0 runc In progress
SUSE CaaS Platform 4.5 runc In progress
SUSE Enterprise Storage 6 runc In progress
SUSE Enterprise Storage 7 runc In progress
SUSE Enterprise Storage 7.1 runc In progress
SUSE Linux Enterprise High Performance Computing 12 runc In progress
SUSE Linux Enterprise High Performance Computing 15 LTSS runc In progress
SUSE Linux Enterprise High Performance Computing 15 SP1 ESPOS runc In progress
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS runc In progress
SUSE Linux Enterprise High Performance Computing 15 SP2 runc In progress
SUSE Linux Enterprise High Performance Computing 15 SP2 ESPOS runc In progress
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS runc In progress
SUSE Linux Enterprise High Performance Computing 15 SP3 runc In progress
SUSE Linux Enterprise High Performance Computing 15 SP4 runc In progress
SUSE Linux Enterprise Micro 5.0 runc In progress
SUSE Linux Enterprise Micro 5.1 runc In progress
SUSE Linux Enterprise Micro 5.2 runc In progress
SUSE Linux Enterprise Module for Containers 12 runc In progress
SUSE Linux Enterprise Module for Containers 15 SP2 runc In progress
SUSE Linux Enterprise Module for Containers 15 SP3 runc In progress
SUSE Linux Enterprise Module for Containers 15 SP4 runc In progress
SUSE Linux Enterprise Server 12 runc In progress
SUSE Linux Enterprise Server 12 SP3 runc In progress
SUSE Linux Enterprise Server 12 SP4 runc In progress
SUSE Linux Enterprise Server 12 SP5 runc In progress
SUSE Linux Enterprise Server 15 LTSS runc In progress
SUSE Linux Enterprise Server 15 SP1 LTSS runc In progress
SUSE Linux Enterprise Server 15 SP2 runc In progress
SUSE Linux Enterprise Server 15 SP2 LTSS runc In progress
SUSE Linux Enterprise Server 15 SP3 runc In progress
SUSE Linux Enterprise Server 15 SP4 runc In progress
SUSE Linux Enterprise Server Business Critical Linux 15 SP1 runc In progress
SUSE Linux Enterprise Server Business Critical Linux 15 SP2 runc In progress
SUSE Linux Enterprise Server for SAP Applications 12 runc In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP3 runc In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP4 runc In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP5 runc In progress
SUSE Linux Enterprise Server for SAP Applications 15 runc In progress
SUSE Linux Enterprise Server for SAP Applications 15 SP1 runc In progress
SUSE Linux Enterprise Server for SAP Applications 15 SP2 runc In progress
SUSE Linux Enterprise Server for SAP Applications 15 SP3 runc In progress
SUSE Linux Enterprise Server for SAP Applications 15 SP4 runc In progress
SUSE Linux Enterprise Storage 7 runc In progress
SUSE Linux Enterprise Storage 7.1 runc In progress
SUSE Manager Proxy 4.1 runc In progress
SUSE Manager Proxy 4.2 runc In progress
SUSE Manager Proxy 4.3 runc In progress
SUSE Manager Retail Branch Server 4.1 runc In progress
SUSE Manager Retail Branch Server 4.2 runc In progress
SUSE Manager Retail Branch Server 4.3 runc In progress
SUSE Manager Server 4.1 runc In progress
SUSE Manager Server 4.2 runc In progress
SUSE Manager Server 4.3 runc In progress