{"id":"PYSEC-2022-166","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.","aliases":["CVE-2022-24302","GHSA-f8q4-jwww-x3wv"],"modified":"2023-11-08T04:08:30.555889Z","published":"2022-03-17T22:15:00Z","references":[{"type":"WEB","url":"https://www.paramiko.org/changelog.html"},{"type":"WEB","url":"https://github.com/paramiko/paramiko/blob/363a28d94cada17f012c1604a3c99c71a2bda003/paramiko/pkey.py#L546"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-f8q4-jwww-x3wv"}],"affected":[{"package":{"name":"paramiko","ecosystem":"PyPI","purl":"pkg:pypi/paramiko"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.3"},{"introduced":"2.10.0"},{"fixed":"2.10.1"}]}],"versions":["0.1-bulbasaur","0.1-charmander","0.9-doduo","0.9-eevee","0.9-fearow","0.9-gyarados","0.9-horsea","0.9-ivysaur","1.0","1.1","1.10.0","1.10.1","1.10.2","1.10.3","1.10.4","1.10.5","1.10.6","1.10.7","1.11.0","1.11.1","1.11.2","1.11.3","1.11.4","1.11.5","1.11.6","1.12.0","1.12.1","1.12.2","1.12.3","1.12.4","1.13.0","1.13.1","1.13.2","1.13.3","1.13.4","1.14.0","1.14.1","1.14.2","1.14.3","1.15.0","1.15.1","1.15.2","1.15.3","1.15.4","1.15.5","1.16.0","1.16.1","1.16.2","1.16.3","1.17.0","1.17.1","1.17.2","1.17.3","1.17.4","1.17.5","1.17.6","1.18.0","1.18.1","1.18.2","1.18.3","1.18.4","1.18.5","1.2","1.3","1.3.1","1.4","1.5.1","1.5.2","1.5.4","1.6","1.6.1","1.6.2","1.6.3","1.6.4","1.7","1.7.1","1.7.2","1.7.4","1.7.5","1.7.6","1.7.7.1","1.7.7.2","1.8.0","1.8.1","1.9.0","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.10.0","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.3.0","2.3.1","2.3.2","2.3.3","2.4.0","2.4.1","2.4.2","2.4.3","2.5.0","2.5.1","2.6.0","2.7.0","2.7.1","2.7.2","2.8.0","2.8.1","2.9.0","2.9.1","2.9.2"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/paramiko/PYSEC-2022-166.yaml"}}],"schema_version":"1.7.3"}