{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"moderate"},"category":"csaf_security_advisory","csaf_version":"2.0","distribution":{"text":"Copyright 2024 SUSE LLC. All rights reserved.","tlp":{"label":"WHITE","url":"https://www.first.org/tlp/"}},"lang":"en","notes":[{"category":"summary","text":"runc-1.2.0~rc3-1.1 on GA media","title":"Title of the patch"},{"category":"description","text":"These are all security issues fixed in the runc-1.2.0~rc3-1.1 package on the GA media of openSUSE Tumbleweed.","title":"Description of the patch"},{"category":"details","text":"openSUSE-Tumbleweed-2024-14312","title":"Patchnames"},{"category":"legal_disclaimer","text":"CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).","title":"Terms of use"}],"publisher":{"category":"vendor","contact_details":"https://www.suse.com/support/security/contact/","name":"SUSE Product Security Team","namespace":"https://www.suse.com/"},"references":[{"category":"external","summary":"SUSE ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"self","summary":"URL of this CSAF notice","url":"https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_14312-1.json"},{"category":"self","summary":"SUSE CVE CVE-2024-45310 page","url":"https://www.suse.com/security/cve/CVE-2024-45310/"}],"title":"runc-1.2.0~rc3-1.1 on GA media","tracking":{"current_release_date":"2024-09-04T00:00:00Z","generator":{"date":"2024-09-04T00:00:00Z","engine":{"name":"cve-database.git:bin/generate-csaf.pl","version":"1"}},"id":"openSUSE-SU-2024:14312-1","initial_release_date":"2024-09-04T00:00:00Z","revision_history":[{"date":"2024-09-04T00:00:00Z","number":"1","summary":"Current version"}],"status":"final","version":"1"}},"product_tree":{"branches":[{"branches":[{"branches":[{"category":"product_version","name":"runc-1.2.0~rc3-1.1.aarch64","product":{"name":"runc-1.2.0~rc3-1.1.aarch64","product_id":"runc-1.2.0~rc3-1.1.aarch64"}}],"category":"architecture","name":"aarch64"},{"branches":[{"category":"product_version","name":"runc-1.2.0~rc3-1.1.ppc64le","product":{"name":"runc-1.2.0~rc3-1.1.ppc64le","product_id":"runc-1.2.0~rc3-1.1.ppc64le"}}],"category":"architecture","name":"ppc64le"},{"branches":[{"category":"product_version","name":"runc-1.2.0~rc3-1.1.s390x","product":{"name":"runc-1.2.0~rc3-1.1.s390x","product_id":"runc-1.2.0~rc3-1.1.s390x"}}],"category":"architecture","name":"s390x"},{"branches":[{"category":"product_version","name":"runc-1.2.0~rc3-1.1.x86_64","product":{"name":"runc-1.2.0~rc3-1.1.x86_64","product_id":"runc-1.2.0~rc3-1.1.x86_64"}}],"category":"architecture","name":"x86_64"},{"branches":[{"category":"product_name","name":"openSUSE Tumbleweed","product":{"name":"openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed","product_identification_helper":{"cpe":"cpe:/o:opensuse:tumbleweed"}}}],"category":"product_family","name":"SUSE Linux Enterprise"}],"category":"vendor","name":"SUSE"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"runc-1.2.0~rc3-1.1.aarch64 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:runc-1.2.0~rc3-1.1.aarch64"},"product_reference":"runc-1.2.0~rc3-1.1.aarch64","relates_to_product_reference":"openSUSE Tumbleweed"},{"category":"default_component_of","full_product_name":{"name":"runc-1.2.0~rc3-1.1.ppc64le as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:runc-1.2.0~rc3-1.1.ppc64le"},"product_reference":"runc-1.2.0~rc3-1.1.ppc64le","relates_to_product_reference":"openSUSE Tumbleweed"},{"category":"default_component_of","full_product_name":{"name":"runc-1.2.0~rc3-1.1.s390x as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:runc-1.2.0~rc3-1.1.s390x"},"product_reference":"runc-1.2.0~rc3-1.1.s390x","relates_to_product_reference":"openSUSE Tumbleweed"},{"category":"default_component_of","full_product_name":{"name":"runc-1.2.0~rc3-1.1.x86_64 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:runc-1.2.0~rc3-1.1.x86_64"},"product_reference":"runc-1.2.0~rc3-1.1.x86_64","relates_to_product_reference":"openSUSE Tumbleweed"}]},"vulnerabilities":[{"cve":"CVE-2024-45310","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2024-45310"}],"notes":[{"category":"general","text":"runc is a CLI tool for spawning and running containers according to the OCI specification. runc 1.1.13 and earlier, as well as 1.2.0-rc2 and earlier, can be tricked into creating empty files or directories in arbitrary locations in the host filesystem by sharing a volume between two containers and exploiting a race with `os.MkdirAll`. While this could be used to create empty files, existing files would not be truncated. An attacker must have the ability to start containers using some kind of custom volume configuration. Containers using user namespaces are still affected, but the scope of places an attacker can create inodes can be significantly reduced. Sufficiently strict LSM policies (SELinux/Apparmor) can also in principle block this attack -- we suspect the industry standard SELinux policy may restrict this attack's scope but the exact scope of protection hasn't been analysed. This is exploitable using runc directly as well as through Docker and Kubernetes. The issue is fixed in runc v1.1.14 and v1.2.0-rc3.\n\nSome workarounds are available. Using user namespaces restricts this attack fairly significantly such that the attacker can only create inodes in directories that the remapped root user/group has write access to. Unless the root user is remapped to an actual\nuser on the host (such as with rootless containers that don't use `/etc/sub[ug]id`), this in practice means that an attacker would only be able to create inodes in world-writable directories. A strict enough SELinux or AppArmor policy could in principle also restrict the scope if a specific label is applied to the runc runtime, though neither the extent to which the standard existing policies block this attack nor what exact policies are needed to sufficiently restrict this attack have been thoroughly tested.","title":"CVE description"}],"product_status":{"recommended":["openSUSE Tumbleweed:runc-1.2.0~rc3-1.1.aarch64","openSUSE Tumbleweed:runc-1.2.0~rc3-1.1.ppc64le","openSUSE Tumbleweed:runc-1.2.0~rc3-1.1.s390x","openSUSE Tumbleweed:runc-1.2.0~rc3-1.1.x86_64"]},"references":[{"category":"external","summary":"CVE-2024-45310","url":"https://www.suse.com/security/cve/CVE-2024-45310"},{"category":"external","summary":"SUSE Bug 1230092 for CVE-2024-45310","url":"https://bugzilla.suse.com/1230092"},{"category":"external","summary":"SUSE Bug 1257413 for CVE-2024-45310","url":"https://bugzilla.suse.com/1257413"}],"remediations":[{"category":"vendor_fix","details":"To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n","product_ids":["openSUSE Tumbleweed:runc-1.2.0~rc3-1.1.aarch64","openSUSE Tumbleweed:runc-1.2.0~rc3-1.1.ppc64le","openSUSE Tumbleweed:runc-1.2.0~rc3-1.1.s390x","openSUSE Tumbleweed:runc-1.2.0~rc3-1.1.x86_64"]}],"scores":[{"cvss_v3":{"baseScore":3.6,"baseSeverity":"LOW","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","version":"3.1"},"products":["openSUSE Tumbleweed:runc-1.2.0~rc3-1.1.aarch64","openSUSE Tumbleweed:runc-1.2.0~rc3-1.1.ppc64le","openSUSE Tumbleweed:runc-1.2.0~rc3-1.1.s390x","openSUSE Tumbleweed:runc-1.2.0~rc3-1.1.x86_64"]}],"threats":[{"category":"impact","date":"2024-09-04T00:00:00Z","details":"low"}],"title":"CVE-2024-45310"}]}