Advisory

UBUNTU-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

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

Dates

Published
2024-07-01 00:00 UTC
Modified
2026-02-04 03:40 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