Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2020-15229— Path traversal and files overwrite with unsquashfs

Quick assessment

Affected
hpcng singularity
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Singularity是Singularity 团队(Singularity)的一个开源的容器管理平台。该软件支持在其桌面上构建应用程序,并在任何公共云上或在计算边缘运行数百或数千个实例。 Singularity 3.1.1版本至3.6.3版本存在安全漏洞,该漏洞源于对路径遍历的处理不安全,并且在unsquashfs中缺少路径清理。攻击者可利用该漏洞squashfs文件系统覆盖/创建主机文件系统上的任何文件。

CVSS 8.2 · High EPSS 2.05% · P81
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2020-15229

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Path traversal and files overwrite with unsquashfs
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Singularity 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Singularity是Singularity 团队(Singularity)的一个开源的容器管理平台。该软件支持在其桌面上构建应用程序,并在任何公共云上或在计算边缘运行数百或数千个实例。 Singularity 3.1.1版本至3.6.3版本存在安全漏洞,该漏洞源于对路径遍历的处理不安全,并且在unsquashfs中缺少路径清理。攻击者可利用该漏洞squashfs文件系统覆盖/创建主机文件系统上的任何文件。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
hpcng singularity < 3.6.4 -

II. Public POCs for CVE-2020-15229

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2020-15229

请登录查看更多情报信息。

Patches & Fixes for CVE-2020-15229 (2)

Vendor Advisories for CVE-2020-15229 (1)

Mailing List Discussions for CVE-2020-15229 (3)

Other References for CVE-2020-15229 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2020-15229

No comments yet


Leave a comment