CVE-2022-24302: Race Condition

Published Mar 17, 2022
·
Updated

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.

Affected Software

9 affected componentsFixes available
pip/paramiko>=2.9.0<2.9.3
2.9.3
pip/paramiko>=2.10.0<2.10.1
2.10.1
IBM Security QRadar EDR<=3.12
Paramiko Paramiko<2.10.1
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Fedoraproject Fedora=36

Event History

Mar 17, 2022
CVE Published
via MITRE·09:02 PM
Data Sourced
via MITRE·09:02 PM
Description
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeaknessAffected Software
Mar 19, 2022
Advisory Published
12:01 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-24302?

CVE-2022-24302 is a vulnerability in Paramiko that allows unauthorized information disclosure due to a race condition in the write_private_key_file function.

2

What is the severity of CVE-2022-24302?

The severity of CVE-2022-24302 is medium with a CVSS score of 5.9.

3

How does CVE-2022-24302 affect Paramiko?

CVE-2022-24302 affects Paramiko versions before 2.10.1.

4

How can I fix CVE-2022-24302?

To fix CVE-2022-24302, you should upgrade to Paramiko version 2.10.1 or later.

5

Are there any references available for CVE-2022-24302?

Yes, you can find more information about CVE-2022-24302 at the following references: NVD (https://nvd.nist.gov/vuln/detail/CVE-2022-24302), GitHub (https://github.com/paramiko/paramiko/blob/363a28d94cada17f012c1604a3c99c71a2bda003/paramiko/pkey.py#L546), Paramiko Changelog (https://www.paramiko.org/changelog.html).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203