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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2024-1724— snapd allows $HOME/bin symlink

Quick assessment

Affected
Canonical snap
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.

snapd是snapcore开源的一个跨平台的包管理工具。使系统能够使用.snap文件。 snapd 2.62之前版本存在安全漏洞,该漏洞源于当使用 AppArmor 强制执行沙盒权限时,无法限制对 $HOME/bin 路径的写入。

CVSS 6.3 · Medium EPSS 0.31% · P23
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-1724

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
snapd allows $HOME/bin symlink
Source: CVE Program / CVE List V5
Vulnerability Description
In snapd versions prior to 2.62, when using AppArmor for enforcement of sandbox permissions, snapd failed to restrict writes to the $HOME/bin path. In Ubuntu, when this path exists, it is automatically added to the users PATH. An attacker who could convince a user to install a malicious snap which used the 'home' plug could use this vulnerability to install arbitrary scripts into the users PATH which may then be run by the user outside of the expected snap sandbox and hence allow them to escape confinement.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
关键资源的不正确权限授予
Source: CVE Program / CVE List V5
Vulnerability Title
snapd 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
snapd是snapcore开源的一个跨平台的包管理工具。使系统能够使用.snap文件。 snapd 2.62之前版本存在安全漏洞,该漏洞源于当使用 AppArmor 强制执行沙盒权限时,无法限制对 $HOME/bin 路径的写入。
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
Canonical snap 0 ~ 2.62 -

II. Public POCs for CVE-2024-1724

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-1724

登录查看更多情报信息。

Patches & Fixes for CVE-2024-1724 (2)

Security Blog Posts for CVE-2024-1724 (1)

Same Patch Batch · Canonical · 2024-07-25 · 3 CVEs total

CVE-2024-29068 5.8 MEDIUM snapd non-regular file indefinite blocking read
CVE-2024-29069 4.8 MEDIUM snapd will follow archived symlinks when unpacking a filesystem

IV. Related Vulnerabilities

V. Comments for CVE-2024-1724

No comments yet


Leave a comment