{"id":"USN-5351-1","summary":"paramiko vulnerability","details":"Jan Schejbal discovered that Paramiko incorrectly handled permissions when\nwriting private key files. A local attacker could possibly use this issue\nto gain access to private keys.\n","modified":"2026-04-27T16:02:57.613259Z","published":"2022-03-28T16:43:01Z","related":["UBUNTU-CVE-2022-24302"],"upstream":["CVE-2022-24302","UBUNTU-CVE-2022-24302"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5351-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-24302"}],"affected":[{"package":{"name":"paramiko","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/paramiko@2.0.0-1ubuntu1.3?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0-1ubuntu1.3"}]}],"versions":["2.0.0-1","2.0.0-1ubuntu1","2.0.0-1ubuntu1.1","2.0.0-1ubuntu1.2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.0-1ubuntu1.3","binary_name":"python-paramiko"},{"binary_version":"2.0.0-1ubuntu1.3","binary_name":"python3-paramiko"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2022-24302","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:18.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5351-1.json"}},{"package":{"name":"paramiko","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/paramiko@2.6.0-2ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.0-2ubuntu0.1"}]}],"versions":["2.6.0-1","2.6.0-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.6.0-2ubuntu0.1","binary_name":"python3-paramiko"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2022-24302","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:20.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5351-1.json"}}],"schema_version":"1.7.5"}