p PatchFirst

PatchFirst · Vulnérabilités récentes

Vulnérabilités de snapd

Vulnérabilités publiées pour snapd au cours des 30 derniers jours : 0. Présentes dans le catalogue KEV : 0.

Filtrer les vulnérabilités
Effacer les filtres

Vulnérabilités : 21

  1. CVE-2026-15226

    Élevée · CVSS 8.4EPSS 0,18%Aucun correctif publié

    snapd snap-confine Sandbox Confinement Bypass via Omission of setuid Restriction in Seccomp Templates

    A sandbox confinement bypass vulnerability exists in Canonical snapd within its internal execution environment compiler (snap-confine). The default seccomp security templates generated by the engine to restrict system calls do not filter or reject process operations capable of creating or manipulating file execution flags with set-user-ID attributes. Consequently, an application running within a strictly confined snap environment can successfully compile or drop binaries and apply setuid properties to them. If a compromised or malicious process inside the snap sandbox executes these generated setuid binaries, it can potentially circumvent ar

    Publication Mise à jour
  2. CVE-2024-5300

    Moyenne · CVSS 5.6EPSS 0,13%Aucun correctif publié

    AppArmor Base Profile Misconfiguration in snapd Permits Confined Snaps Unauthorized Access to Hashed Passwords via systemd-userdbd

    An access control bypass and information disclosure vulnerability exists in the base AppArmor security profile configuration of Canonical snapd. The abstraction rules located in /etc/apparmor.d/abstractions/nss-systemd (inherited via ) inadvertently permit strictly confined snap applications, which lack the privileged account-control interface, to interact directly with the io.systemd.Multiplexer and io.systemd.NameServiceSwitch UNIX domain sockets under /run/systemd/userdb/. On systems where the systemd-userdbd service is installed and operational, the service fails to distinguish between an unconfined root user on the host system and a rest

    Publication Mise à jour
  3. CVE-2026-3888

    Élevée · CVSS 7.8EPSS 1,38%Code d’exploitation publicCorrectif disponible

    Local Privilege Escalation in snapd

    Local privilege escalation in snapd on Linux allows local attackers to get root privilege by re-creating snap's private /tmp directory when systemd-tmpfiles is configured to automatically clean up this directory. This issue affects Ubuntu 16.04 LTS, 18.04 LTS, 20.04 LTS, 22.04 LTS, and 24.04 LTS.

    • Mettez à jour vers 2.57.6-1+deb12u1
    Publication Mise à jour
  4. CVE-2024-29069

    Moyenne · CVSS 4.8EPSS 0,23%Aucun correctif publié

    snapd will follow archived symlinks when unpacking a filesystem

    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 ac

    Publication Mise à jour
  5. CVE-2024-29068

    Moyenne · CVSS 5.8EPSS 0,21%Aucun correctif publié

    snapd non-regular file indefinite blocking read

    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.

    Publication Mise à jour
  6. CVE-2024-1724

    Moyenne · CVSS 6.3EPSS 0,31%Aucun correctif publié

    snapd allows $HOME/bin symlink

    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.

    Publication Mise à jour
  7. CVE-2020-27352

    Critique · CVSS 9.3EPSS 0,26%Correctif disponible

    CVE-2020-27352

    When generating the systemd service units for the docker snap (and other similar snaps), snapd does not specify Delegate=yes - as a result systemd will move processes from the containers created and managed by these snaps into the cgroup of the main daemon within the snap itself when reloading system units. This may grant additional privileges to a container within the snap that were not originally intended.

    • Mettez à jour vers 2.49-1
    Publication Mise à jour
  8. CVE-2024-5138

    Élevée · CVSS 8.1EPSS 0,83%Aucun correctif publié

    CVE-2024-5138

    The snapctl component within snapd allows a confined snap to interact with the snapd daemon to take certain privileged actions on behalf of the snap. It was found that snapctl did not properly parse command-line arguments, allowing an unprivileged user to trigger an authorised action on behalf of the snap that would normally require administrator privileges to perform. This could possibly allow an unprivileged user to perform a denial of service or similar.

    Publication Mise à jour
  9. CVE-2023-1523

    Critique · CVSS 10EPSS 1,45%Aucun correctif publié

    CVE-2023-1523

    Using the TIOCLINUX ioctl request, a malicious snap could inject contents into the input of the controlling terminal which could allow it to cause arbitrary commands to be executed outside of the snap sandbox after the snap exits. Graphical terminal emulators like xterm, gnome-terminal and others are not affected - this can only be exploited when snaps are run on a virtual console.

    Publication Mise à jour
  10. CVE-2021-4120

    Élevée · CVSS 8.2EPSS 0,44%Correctif disponible

    snapd could be made to bypass intended access restrictions through snap content interfaces and layout paths

    snapd 2.54.2 fails to perform sufficient validation of snap content interface and layout paths, resulting in the ability for snaps to inject arbitrary AppArmor policy rules via malformed content interface and layout declarations and hence escape strict snap confinement. Fixed in snapd versions 2.54.3+18.04, 2.54.3+20.04 and 2.54.3+21.10.1

    • Mettez à jour vers 2.54.3-1
    Publication Mise à jour
  11. CVE-2021-44730

    Élevée · CVSS 7.8EPSS 0,35%Correctif disponible

    snapd could be made to escalate privileges and run programs as administrator

    snapd 2.54.2 did not properly validate the location of the snap-confine binary. A local attacker who can hardlink this binary to another location to cause snap-confine to execute other arbitrary binaries and hence gain privilege escalation. Fixed in snapd versions 2.54.3+18.04, 2.54.3+20.04 and 2.54.3+21.10.1

    • Mettez à jour vers 2.54.3-1
    Publication Mise à jour
  12. CVE-2021-3155

    Faible · CVSS 3.8EPSS 0,26%Correctif disponible

    snapd created ~/snap with too-wide permissions

    snapd 2.54.2 and earlier created ~/snap directories in user home directories without specifying owner-only permissions. This could allow a local attacker to read information that should have been private. Fixed in snapd versions 2.54.3+18.04, 2.54.3+20.04 and 2.54.3+21.10.1

    • Mettez à jour vers 2.54-1
    Publication Mise à jour
  13. CVE-2021-44731

    Élevée · CVSS 7.8EPSS 0,95%Correctif disponible

    snapd could be made to escalate privileges and run programs as administrator

    A race condition existed in the snapd 2.54.2 snap-confine binary when preparing a private mount namespace for a snap. This could allow a local attacker to gain root privileges by bind-mounting their own contents inside the snap's private mount namespace and causing snap-confine to execute arbitrary code and hence gain privilege escalation. Fixed in snapd versions 2.54.3+18.04, 2.54.3+20.04 and 2.54.3+21.10.1

    • Mettez à jour vers 2.54.3-1
    Publication Mise à jour
  14. CVE-2020-11934

    Moyenne · CVSS 5.9EPSS 0,36%Correctif disponible

    Sandbox escape vulnerability via snapctl user-open (xdg-open)

    It was discovered that snapctl user-open allowed altering the $XDG_DATA_DIRS environment variable when calling the system xdg-open. OpenURL() in usersession/userd/launcher.go would alter $XDG_DATA_DIRS to append a path to a directory controlled by the calling snap. A malicious snap could exploit this to bypass intended access restrictions to control how the host system xdg-open script opens the URL and, for example, execute a script shipped with the snap without confinement. This issue did not affect Ubuntu Core systems. Fixed in snapd versions 2.45.1ubuntu0.2, 2.45.1+18.04.2 and 2.45.1+20.04.2.

    • Mettez à jour vers 2.45.2-1
    Publication Mise à jour
  15. CVE-2019-7304

    Élevée · CVSS 8.8EPSS 60,81%Code d’exploitation publicCorrectif disponible

    Local privilege escalation via snapd socket

    Canonical snapd before version 2.37.1 incorrectly performed socket owner validation, allowing an attacker to run arbitrary commands as root. This issue affects: Canonical snapd versions prior to 2.37.1.

    • Mettez à jour vers 2.37.1-1
    Publication Mise à jour
  16. CVE-2019-7303

    Moyenne · CVSS 5.7EPSS 3,7%Code d’exploitation publicCorrectif disponible

    Snapd seccomp filter TIOCSTI ioctl bypass

    A vulnerability in the seccomp filters of Canonical snapd before version 2.37.4 allows a strict mode snap to insert characters into a terminal on a 64-bit host. The seccomp rules were generated to match 64-bit ioctl(2) commands on a 64-bit platform; however, the Linux kernel only uses the lower 32 bits to determine which ioctl(2) commands to run. This issue affects: Canonical snapd versions prior to 2.37.4.

    • Mettez à jour vers 2.37.4-1
    Publication Mise à jour

Vérifiez votre serveur

Comparez votre pile et les versions installées aux bases de vulnérabilités actuelles.

Vérifiez votre serveur →