CVE-2024-29068
Snapd Denial of Service Vulnerability
Description
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.
INFO
Published Date :
July 25, 2024, 8:15 p.m.
Last Modified :
Aug. 26, 2024, 5 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.2
Exploitability Score :
1.3
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-29068
.
URL | Resource |
---|---|
https://github.com/snapcore/snapd/commit/b66fee81606a1c05f965a876ccbaf44174194063 | Patch |
https://github.com/snapcore/snapd/pull/13682 | Issue Tracking Patch |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-29068
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-29068
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Aug. 26, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H Changed Reference Type https://github.com/snapcore/snapd/commit/b66fee81606a1c05f965a876ccbaf44174194063 No Types Assigned https://github.com/snapcore/snapd/commit/b66fee81606a1c05f965a876ccbaf44174194063 Patch Changed Reference Type https://github.com/snapcore/snapd/pull/13682 No Types Assigned https://github.com/snapcore/snapd/pull/13682 Issue Tracking, Patch Added CWE NIST NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:a:canonical:snapd:*:*:*:*:*:*:*:* versions up to (excluding) 2.62 -
CVE Received by [email protected]
Jul. 25, 2024
Action Type Old Value New Value Added Description 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. Added Reference Canonical Ltd. https://github.com/snapcore/snapd/commit/b66fee81606a1c05f965a876ccbaf44174194063 [No types assigned] Added Reference Canonical Ltd. https://github.com/snapcore/snapd/pull/13682 [No types assigned] Added CWE Canonical Ltd. CWE-20 Added CVSS V3.1 Canonical Ltd. AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:H
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-29068
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-29068
weaknesses.