MEDIUM 5.9 PyPI
Race Condition in Paramiko
GHSA-f8q4-jwww-x3wv · CVE-2022-24302 · PYSEC-2022-166
Published · Modified
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.
References
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2022-24302
- WEB https://github.com/paramiko/paramiko/commit/4c491e299c9b800358b16fa4886d8d94f45abe2e
- ADVISORY https://github.com/advisories/GHSA-f8q4-jwww-x3wv
- PACKAGE https://github.com/paramiko/paramiko
- WEB https://github.com/paramiko/paramiko/blob/363a28d94cada17f012c1604a3c99c71a2bda003/paramiko/pkey.py#L546
- WEB https://github.com/pypa/advisory-database/tree/main/vulns/paramiko/PYSEC-2022-166.yaml
- WEB https://lists.debian.org/debian-lts-announce/2022/03/msg00032.html
- WEB https://lists.debian.org/debian-lts-announce/2022/09/msg00013.html
- WEB https://lists.debian.org/debian-lts-announce/2025/12/msg00020.html
- WEB https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LUEUEGILZ7MQXRSUF5VMMO4SWJQVPTQL
- WEB https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPMKRUS4HO3P7NR7P4Y6CLHB4MBEE3AI
- WEB https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U63MJ2VOLLQ35R7CYNREUHSXYLWNPVSB
- WEB https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LUEUEGILZ7MQXRSUF5VMMO4SWJQVPTQL
- WEB https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TPMKRUS4HO3P7NR7P4Y6CLHB4MBEE3AI
- WEB https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U63MJ2VOLLQ35R7CYNREUHSXYLWNPVSB
- WEB https://www.paramiko.org/changelog.html
Ready to move
Start Securing
Free, no credit card | First findings in minutes