Advisory

UBUNTU-CVE-2024-29068

Also known as: CVE-2024-29068

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5.8, vector CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:H

Dates

Published
2024-03-14 00:00 UTC
Modified
2026-02-04 02:37 UTC

Affected packages and fixes

snapd

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2.63+20.04ubuntu0.1 (ecosystem)

Fixed versions

2.63+20.04ubuntu0.1

Fix

  • Fixed version 2.63+20.04ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

snapd

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.63+22.04ubuntu0.1 (ecosystem)

Fixed versions

2.63+22.04ubuntu0.1

Fix

  • Fixed version 2.63+22.04ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

snapd

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 2.63+24.04ubuntu0.1 (ecosystem)

Fixed versions

2.63+24.04ubuntu0.1

Fix

  • Fixed version 2.63+24.04ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences