In Paramiko before 2.10.1, a race condition (between creation and chmod) in the…
Priority LOW 31CWE-362Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 4 fixed, 5 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
EPSS 0.0208 81st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial paramiko (PyPI): 2.10.1, 2.9.3Red Hat: 3 advisoriesRed Hat: 4 fixed, 5 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | paramiko (PyPI) | 2.10.0 to before 2.10.1 | 2.10.1 | Patch available | GHSA-f8q4-jwww-x3wv |
| — | paramiko (PyPI) | 2.9.0 to before 2.9.3 | 2.9.3 | Patch available | GHSA-f8q4-jwww-x3wv |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- paramiko (PyPI) Vendor— Affected 2.10.0 to before 2.10.1 Fixed in 2.10.1 Patch available GHSA-f8q4-jwww-x3wv
- paramiko (PyPI) Vendor— Affected 2.9.0 to before 2.9.3 Fixed in 2.9.3 Patch available GHSA-f8q4-jwww-x3wv
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:paramiko:paramiko:*:*:*:*:*:*:*:* | before 2.10.1 | Vulnerable | Paramiko |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Debian |
| cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* | 34 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* | 35 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* | 36 | Vulnerable | Fedoraproject |
- cpe:2.3:a:paramiko:paramiko:*:*:*:*:*:*:*:* Versions before 2.10.1 Vulnerable ·Paramiko
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Versions 36 Vulnerable ·Fedoraproject
Remediation
- Fix · GHSA-f8q4-jwww-x3wv paramiko (PyPI) Fixed in 2.10.1 Advisory →
- Fix · GHSA-f8q4-jwww-x3wv paramiko (PyPI) Fixed in 2.9.3 Advisory →
Red Hat 3 advisories
- RHSA-2022:8863 Released 2022-12-07 · Red Hat rating ModerateRed Hat OpenStack Platform 16.1.9 (python-paramiko) security update
- Red Hat OpenStack Platform 16.1 python-paramiko-2.4.2-8.el8ost, python3-paramiko-2.4.2-8.el8ost
- RHSA-2022:8845 Released 2022-12-07 · Red Hat rating ModerateRed Hat OpenStack Platform 16.2.4 (python-paramiko) security update
- Red Hat OpenStack Platform 16.2 python-paramiko-2.4.2-8.el8ost, python3-paramiko-2.4.2-8.el8ost
- RHSA-2022:4712 Released 2022-05-26 · Red Hat rating ModerateRHV Engine and Host Common Packages security update
- RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4 python-paramiko-2.4.3-3.el8ev, python-paramiko-doc-2.4.3-3.el8ev, python3-paramiko-2.4.3-3.el8ev
- Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts python-paramiko-2.4.3-3.el8ev, python-paramiko-doc-2.4.3-3.el8ev, python3-paramiko-2.4.3-3.el8ev
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ceph Storage 2 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Storage 3 | Affected | No fix planned: Will not fix |
| Red Hat Update Infrastructure 4 for Cloud Providers | Affected | No fix planned: Will not fix |
| RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4 | Fixed | RHSA-2022:4712 |
| Red Hat OpenStack Platform 16.1 | Fixed | RHSA-2022:8863 |
| Red Hat OpenStack Platform 16.2 | Fixed | RHSA-2022:8845 |
| Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts | Fixed | RHSA-2022:4712 |
Not affected: 5 products
- RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4
- Red Hat Ansible Automation Platform 2
- Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts
- Red Hat Virtualization 4 Tools for Red Hat Enterprise Linux 8
- Red Hat Virtualization 4 Tools for Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2022-24302
- 2026-10-03 Alias added: GHSA-f8q4-jwww-x3wv
References
Advisory 8
- https://www.paramiko.org/changelog.html
- [debian-lts-announce] 20220321 [SECURITY] [DLA 2959-1] paramiko security update
- FEDORA-2022-bb5c461682
- FEDORA-2022-8eb95d8611
- FEDORA-2022-806492f1d1
- [debian-lts-announce] 20220912 [SECURITY] [DLA 3104-1] paramiko security update
- https://nvd.nist.gov/vuln/detail/CVE-2022-24302
- https://github.com/advisories/GHSA-f8q4-jwww-x3wv
Other 10
- https://github.com/paramiko/paramiko/commit/4c491e299c9b800358b16fa4886d8d94f45abe2e
- https://github.com/paramiko/paramiko
- https://github.com/pypa/advisory-database/tree/main/vulns/paramiko/PYSEC-2022-166.yaml
- https://lists.debian.org/debian-lts-announce/2025/12/msg00020.html
- 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.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U63MJ2VOLLQ35R7CYNREUHSXYLWNPVSB
- https://lists.fedoraproject.org/archives/list/[email protected]/message/LUEUEGILZ7MQXRSUF5VMMO4SWJQVPTQL
- https://lists.fedoraproject.org/archives/list/[email protected]/message/TPMKRUS4HO3P7NR7P4Y6CLHB4MBEE3AI
- https://lists.fedoraproject.org/archives/list/[email protected]/message/U63MJ2VOLLQ35R7CYNREUHSXYLWNPVSB
Sources
- CVE-2022-24302 · CVE Program
- CVE-2022-24302 · NVD
- FIRST EPSS
- GHSA-f8q4-jwww-x3wv · GitHub Advisory Database · CC BY 4.0
- CVE-2022-24302 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences