Advisory

USN-6940-1

Also known as: CVE-2024-1724, CVE-2024-29068, CVE-2024-29069

Summary

snapd vulnerabilities

Details

Neil McPhail discovered that snapd did not properly restrict writes to the
$HOME/bin path in the AppArmor profile for snaps using the home plug. An
attacker who could convince a user to install a malicious snap could use this
vulnerability to escape the snap sandbox. (CVE-2024-1724)

Zeyad Gouda discovered that snapd failed to properly check the file type when
extracting a snap. An attacker who could convince a user to install a malicious
snap containing non-regular files could then cause snapd to block indefinitely
while trying to read from such files and cause a denial of
service. (CVE-2024-29068)

Zeyad Gouda discovered that snapd failed to properly check the destination of
symbolic links when extracting a snap. An attacker who could convince a user to
install a malicious snap containing crafted symbolic links could then cause
snapd to write out the contents of the symbolic link destination into a
world-readable directory. This in-turn could allow a local unprivileged user to
gain access to privileged information. (CVE-2024-29069)

Severity

Not rated by the source.

Dates

Published
2024-08-01 06:35 UTC
Modified
2026-02-10 04:44 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