CVE-2022-24302
No exploitation reported by the sources we read.
- Published2022-03-17
- Fixed in2.10.1 · 2.9.3
- WeaknessCWE-362
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2022-03-1722:15CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-10-23 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2022-24302?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2022-24302?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.10 | < 2.10.1 | 2.10.1 | NVD |
| 2.10 | ≥ 2.10.0, < 2.10.1 | 2.10.1 | OSV |
| 2.9 | < 2.9.3 | 2.9.3 | OSV |
| 2.9 | ≥ 2.9.0, < 2.9.3 | 2.9.3 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 34.x | = 34 | no fix published | NVD |
| 35.x | = 35 | no fix published | NVD |
| 36.x | = 36 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 9.0 | = 9.0 | no fix published | NVD |
| 10.0 | = 10.0 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Vendor advisories
python-paramiko: Race condition in the write_private_key_file function
python-paramiko as a component of Red Hat Ceph Storage 2 · python-paramiko as a component of Red Hat Enterprise Linux 6 · python-paramiko.src as a component of Red Hat Enterprise Linux 6 · +6 more
Red Hat Security Advisory: Red Hat OpenStack Platform 16.1.9 (python-paramiko) security update
Red Hat Security Advisory: Red Hat OpenStack Platform 16.2.4 (python-paramiko) security update
Red Hat Security Advisory: RHV Engine and Host Common Packages security update
Fix
- Update Paramiko to 2.10.1 · 2.9.3
- Vendor fix Red Hat Product Security RHSA-2022:8863 · 4 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2022:4712 · 6 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/2974891
- No fix planned, says the vendor Red Hat Product Security CVE-2022-24302 · 6 productsOut of support scope
- No fix planned, says the vendor Red Hat Product Security CVE-2022-24302 · 3 productsWill not fix
Advisories and patches
- www.paramiko.orgRelease Notes · Vendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- none listed PoC-in-GitHub
Sources
- NVDCVSS 3.15.9read 2026-10-23
- NVDCVSS 2.04.3read 2026-10-23
- NVDweakness (CWE)CWE-362read 2026-10-23
- FIRST EPSSEPSS score2.1 %2026-10-22
- OSVaffected packages—
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Published
- 2022-03-17
- Last Modified
- 2026-06-17
- NVD status
- Modified
Frequently asked questions
What is CVE-2022-24302?
Is CVE-2022-24302 actively exploited?
What is the CVSS score for CVE-2022-24302?
Running paramiko? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.