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, ELA-583-1
Debian Bugs1008012

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
paramiko (PTS)jessie, jessie (lts)1.15.1-1+deb8u2fixed
stretch (security), stretch (lts), stretch2.0.0-1+deb9u2fixed
buster (security), buster, buster (lts)2.4.2-0.1+deb10u1fixed
bullseye2.7.2-1vulnerable
bookworm2.12.0-2fixed
sid, trixie3.4.1-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
paramikosourcejessie1.15.1-1+deb8u2ELA-583-1
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