CVE-2022-24302
MEDIUM5.9EPSS 0.73%paramiko - security update
Published: 3/19/2022Modified: 12/16/2025
Also known as:DEBIAN-CVE-2022-24302DLA-4409-1
Description
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 packages (6)
- Debian/paramikofrom 0, < 2.7.2-1+deb11u1
- Debian/paramikofrom 0, < 2.0.0-1+deb9u2
- Debian/paramikofrom 0, < 2.4.2-0.1+deb10u1
- Debian/paramikofrom 0, < 2.7.2-1+deb11u1
- PyPI/paramiko>= 2.10.0, < 2.10.1
- PyPI/paramikofrom 0, < 2.9.3, >= 2.10.0, < 2.10.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 |
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
References (17)
- ADVISORYhttps://github.com/advisories/GHSA-f8q4-jwww-x3wv
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-24302
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-24302
- PATCHhttps://github.com/paramiko/paramiko
- WEBhttps://github.com/paramiko/paramiko/blob/363a28d94cada17f012c1604a3c99c71a2bda003/paramiko/pkey.py#L546
- WEBhttps://github.com/paramiko/paramiko/commit/4c491e299c9b800358b16fa4886d8d94f45abe2e
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/paramiko/PYSEC-2022-166.yaml
- WEBhttps://lists.debian.org/debian-lts-announce/2022/03/msg00032.html
- WEBhttps://lists.debian.org/debian-lts-announce/2022/09/msg00013.html
- WEBhttps://lists.debian.org/debian-lts-announce/2025/12/msg00020.html
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LUEUEGILZ7MQXRSUF5VMMO4SWJQVPTQL
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPMKRUS4HO3P7NR7P4Y6CLHB4MBEE3AI
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U63MJ2VOLLQ35R7CYNREUHSXYLWNPVSB
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/LUEUEGILZ7MQXRSUF5VMMO4SWJQVPTQL
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/TPMKRUS4HO3P7NR7P4Y6CLHB4MBEE3AI
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/U63MJ2VOLLQ35R7CYNREUHSXYLWNPVSB
- WEBhttps://www.paramiko.org/changelog.html