First published: Thu Mar 17 2022(Updated: )
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.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
pip/paramiko | >=2.9.0<2.9.3 | 2.9.3 |
pip/paramiko | >=2.10.0<2.10.1 | 2.10.1 |
Paramiko Paramiko | <2.10.1 | |
Debian Debian Linux | =9.0 | |
Debian Debian Linux | =10.0 | |
Fedoraproject Fedora | =34 | |
Fedoraproject Fedora | =35 | |
Fedoraproject Fedora | =36 | |
<2.10.1 | ||
=9.0 | ||
=10.0 | ||
=34 | ||
=35 | ||
=36 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-24302 is a vulnerability in Paramiko that allows unauthorized information disclosure due to a race condition in the write_private_key_file function.
The severity of CVE-2022-24302 is medium with a CVSS score of 5.9.
CVE-2022-24302 affects Paramiko versions before 2.10.1.
To fix CVE-2022-24302, you should upgrade to Paramiko version 2.10.1 or later.
Yes, you can find more information about CVE-2022-24302 at the following references: NVD (https://nvd.nist.gov/vuln/detail/CVE-2022-24302), GitHub (https://github.com/paramiko/paramiko/blob/363a28d94cada17f012c1604a3c99c71a2bda003/paramiko/pkey.py#L546), Paramiko Changelog (https://www.paramiko.org/changelog.html).