p PatchFirst

PatchFirst · Latest vulnerabilities

snapd vulnerabilities · Page 2

Vulnerabilities published for snapd in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 34

  1. CVE-2024-29069

    Medium · CVSS 4.8EPSS 0.23%Fix available

    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

    • Update to 2.61.4ubuntu0.16.04.1+esm1
    Published Updated
  2. CVE-2024-29068

    Medium · CVSS 5.8EPSS 0.21%Fix available

    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.

    • Update to 2.61.4ubuntu0.16.04.1+esm1
    Published Updated
  3. CVE-2024-1724

    Medium · CVSS 6.3EPSS 0.31%Fix available

    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.

    • Update to 2.61.4ubuntu0.16.04.1+esm1
    Published Updated
  4. CVE-2024-5138

    High · CVSS 8.1EPSS 0.83%No fix published

    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.

    Published Updated
  5. CVE-2023-1523

    Critical · CVSS 10EPSS 1.45%Fix available

    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.

    • Update to 2.54.3+16.04.0ubuntu0.1~esm6
    Published Updated
  6. USN-5292-4

    Not ratedFix available

    snapd regression

    USN-5292-1 fixed a vulnerability in snapd. Unfortunately that update introduced a regression that could break the fish shell. This update fixes the problem. We apologize for the inconvenience. Original advisory details: James Troup discovered that snap did not properly manage the permissions for the snap directories. A local attacker could possibly use this issue to expose sensitive information. (CVE-2021-3155) Ian Johnson discovered that snapd did not properly validate content interfaces and layout paths. A local attacker could possibly use this issue to inject arbitrary AppArmor policy rules, resulting in a bypass of intended acc

    • Update to 2.54.3+16.04.0ubuntu0.1~esm4
    Published Updated
  7. CVE-2021-4120

    High · CVSS 8.2EPSS 0.44%Fix available

    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

    • Update to 2.54.3+16.04~esm2
    Published Updated
  8. CVE-2021-44730

    High · CVSS 7.8EPSS 0.35%Fix available

    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

    • Update to 2.54.3+16.04~esm2
    Published Updated
  9. CVE-2021-3155

    Low · CVSS 3.8EPSS 0.26%Fix available

    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

    • Update to 2.54.3+16.04~esm2
    Published Updated
  10. CVE-2021-44731

    High · CVSS 7.8EPSS 0.95%Fix available

    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

    • Update to 2.54.3+16.04~esm2
    Published Updated
  11. CVE-2019-11840

    Medium · CVSS 5.9EPSS 3.45%No fix published

    CVE-2019-11840

    An issue was discovered in the supplementary Go cryptography library, golang.org/x/crypto, before v0.0.0-20190320223903-b7391e95e576. A flaw was found in the amd64 implementation of the golang.org/x/crypto/salsa20 and golang.org/x/crypto/salsa20/salsa packages. If more than 256 GiB of keystream is generated, or if the counter otherwise grows greater than 32 bits, the amd64 implementation will first generate incorrect output, and then cycle back to previously generated keystream. Repeated keystream bytes can lead to loss of confidentiality in encryption applications, or to predictability in CSPRNG applications.

    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →