CVE-2022-24302

NameCVE-2022-24302
DescriptionIn Paramiko before 2.10.1, a race condition (between creation and chmod) in the write_private_key_file function could allow unauthorized information disclosure.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2959-1, DLA-3104-1
Debian Bugs1008012

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
paramiko (PTS)buster2.4.2-0.1vulnerable
buster (security)2.4.2-0.1+deb10u1fixed
bullseye2.7.2-1vulnerable
trixie, bookworm2.12.0-2fixed
sid2.12.0-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
paramikosourcestretch2.0.0-1+deb9u2DLA-2959-1
paramikosourcebuster2.4.2-0.1+deb10u1DLA-3104-1
paramikosource(unstable)2.10.3-11008012

Notes

[bullseye] - paramiko <no-dsa> (Minor issue)
https://github.com/paramiko/paramiko/commit/4c491e299c9b800358b16fa4886d8d94f45abe2e (2.10.1)

Search for package or bug name: Reporting problems