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."
{
"unresolved_ranges": [
{
"extracted_events": [
{
"fixed": "2.39"
}
],
"source": "CPE_RANGE",
"vendor_product": "canonical:snapd",
"cpes": [
"cpe:2.3:a:canonical:snapd:*:*:*:*:*:*:*:*"
]
}
]
}