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 bypass.
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Snapd | Canonical | * | 2.39 (excluding) |
Snapd | Ubuntu | bionic | * |
Snapd | Ubuntu | cosmic | * |
Snapd | Ubuntu | disco | * |
Snapd | Ubuntu | eoan | * |
Snapd | Ubuntu | trusty | * |
Snapd | Ubuntu | trusty/esm | * |
Snapd | Ubuntu | upstream | * |
Snapd | Ubuntu | xenial | * |