VDB
Sign up
—

PYSEC-2022-166

Quick fix

PYSEC-2022-166 — paramiko: upgrade to the fixed version with the command below.

pip install --upgrade 'paramiko>=2.9.3'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/paramiko
Introduced in: 0Fixed in: 2.9.3
Fixpip install --upgrade 'paramiko>=2.9.3'

References