MediumFix available
paramiko — security advisory
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.
- Products
- paramiko
- Affected versions
- Not specified
- Fixed versions
- 2.10.3-1
- CVEs
- CVE-2022-24302
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 15:00 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2022-24302
paramiko
Fixed versions: 2.10.3-1
paramiko
Fixed versions: 2.10.3-1
paramiko
Fixed versions: 2.10.3-1
Complete source record
{
"id": "17fe3e80d73ffbf90dfea8d9117a64d5e6058cf688c5fb954ddd3b827a765d02",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-24302",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2022-24302",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2022-24302",
"products": [
{
"name": {
"value": "paramiko",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.10.3-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "paramiko",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.10.3-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "paramiko",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.10.3-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2022-24302",
"aliases": [
"DEBIAN-CVE-2022-24302"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.10.3-1"
}
]
}
],
"package": {
"name": "paramiko",
"purl": "pkg:deb/debian/paramiko?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-24302.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.10.3-1"
}
]
}
],
"package": {
"name": "paramiko",
"purl": "pkg:deb/debian/paramiko?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-24302.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.10.3-1"
}
]
}
],
"package": {
"name": "paramiko",
"purl": "pkg:deb/debian/paramiko?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-24302.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-15T08:02:42.884202759Z",
"provider": "osv",
"upstream": [
"CVE-2022-24302"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2022-24302"
]
},
"related_cves": [
{
"value": "CVE-2022-24302",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 324028,
"published_at": "2022-03-17T22:15:08.9+00:00"
}