Advisory

DEBIAN-CVE-2024-1724

Also known as: CVE-2024-1724

Summary

The record has no summary.

Details

In snapd versions prior to 2.62, when using AppArmor for enforcement of sandbox permissions, snapd failed to restrict writes to the $HOME/bin path. In Ubuntu, when this path exists, it is automatically added to the users PATH. An attacker who could convince a user to install a malicious snap which used the 'home' plug could use this vulnerability to install arbitrary scripts into the users PATH which may then be run by the user outside of the expected snap sandbox and hence allow them to escape confinement.

Severity

High Basis: CVSS v3 score 8.2, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Dates

Published
2024-07-25 19:15 UTC
Modified
2026-11-02 12:00 UTC

Affected packages and fixes

snapd

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

snapd

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 2.62-1 (ecosystem)

Fixed versions

2.62-1

Fix

  • Fixed version 2.62-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) · Debian 14

Affected

  • introduced 0, fixed 2.62-1 (ecosystem)

Fixed versions

2.62-1

Fix

  • Fixed version 2.62-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: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences