CVEvulnerability
CVE-2022-24302
5.9 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2022-03-17
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.9 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:P/I:N/A:N
- Weaknesses
- CWE-362
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.
Affected configurations
• paramiko paramiko (< 2.10.1)
• debian debian linux 9.0
• debian debian linux 10.0
• fedoraproject fedora 34
• fedoraproject fedora 35
• fedoraproject fedora 36
Related
Weakness · CWE (1)
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization weakness
References
- https://github.com/paramiko/paramiko/blob/363a28d94cada17f012c1604a3c99c71a2bda003/paramiko/pkey.py#L546 Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/03/msg00032.html Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/09/msg00013.html Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LUEUEGILZ7MQXRSUF5VMMO4SWJQVPTQL/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPMKRUS4HO3P7NR7P4Y6CLHB4MBEE3AI/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U63MJ2VOLLQ35R7CYNREUHSXYLWNPVSB/ lists.fedoraproject.org
- https://www.paramiko.org/changelog.html Release Notes, Vendor Advisory
- https://github.com/paramiko/paramiko/blob/363a28d94cada17f012c1604a3c99c71a2bda003/paramiko/pkey.py#L546 Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/03/msg00032.html Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/09/msg00013.html Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/12/msg00020.html lists.debian.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LUEUEGILZ7MQXRSUF5VMMO4SWJQVPTQL/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPMKRUS4HO3P7NR7P4Y6CLHB4MBEE3AI/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U63MJ2VOLLQ35R7CYNREUHSXYLWNPVSB/ lists.fedoraproject.org
- https://www.paramiko.org/changelog.html Release Notes, Vendor Advisory