CVE-2022-24302
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.
02 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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 2.08% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 81.3% of scored records. A rank, not a probability.
- NVD base score
- 5.9 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-03-17 21:02Z4 YR AGO
- Last updated
- 2025-12-16 01:31Z10 MO AGO
- Reserved
- 2022-02-02
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-362Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')Class
- Data version
- 5.2
- Document digest
- 0b04038e339edd696b884b398854310d52d2c27fa66350e58eddc1348cfc1c0c
05 Affected products
06 References
- github.comhttps://github.com/paramiko/paramiko/blob/363a28d94cada17f012c1604a3c99c71a2bda003/paramiko/pkey.py#L546
- www.paramiko.orghttps://www.paramiko.org/changelog.html
- lists.debian.org[debian-lts-announce] 20220321 [SECURITY] [DLA 2959-1] paramiko security updatehttps://lists.debian.org/debian-lts-announce/2022/03/msg00032.html
- lists.fedoraproject.orgFEDORA-2022-bb5c461682https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U63MJ2VOLLQ35R7CYNREUHSXYLWNPVSB/
- lists.fedoraproject.orgFEDORA-2022-8eb95d8611https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LUEUEGILZ7MQXRSUF5VMMO4SWJQVPTQL/
- lists.fedoraproject.orgFEDORA-2022-806492f1d1https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPMKRUS4HO3P7NR7P4Y6CLHB4MBEE3AI/
- lists.debian.org[debian-lts-announce] 20220912 [SECURITY] [DLA 3104-1] paramiko security updatehttps://lists.debian.org/debian-lts-announce/2022/09/msg00013.html
- lists.debian.orghttps://lists.debian.org/debian-lts-announce/2025/12/msg00020.html
07 Fixed in
Debian 12
- paramiko Fixed in 2.10.3-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- paramiko Fixed in 2.10.3-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- paramiko Fixed in 2.10.3-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- paramiko No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- paramiko Fixed in 2.0.0-1ubuntu1.3
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- paramiko Fixed in 2.6.0-2ubuntu0.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- paramiko Fixed in 2.8.1-1ubuntu3
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- paramiko Fixed in 1.16.0-1ubuntu0.2+esm2Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.