Advisory

PYSEC-2022-166

Also known as: CVE-2022-24302, GHSA-f8q4-jwww-x3wv

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2022-03-17 22:15 UTC
Modified
2023-11-08 04:08 UTC

Affected packages and fixes

paramiko

PyPI · All systems

Affected

  • introduced 0, fixed 2.9.3, introduced 2.10.0, fixed 2.10.1 (ecosystem)

Fixed versions

2.9.3, 2.10.1

Fix

  • Fixed version 2.9.3
    pip install --upgrade paramiko==2.9.3
  • Fixed version 2.10.1
    pip install --upgrade paramiko==2.10.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences