CVE-2022-24302

python3-paramiko: In Paramiko before 2.10.1, a race condition (between creation and chmod) in the write_private_key_file function could...

CVE-2022-24302 is fixed in 3 products on 1 platform, first by python-paramiko 2.0.0-1ubuntu1.3, released March 17, 2022. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
5.9
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0208
81st percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
paramiko · Debian 11.6 (bullseye) 2.7.2-1+deb11u1 DLA-4409-1 Dec 16, 2025
paramiko · Debian 12.15 (bookworm) 2.10.3-1 DEBIAN-CVE-2022-24302 Mar 17, 2022
paramiko · Debian 13.5 (trixie) 2.10.3-1 DEBIAN-CVE-2022-24302 Mar 17, 2022
paramiko · Debian 14 2.10.3-1 DEBIAN-CVE-2022-24302 Mar 17, 2022
python-paramiko · Ubuntu 18.04.6 LTS (bionic) 2.0.0-1ubuntu1.3 python-paramiko 2.0.0-1ubuntu1.3 Mar 17, 2022
python3-paramiko · Ubuntu 18.04.6 LTS (bionic) 2.0.0-1ubuntu1.3 python3-paramiko 2.0.0-1ubuntu1.3 Mar 17, 2022
python3-paramiko · Ubuntu 20.04 LTS (focal) 2.6.0-2ubuntu0.1 python3-paramiko 2.6.0-2ubuntu0.1 Mar 17, 2022
python3-paramiko · Ubuntu 22.04.1 LTS (jammy) 2.8.1-1ubuntu3 python3-paramiko 2.8.1-1ubuntu3 Mar 17, 2022
python3-paramiko · Ubuntu 24.10 (oracular) 2.8.1-1ubuntu3 python3-paramiko 2.8.1-1ubuntu3 Jan 16, 2026
python3-paramiko · Ubuntu 25.04 (plucky) 2.8.1-1ubuntu3 python3-paramiko 2.8.1-1ubuntu3 Jan 16, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.