CVE-2022-24302
Medium
Description
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.
SeverityMedium
CVSS5.9
Exploit probability—
Product
Paramiko
PublishedMar 17, 2022
First seenMar 17, 2022
How to fix
Update
- paramiko paramiko2.10.1 or later
- paramiko2.10.1, 2.9.3 or later
Vendor advisories
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U63MJ2VOLLQ35R7CYNREUHSXYLWNPVSB/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LUEUEGILZ7MQXRSUF5VMMO4SWJQVPTQL/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPMKRUS4HO3P7NR7P4Y6CLHB4MBEE3AI/
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| paramiko paramiko | v < 2.10.1 | 2.10.1 |
| debian debian_linux | 9.0, 10.0 | — |
| fedoraproject fedora | 34, 35, 36 | — |
| paramikoPyPI | 2.10.0 ≤ v < 2.10.1, 2.9.0 ≤ v < 2.9.3, v < 2.9.3 | 2.10.1, 2.9.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.