{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"critical"},"category":"csaf_vex","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":"SUSE CVE-2020-15229","title":"Title"},{"category":"description","text":"Singularity (an open source container platform) from version 3.1.1 through 3.6.3 has a vulnerability. Due to insecure handling of path traversal and the lack of path sanitization within `unsquashfs`, it is possible to overwrite/create any files on the host filesystem during the extraction with a crafted squashfs filesystem. The extraction occurs automatically for unprivileged (either installation or with `allow setuid = no`) run of Singularity when a user attempt to run an image which is a local SIF image or a single file containing a squashfs filesystem and is coming from remote sources `library://` or `shub://`. Image build is also impacted in a more serious way as it can be used by a root user, allowing an attacker to overwrite/create files leading to a system compromise, so far bootstrap methods `library`, `shub` and `localimage` are triggering the squashfs extraction. This issue is addressed in Singularity 3.6.4. All users are advised to upgrade to 3.6.4 especially if they use Singularity mainly for building image as root user. There is no solid workaround except to temporary avoid to use unprivileged mode with single file images in favor of sandbox images instead. Regarding image build, temporary avoid to build from `library` and `shub` sources and as much as possible use `--fakeroot` or a VM for that.","title":"Description of the CVE"},{"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":"CVE-2020-15229","url":"https://www.suse.com/security/cve/CVE-2020-15229"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1177901 for CVE-2020-15229","url":"https://bugzilla.suse.com/1177901"},{"category":"external","summary":"Advisory link for openSUSE-SU-2020:1769-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/VFW5R4J7EDFXFXU553USBOXIDLJTJNH5/"},{"category":"external","summary":"Advisory link for openSUSE-SU-2020:1770-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/WNVFYEARGBVAQBFQWF2QYIVBZW76G7CP/"},{"category":"external","summary":"Advisory link for openSUSE-SU-2020:1814-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/DY65G6E632UFVXYQXNZWRUZZG53N63DM/"}],"title":"SUSE CVE CVE-2020-15229","tracking":{"current_release_date":"2025-04-25T05:26:48Z","generator":{"date":"2023-02-15T03:56:55Z","engine":{"name":"cve-database.git:bin/generate-csaf-vex.pl","version":"1"}},"id":"CVE-2020-15229","initial_release_date":"2023-02-15T03:56:55Z","revision_history":[{"date":"2023-02-15T03:56:55Z","number":"2","summary":"Current version"},{"date":"2025-01-01T05:28:51Z","number":"3","summary":"Current version"},{"date":"2025-02-15T06:07:59Z","number":"4","summary":"Current version"},{"date":"2025-02-17T06:28:43Z","number":"5","summary":"Current version"},{"date":"2025-03-15T09:51:34Z","number":"6","summary":"Current version"},{"date":"2025-04-25T05:26:48Z","number":"7","summary":"Current version"}],"status":"interim","version":"7"}},"product_tree":{"branches":[{"branches":[{"branches":[{"category":"product_name","name":"SUSE Package Hub 15 SP2","product":{"name":"SUSE Package Hub 15 SP2","product_id":"SUSE Package Hub 15 SP2"}},{"category":"product_name","name":"openSUSE Leap 15.1","product":{"name":"openSUSE Leap 15.1","product_id":"openSUSE Leap 15.1","product_identification_helper":{"cpe":"cpe:/o:opensuse:leap:15.1"}}},{"category":"product_name","name":"openSUSE Leap 15.2","product":{"name":"openSUSE Leap 15.2","product_id":"openSUSE Leap 15.2","product_identification_helper":{"cpe":"cpe:/o:opensuse:leap:15.2"}}},{"category":"product_name","name":"openSUSE Tumbleweed","product":{"name":"openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed","product_identification_helper":{"cpe":"cpe:/o:opensuse:tumbleweed"}}},{"category":"product_version","name":"singularity-3.6.4-bp152.2.12.1","product":{"name":"singularity-3.6.4-bp152.2.12.1","product_id":"singularity-3.6.4-bp152.2.12.1","product_identification_helper":{"cpe":"cpe:2.3:a:sylabs:singularity:3.6.4:*:*:*:*:*:*:*","purl":"pkg:rpm/suse/singularity@3.6.4-bp152.2.12.1?upstream=singularity-3.6.4-bp152.2.12.1.src.rpm"}}},{"category":"product_version","name":"singularity-3.6.4-lp151.2.12.1","product":{"name":"singularity-3.6.4-lp151.2.12.1","product_id":"singularity-3.6.4-lp151.2.12.1","product_identification_helper":{"cpe":"cpe:2.3:a:sylabs:singularity:3.6.4:*:*:*:*:*:*:*","purl":"pkg:rpm/suse/singularity@3.6.4-lp151.2.12.1?upstream=singularity-3.6.4-lp151.2.12.1.src.rpm"}}},{"category":"product_version","name":"singularity-3.6.4-lp152.2.9.1","product":{"name":"singularity-3.6.4-lp152.2.9.1","product_id":"singularity-3.6.4-lp152.2.9.1","product_identification_helper":{"cpe":"cpe:2.3:a:sylabs:singularity:3.6.4:*:*:*:*:*:*:*","purl":"pkg:rpm/suse/singularity@3.6.4-lp152.2.9.1?upstream=singularity-3.6.4-lp152.2.9.1.src.rpm"}}},{"category":"product_version","name":"singularity-3.8.3-1.2","product":{"name":"singularity-3.8.3-1.2","product_id":"singularity-3.8.3-1.2","product_identification_helper":{"cpe":"cpe:2.3:a:sylabs:singularity:3.8.3:*:*:*:*:*:*:*","purl":"pkg:rpm/suse/singularity@3.8.3-1.2?upstream=singularity-3.8.3-1.2.src.rpm"}}}],"category":"product_family","name":"SUSE Linux Enterprise"}],"category":"vendor","name":"SUSE"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"singularity-3.6.4-bp152.2.12.1 as component of SUSE Package Hub 15 SP2","product_id":"SUSE Package Hub 15 SP2:singularity-3.6.4-bp152.2.12.1"},"product_reference":"singularity-3.6.4-bp152.2.12.1","relates_to_product_reference":"SUSE Package Hub 15 SP2"},{"category":"default_component_of","full_product_name":{"name":"singularity-3.6.4-lp151.2.12.1 as component of openSUSE Leap 15.1","product_id":"openSUSE Leap 15.1:singularity-3.6.4-lp151.2.12.1"},"product_reference":"singularity-3.6.4-lp151.2.12.1","relates_to_product_reference":"openSUSE Leap 15.1"},{"category":"default_component_of","full_product_name":{"name":"singularity-3.6.4-lp152.2.9.1 as component of openSUSE Leap 15.2","product_id":"openSUSE Leap 15.2:singularity-3.6.4-lp152.2.9.1"},"product_reference":"singularity-3.6.4-lp152.2.9.1","relates_to_product_reference":"openSUSE Leap 15.2"},{"category":"default_component_of","full_product_name":{"name":"singularity-3.8.3-1.2 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:singularity-3.8.3-1.2"},"product_reference":"singularity-3.8.3-1.2","relates_to_product_reference":"openSUSE Tumbleweed"}]},"vulnerabilities":[{"cve":"CVE-2020-15229","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2020-15229"}],"notes":[{"category":"general","text":"Singularity (an open source container platform) from version 3.1.1 through 3.6.3 has a vulnerability. Due to insecure handling of path traversal and the lack of path sanitization within `unsquashfs`, it is possible to overwrite/create any files on the host filesystem during the extraction with a crafted squashfs filesystem. The extraction occurs automatically for unprivileged (either installation or with `allow setuid = no`) run of Singularity when a user attempt to run an image which is a local SIF image or a single file containing a squashfs filesystem and is coming from remote sources `library://` or `shub://`. Image build is also impacted in a more serious way as it can be used by a root user, allowing an attacker to overwrite/create files leading to a system compromise, so far bootstrap methods `library`, `shub` and `localimage` are triggering the squashfs extraction. This issue is addressed in Singularity 3.6.4. All users are advised to upgrade to 3.6.4 especially if they use Singularity mainly for building image as root user. There is no solid workaround except to temporary avoid to use unprivileged mode with single file images in favor of sandbox images instead. Regarding image build, temporary avoid to build from `library` and `shub` sources and as much as possible use `--fakeroot` or a VM for that.","title":"CVE description"}],"product_status":{"recommended":["SUSE Package Hub 15 SP2:singularity-3.6.4-bp152.2.12.1","openSUSE Leap 15.1:singularity-3.6.4-lp151.2.12.1","openSUSE Leap 15.2:singularity-3.6.4-lp152.2.9.1","openSUSE Tumbleweed:singularity-3.8.3-1.2"]},"references":[{"category":"external","summary":"CVE-2020-15229","url":"https://www.suse.com/security/cve/CVE-2020-15229"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1177901 for CVE-2020-15229","url":"https://bugzilla.suse.com/1177901"},{"category":"external","summary":"Advisory link for openSUSE-SU-2020:1769-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/VFW5R4J7EDFXFXU553USBOXIDLJTJNH5/"},{"category":"external","summary":"Advisory link for openSUSE-SU-2020:1770-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/WNVFYEARGBVAQBFQWF2QYIVBZW76G7CP/"},{"category":"external","summary":"Advisory link for openSUSE-SU-2020:1814-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/DY65G6E632UFVXYQXNZWRUZZG53N63DM/"}],"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":["SUSE Package Hub 15 SP2:singularity-3.6.4-bp152.2.12.1","openSUSE Leap 15.1:singularity-3.6.4-lp151.2.12.1","openSUSE Leap 15.2:singularity-3.6.4-lp152.2.9.1","openSUSE Tumbleweed:singularity-3.8.3-1.2"]}],"scores":[{"cvss_v3":{"baseScore":9.3,"baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","version":"3.1"},"products":["SUSE Package Hub 15 SP2:singularity-3.6.4-bp152.2.12.1","openSUSE Leap 15.1:singularity-3.6.4-lp151.2.12.1","openSUSE Leap 15.2:singularity-3.6.4-lp152.2.9.1","openSUSE Tumbleweed:singularity-3.8.3-1.2"]}],"threats":[{"category":"impact","date":"2020-10-15T19:07:13Z","details":"critical"}],"title":"CVE-2020-15229"}]}