Advisory

UBUNTU-CVE-2024-29069

Also known as: CVE-2024-29069

Summary

The record has no summary.

Details

In snapd versions prior to 2.62, snapd failed to properly check the destination of symbolic links when extracting a snap. The snap format is a squashfs file-system image and so can contain symbolic links and other file types. Various file entries within the snap squashfs image (such as icons and desktop files etc) are directly read by snapd when it is extracted. An attacker who could convince a user to install a malicious snap which contained symbolic links at these paths could then cause snapd to write out the contents of the symbolic link destination into a world-readable directory. This in-turn could allow an unprivileged user to gain access to privileged information.

Severity

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

Dates

Published
2024-03-14 00:00 UTC
Modified
2026-02-04 04:23 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