I've just upgraded to Mastodon v3.4.6.
In addition to the security fix, I now use prebuild container images.
Did I write "container images" rather than "docker images" on purpose? Absolutely! I don't use docker, I use podman and systemd to run Mastodon.