← Vulnerability feed

Vulnerability record · CVE-2020-15229 · published 14 October 2020

CVE-2020-15229: Sylabs singularity path traversal vulnerability

Sylabs · Singularity

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.

9.3 CVSS 3.1 Critical EPSS 2.0% · top 19.1% CWE-22 · Path traversal
9.3CVSS 3.1 base score, v2 5.8
2.0%EPSS exploitation probability, 30 days
NoNot in CISA KEV
3Affected product versions listed by NVD
14References
17 Jun 2026Last modified by NVD

Description

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Affected products

3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00070.html Broken LinkMailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00071.html Broken LinkMailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00009.html Broken LinkMailing ListThird Party Advisory
https://github.com/hpcng/singularity/blob/v3.6.4/CHANGELOG.md#security-related-fixes Release NotesThird Party Advisory
https://github.com/hpcng/singularity/commit/eba3dea260b117198fdb6faf41f2482ab2f8d53e PatchThird Party Advisory
https://github.com/hpcng/singularity/pull/5611 PatchThird Party Advisory
https://github.com/hpcng/singularity/security/advisories/GHSA-7gcp-w6ww-2xv9 Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00070.html Broken LinkMailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00071.html Broken LinkMailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00009.html Broken LinkMailing ListThird Party Advisory
https://github.com/hpcng/singularity/blob/v3.6.4/CHANGELOG.md#security-related-fixes Release NotesThird Party Advisory
https://github.com/hpcng/singularity/commit/eba3dea260b117198fdb6faf41f2482ab2f8d53e PatchThird Party Advisory
https://github.com/hpcng/singularity/pull/5611 PatchThird Party Advisory
https://github.com/hpcng/singularity/security/advisories/GHSA-7gcp-w6ww-2xv9 Third Party Advisory

Track CVE-2020-15229 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2020-16846SaltStack Salt API shell injection via crafted web requestsSaltStack Salt through 3002 is vulnerable to OS command injection when the SSH client is enabled and crafted web requests are sent to the Salt API. T…KEVEPSS 100%analysed9.8CVE-2020-12641Roundcube Webmail OS command injection via image conversion path settingsRoundcube Webmail before 1.4.4 passes the im_convert_path and im_identify_path configuration settings to a shell without sanitization in rcube_image.…KEVEPSS 84%analysed9.8CVE-2020-11651SaltStack Salt master authentication bypass in ClearFuncsSaltStack Salt before 2019.2.4 and 3000 before 3000.2 fails to properly validate method calls in the salt-master ClearFuncs class, allowing remote un…KEVEPSS 97%analysed9.8CVE-2020-1938Apache Tomcat AJP connector file read and JSP execution flawApache Tomcat shipped an AJP Connector enabled by default that listened on all configured IP addresses, and Tomcat treats AJP connections as more tru…KEVEPSS 99%analysed9.8CVE-2016-3427Oracle Java SE JMX Improper Access Control VulnerabilityCVE-2016-3427 is an unspecified vulnerability in Oracle Java SE 6u113, 7u99, 8u77, Java SE Embedded 8u77, and JRockit R28.3.9, reached through vector…KEVEPSS 92%analysed9.6CVE-2020-15999FreeType heap buffer overflow in Chrome via crafted HTML pageFreeType contains a heap buffer overflow reachable through a crafted HTML page in Google Chrome prior to 86.0.4240.111. The flaw is an out-of-bounds …KEVEPSS 64%analysed8.8CVE-2020-16009Google Chrome V8 type confusion leads to heap corruptionGoogle Chrome before 86.0.4240.183 contains an inappropriate implementation in the V8 JavaScript engine that allows heap corruption via a crafted HTM…KEVEPSS 48%analysed8.8CVE-2019-13720Google Chrome WebAudio use-after-free allows heap corruptionGoogle Chrome before 78.0.3904.87 contains a use-after-free in WebAudio that a remote attacker can trigger with a crafted HTML page, leading to heap …KEVEPSS 49%analysed

Source: NIST National Vulnerability Database (record CVE-2020-15229), CISA KEV, FIRST EPSS (scores of 2026-10-18). This page is refreshed as NVD updates the record.