Lucene search

K

Snapd Security Vulnerabilities

cve
cve

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

6.8AI Score

0.0004EPSS

2024-05-31 09:15 PM
28
cve
cve

CVE-2022-3328

Race condition in snap-confine's...

7.8CVSS

6.6AI Score

0.0004EPSS

2024-01-08 06:15 PM
1179
2
cve
cve

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

10CVSS

9.5AI Score

0.001EPSS

2023-09-01 07:15 PM
161
cve
cve

CVE-2021-44731

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

7.8CVSS

8.4AI Score

0.0005EPSS

2022-02-17 11:15 PM
179
2
cve
cve

CVE-2021-3155

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

5.5CVSS

6.4AI Score

0.0004EPSS

2022-02-17 11:15 PM
84
cve
cve

CVE-2021-4120

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

8.2CVSS

8AI Score

0.001EPSS

2022-02-17 11:15 PM
86
cve
cve

CVE-2021-44730

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

8.8CVSS

8.6AI Score

0.0004EPSS

2022-02-17 11:15 PM
109
cve
cve

CVE-2020-11933

cloud-init as managed by snapd on Ubuntu Core 16 and Ubuntu Core 18 devices was run without restrictions on every boot, which a physical attacker could exploit by crafting cloud-init user-data/meta-data via external media to perform arbitrary changes on the device to bypass intended security...

7.3CVSS

6.3AI Score

0.001EPSS

2020-07-29 05:15 PM
44
cve
cve

CVE-2020-11934

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

5.9CVSS

5.9AI Score

0.0004EPSS

2020-07-29 05:15 PM
45
cve
cve

CVE-2019-11502

snap-confine in snapd before 2.38 incorrectly set the ownership of a snap application to the uid and gid of the first calling user. Consequently, that user had unintended access to a private /tmp...

7.5CVSS

7.4AI Score

0.005EPSS

2019-04-24 09:29 PM
28
cve
cve

CVE-2019-11503

snap-confine as included in snapd before 2.39 did not guard against symlink races when performing the chdir() to the current working directory of the calling user, aka a "cwd restore permission...

7.5CVSS

7.2AI Score

0.002EPSS

2019-04-24 09:29 PM
25
cve
cve

CVE-2019-7303

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

7.5CVSS

7.2AI Score

0.021EPSS

2019-04-23 04:29 PM
127
cve
cve

CVE-2019-7304

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

9.8CVSS

9.4AI Score

0.128EPSS

2019-04-23 04:29 PM
127
5
cve
cve

CVE-2017-14178

In snapd 2.27 through 2.29.2 the 'snap logs' command could be made to call journalctl without match arguments and therefore allow unprivileged, unauthenticated users to bypass systemd-journald's access...

7.5CVSS

7.6AI Score

0.002EPSS

2018-02-02 02:29 PM
26