Debian Security Advisory

DLA-3104-1 paramiko -- LTS security update

Date Reported:
12 Sep 2022
Affected Packages:
Security database references:
In Mitre's CVE dictionary: CVE-2022-24302.
More information:

It was discovered that there was a potential race condition in Paramiko, a pure-Python implementation of the SSH algorithm. In particular, unauthorised information disclosure could have occurred during the creation of SSH private keys.

  • CVE-2022-24302

    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.

For Debian 10 Buster, these problems have been fixed in version 2.4.2-0.1+deb10u1.

We recommend that you upgrade your paramiko packages.

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: