Kali gets this package straight from Debian testing. In this particular case, there’s a fix in Debian unstable (snapd version 2.51.7-1). I just imported this package in Kali rolling so that users can get the fix asap.
Therefore users of Kali rolling should just update their system and be good to go:
apt update && apt -y upgrade
Cheers