Security features bypass in Snapd - CVE-2024-1724

 

Security features bypass in Snapd - CVE-2024-1724

Published: August 1, 2024


Vulnerability identifier: #VU95152
CSH Severity: Medium
CVSS v4: 7.4 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-1724
CWE-ID: CWE-254
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists die to snapd failes to restrict writes to the $HOME/bin path when using AppArmor for enforcement of sandbox permissions. A remote attacker can trick the victim to install a malicious snap and install arbitrary scripts into the users PATH which.


Affected software

Snapd
Ubuntu
snapd (Ubuntu package)

How to mitigate CVE-2024-1724

Install updates from vendor's website.

Snapd - update to 2.62
snapd (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2.63+20.04ubuntu0.1, 2.63+22.04ubuntu0.1, 2.63+24.04ubuntu0.1

External References

Related Security Bulletins