{"id":"CVE-2022-24302","state":"PUBLISHED","title":"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.","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.","publishedAt":"2022-03-17T21:02:10.000Z","updatedAt":"2025-12-16T01:31:54.070Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/paramiko/paramiko/blob/363a28d94cada17f012c1604a3c99c71a2bda003/paramiko/pkey.py#L546","https://www.paramiko.org/changelog.html","https://lists.debian.org/debian-lts-announce/2022/03/msg00032.html","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U63MJ2VOLLQ35R7CYNREUHSXYLWNPVSB/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LUEUEGILZ7MQXRSUF5VMMO4SWJQVPTQL/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPMKRUS4HO3P7NR7P4Y6CLHB4MBEE3AI/","https://lists.debian.org/debian-lts-announce/2022/09/msg00013.html","https://lists.debian.org/debian-lts-announce/2025/12/msg00020.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:43.915Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/24xxx/CVE-2022-24302.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-24302","state":"PUBLISHED","datePublished":"2022-03-17T21:02:10.000Z","dateUpdated":"2025-12-16T01:31:54.070Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2022-02-02T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/paramiko/paramiko/blob/363a28d94cada17f012c1604a3c99c71a2bda003/paramiko/pkey.py#L546","tags":["x_refsource_MISC"]},{"url":"https://www.paramiko.org/changelog.html","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00032.html","name":"[debian-lts-announce] 20220321 [SECURITY] [DLA 2959-1] paramiko security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U63MJ2VOLLQ35R7CYNREUHSXYLWNPVSB/","name":"FEDORA-2022-bb5c461682","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LUEUEGILZ7MQXRSUF5VMMO4SWJQVPTQL/","name":"FEDORA-2022-8eb95d8611","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPMKRUS4HO3P7NR7P4Y6CLHB4MBEE3AI/","name":"FEDORA-2022-806492f1d1","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00013.html","name":"[debian-lts-announce] 20220912 [SECURITY] [DLA 3104-1] paramiko security update","tags":["mailing-list","x_refsource_MLIST"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2022-09-12T11:06:10.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2022-24302","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/paramiko/paramiko/blob/363a28d94cada17f012c1604a3c99c71a2bda003/paramiko/pkey.py#L546","refsource":"MISC","url":"https://github.com/paramiko/paramiko/blob/363a28d94cada17f012c1604a3c99c71a2bda003/paramiko/pkey.py#L546"},{"name":"https://www.paramiko.org/changelog.html","refsource":"MISC","url":"https://www.paramiko.org/changelog.html"},{"name":"[debian-lts-announce] 20220321 [SECURITY] [DLA 2959-1] paramiko security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00032.html"},{"name":"FEDORA-2022-bb5c461682","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U63MJ2VOLLQ35R7CYNREUHSXYLWNPVSB/"},{"name":"FEDORA-2022-8eb95d8611","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LUEUEGILZ7MQXRSUF5VMMO4SWJQVPTQL/"},{"name":"FEDORA-2022-806492f1d1","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TPMKRUS4HO3P7NR7P4Y6CLHB4MBEE3AI/"},{"name":"[debian-lts-announce] 20220912 [SECURITY] [DLA 3104-1] paramiko security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00013.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/paramiko/paramiko/blob/363a28d94cada17f012c1604a3c99c71a2bda003/paramiko/pkey.py#L546","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.paramiko.org/changelog.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00032.html","name":"[debian-lts-announce] 20220321 [SECURITY] [DLA 2959-1] paramiko security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U63MJ2VOLLQ35R7CYNREUHSXYLWNPVSB/","name":"FEDORA-2022-bb5c461682","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LUEUEGILZ7MQXRSUF5VMMO4SWJQVPTQL/","name":"FEDORA-2022-8eb95d8611","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPMKRUS4HO3P7NR7P4Y6CLHB4MBEE3AI/","name":"FEDORA-2022-806492f1d1","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00013.html","name":"[debian-lts-announce] 20220912 [SECURITY] [DLA 3104-1] paramiko security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/12/msg00020.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-12-16T01:31:54.070Z"}}]}}}