Description
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 directory.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | snapd | 2.40-1 | — |
| Debian 13 | snapd | 2.40-1 | — |
| Debian 12 | snapd | 2.40-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | snapd | 2.38+18.04 | — |
| Ubuntu 16.04 LTS | snapd | 2.38 | — |
| Ubuntu 14.04 LTS | snapd | 2.38~14.04 | — |