In Paramiko before 2.10.1, a race condition (between creation and chmod) in the write_private_key_file function could allow unauthorized information disclosure.
https://www.paramiko.org/changelog.html
https://lists.debian.org/debian-lts-announce/2022/09/msg00013.html
https://lists.debian.org/debian-lts-announce/2022/03/msg00032.html