CVE-2022-24302
MEDIUMCVSS 5.9/10EPSS 2.08%
Last modified
CVE-2022-24302 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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.. EPSS estimates a 2.08% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Paramiko | Paramiko | < 2.10.1 |
| Debian | Debian Linux | 9.0 |
| Debian | Debian Linux | 10.0 |
| Fedoraproject | Fedora | 34 |
| Fedoraproject | Fedora | 35 |
| Fedoraproject | Fedora | 36 |
References
- https://github.com/paramiko/paramiko/blob/363a28d94cada17f012c1604a3c99c71a2bda003/paramiko/pkey.py#L546Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/03/msg00032.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/09/msg00013.htmlMailing List, Third Party Advisory
- https://www.paramiko.org/changelog.htmlRelease Notes, Vendor Advisory
- https://github.com/paramiko/paramiko/blob/363a28d94cada17f012c1604a3c99c71a2bda003/paramiko/pkey.py#L546Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/03/msg00032.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/09/msg00013.htmlMailing List, Third Party Advisory
- https://www.paramiko.org/changelog.htmlRelease Notes, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is 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.
How severe is CVE-2022-24302?
CVE-2022-24302 has a CVSS score of 5.9/10 (MEDIUM severity). The EPSS model estimates a 2.08% probability of exploitation in the next 30 days.
How do I fix CVE-2022-24302?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-24297Improper buffer restrictions in firmware for some Intel(R) N…6.7
- CVE-2022-24298All versions of package freeopcua/freeopcua are vulnerable t…7.5
- CVE-2022-24299Improper input validation vulnerability in pfSense CE and pf…8.8
- CVE-2022-2430The Visual Composer Website Builder plugin for WordPress is …5.4
- CVE-2022-24300Minetest before 5.4.0 allows attackers to add or modify arbi…9.8
- CVE-2022-24301In Minetest before 5.4.0, players can add or subtract items …6.5
- CVE-2022-24303Pillow before 9.0.1 allows attackers to delete files because…9.1
- CVE-2022-24304Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2022-24305Zoho ManageEngine SharePoint Manager Plus before 4329 is vul…9.8
- CVE-2022-24306Zoho ManageEngine SharePoint Manager Plus before 4329 allows…9.8
- CVE-2022-24307Mastodon before 3.3.2 and 3.4.x before 3.4.6 has incorrect a…9.8
- CVE-2022-24308Automox Agent prior to version 37 on Windows and Linux and V…5.5
Are you affected by CVE-2022-24302?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
