Security mailing lists by PureSourceCode

CVE-2022-24302

MEDIUM 5.9CVSS 3.1

Race Condition in Paramiko

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.

Published
17 Mar 2022
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-362
Also known as
GHSA-f8q4-jwww-x3wvPYSEC-2022-166
Sources
NVDJSONOSV GHSA-f8q4-jwww-x3wvJSONOSV PYSEC-2022-166JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD paramiko paramiko
cpe:2.3:a:paramiko:paramiko:*:*:*:*:*:*:*:*
< 2.10.1 2.10.1
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
= 34
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
= 35
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
= 36
OSV PyPI paramiko >= 2.10.0, < 2.10.1 2.10.1
OSV PyPI paramiko >= 2.9.0, < 2.9.3 2.9.3
OSV PyPI paramiko < 2.9.3; >= 2.10.0, < 2.10.1 2.9.3, 2.10.1

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 17 Mar 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 Mar 2022)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Mar 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.