---
title: "CVE-2024-1724"
canonical_url: "https://pkgseek.com/security/CVE-2024-1724"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2024-1724

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.

CVE-2024-1724 严重级别为 MEDIUM (6.3)，共索引 6 条受影响软件包构建记录，涉及 1 个发行版。

- **级别 / 评分**: MEDIUM (6.3)
- **受影响构建数**: 6
- **涉及发行版**: 1
- **已标明修复版本发行版**: Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | focal | golang-github-snapcore-snapd-dev | 2.44.3+20.04 | 2.63+20.04ubuntu0.1 |
| Ubuntu | focal | golang-github-ubuntu-core-snappy-dev | 2.44.3+20.04 | 2.63+20.04ubuntu0.1 |
| Ubuntu | focal | snapd | 2.44.3+20.04 | 2.63+20.04ubuntu0.1 |
| Ubuntu | focal | ubuntu-core-snapd-units | 2.44.3+20.04 | 2.63+20.04ubuntu0.1 |
| Ubuntu | jammy | snapd | 2.55.3+22.04 | 2.63+22.04ubuntu0.1 |
| Ubuntu | noble | snapd | 2.62+24.04build1 | 2.62+24.04build1 |
