CVE-2022-24302
Paramiko vulnerability
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 products
Paramiko, Debian Linux, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Paramiko runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- nvd.nist.gov/vuln/detail/CVE-2022-24302
- github.com/paramiko/paramiko/blob/363a28d94cada17f012c1604a3c99c71a2bda003/paramiko/pkey.p
- www.paramiko.org/changelog.html
- lists.debian.org/debian-lts-announce/2022/03/msg00032.html
- github.com/paramiko/paramiko/commit/4c491e299c9b800358b16fa4886d8d94f45abe2e
- github.com/advisories/GHSA-f8q4-jwww-x3wv
- github.com/pypa/advisory-database/tree/main/vulns/paramiko/PYSEC-2022-166.yaml
- lists.debian.org/debian-lts-announce/2022/09/msg00013.html
- nvd.nist.gov/vuln/detail/CVE-2022-24302
- cve.org/CVERecord?id=CVE-2022-24302
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.