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

# CVE-2024-29068

In snapd versions prior to 2.62, snapd failed to properly check the file type when extracting a snap. The snap format is a squashfs file-system image and so can contain files that are non-regular files (such as pipes or sockets etc). Various file entries within the snap squashfs image (such as icons etc) are directly read by snapd when it is extracted. An attacker who could convince a user to install a malicious snap which contained non-regular files at these paths could then cause snapd to block indefinitely trying to read from such files and cause a denial of service.

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

- **级别 / 评分**: MEDIUM (5.8)
- **受影响构建数**: 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 |
