CWE
362
Advisory Published
Advisory Published
Updated

CVE-2022-24302: Race Condition

First published: Thu 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.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
pip/paramiko>=2.9.0<2.9.3
2.9.3
pip/paramiko>=2.10.0<2.10.1
2.10.1
Paramiko Paramiko<2.10.1
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Fedoraproject Fedora=36
<2.10.1
=9.0
=10.0
=34
=35
=36

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • 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.

  • What is the severity of CVE-2022-24302?

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

  • How does CVE-2022-24302 affect Paramiko?

    CVE-2022-24302 affects Paramiko versions before 2.10.1.

  • How can I fix CVE-2022-24302?

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

  • 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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203