CVEfocus › CVE database › CVE-2022-24302

CVE-2022-24302

CVSS 5.9 MediumEPSS 1.8% (higher than 78% of CVEs)Published 2022-03-17Updated 2025-12-16Assigner: mitre

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.

What to do

Fixed builds are available from Debian, PyPI, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
2Fix pending
3Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04paramikoFixed2.8.1-1ubuntu3UBUNTU-CVE-2022-24302
Ubuntu 20.04paramikoFixed2.6.0-2ubuntu0.1UBUNTU-CVE-2022-24302
Ubuntu 18.04paramikoFixed2.0.0-1ubuntu1.3UBUNTU-CVE-2022-24302
Ubuntu 16.04paramikoFix pending1.16.0-1ubuntu0.2+esm2 (Ubuntu Pro)UBUNTU-CVE-2022-24302
Ubuntu 14.04paramikoFix pendingUBUNTU-CVE-2022-24302
Debian 14paramikoFixed2.10.3-1DEBIAN-CVE-2022-24302
Debian 13paramikoFixed2.10.3-1DEBIAN-CVE-2022-24302
Debian 12paramikoFixed2.10.3-1DEBIAN-CVE-2022-24302
Red Hat Enterprise Linux 7python-paramikoWill not fix
Out of support scope
Red Hat Enterprise Linux 7python-paramiko-docWill not fix
Out of support scope
Red Hat Enterprise Linux 6python-paramikoWill not fix
Out of support scope
PyPI libraryparamikoFixed2.9.3PYSEC-2022-166

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.