ADVISORIES

PyPA Advisory Database

PYSEC-2022-166

Details

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.

Affected packages

EcosystemPackageAffected versions
PyPIparamiko
All versions before 2.9.3 (fixed in 2.9.3)
From 2.10.0 before 2.10.1 (fixed in 2.10.1)

References