VDB
CVE-2022-24302
CVE-2022-24302
PUBLISHED
CVSS 5.900000095367432 MEDIUM
Race Condition in Paramiko
Reported by mitre · Published March 17, 2022
paramiko is fixed in 2.10.1 and 2.9.3 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| paramiko | PyPI | 2.10.1, 2.9.3 |
| paramiko | paramiko | 2.10.1 |
Risk scores
CVSS 3.1
5.900000095367432
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| PyPI | paramiko | 2.10.0, 2.9.0 |
| n/a | n/a | * |
Timeline
- Mar 17, 2022 CVE Published
- Mar 18, 2022 EPSS Score (30 in total, the first dated here)
- Apr 7, 2022 PoC Published (8 in total, the first dated here)
- Mar 9, 2026 Security Advisory (5 in total, the first dated here)
- Jul 4, 2026 Coalition ESS Score
- Oct 21, 2026 Distribution Patch (4 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-24302
vulnetix vdb fixes CVE-2022-24302
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-24302/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- [debian-lts-announce] 20220321 [SECURITY] [DLA 2959-1] paramiko security update mailing-listx_refsource_MLIST
- FEDORA-2022-bb5c461682 vendor-advisoryx_refsource_FEDORA
- FEDORA-2022-8eb95d8611 vendor-advisoryx_refsource_FEDORA
- FEDORA-2022-806492f1d1 vendor-advisoryx_refsource_FEDORA
- [debian-lts-announce] 20220912 [SECURITY] [DLA 3104-1] paramiko security update mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2022-24302 advisory
- https://github.com/advisories/GHSA-f8q4-jwww-x3wv advisory
- https://github.com/paramiko/paramiko/commit/4c491e299c9b800358b16fa4886d8d94f45abe2e patch
- https://github.com/paramiko/paramiko url
- https://github.com/pypa/advisory-database/tree/main/vulns/paramiko/PYSEC-2022-166.yaml advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LUEUEGILZ7MQXRSUF5VMMO4SWJQVPTQL url
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPMKRUS4HO3P7NR7P4Y6CLHB4MBEE3AI url
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U63MJ2VOLLQ35R7CYNREUHSXYLWNPVSB url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LUEUEGILZ7MQXRSUF5VMMO4SWJQVPTQL url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TPMKRUS4HO3P7NR7P4Y6CLHB4MBEE3AI url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U63MJ2VOLLQ35R7CYNREUHSXYLWNPVSB url
- https://lists.debian.org/debian-lts-announce/2025/12/msg00020.html url