Name | CVE-2024-31497 |
Description | In PuTTY 0.68 through 0.80 before 0.81, biased ECDSA nonce generation allows an attacker to recover a user's NIST P-521 secret key via a quick attack in approximately 60 signatures. This is especially important in a scenario where an adversary is able to read messages signed by PuTTY or Pageant. The required set of signed messages may be publicly readable because they are stored in a public Git service that supports use of SSH for commit signing, and the signatures were made by Pageant through an agent-forwarding mechanism. In other words, an adversary may already have enough signature information to compromise a victim's private key, even if there is no further use of vulnerable PuTTY versions. After a key compromise, an adversary may be able to conduct supply-chain attacks on software maintained in Git. A second, independent scenario is that the adversary is an operator of an SSH server to which the victim authenticates (for remote login or file copy), even though this server is not fully trusted by the victim, and the victim uses the same private key for SSH connections to other services operated by other entities. Here, the rogue server operator (who would otherwise have no way to determine the victim's private key) can derive the victim's private key, and then use it for unauthorized access to those other services. If the other services include Git services, then again it may be possible to conduct supply-chain attacks on software maintained in Git. This also affects, for example, FileZilla before 3.67.0, WinSCP before 6.3.3, TortoiseGit before 2.15.0.1, and TortoiseSVN through 1.14.6. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3839-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
filezilla (PTS) | jessie | 3.9.0.5-1 | vulnerable |
stretch (security), stretch (lts), stretch | 3.24.0-1+deb9u1 | vulnerable | |
buster | 3.39.0-2+deb10u1 | vulnerable | |
bullseye | 3.52.2-3+deb11u1 | vulnerable | |
bookworm | 3.63.0-1+deb12u3 | vulnerable | |
sid, trixie | 3.68.0-1 | fixed | |
putty (PTS) | jessie, jessie (lts) | 0.63-10+deb8u2 | fixed |
stretch (security), stretch (lts), stretch | 0.67-3+deb9u1 | fixed | |
buster (security), buster, buster (lts) | 0.74-1+deb11u1~deb10u2 | fixed | |
bullseye | 0.74-1+deb11u2 | fixed | |
bullseye (security) | 0.74-1+deb11u1 | vulnerable | |
bookworm | 0.78-2+deb12u2 | fixed | |
bookworm (security) | 0.78-2+deb12u1 | vulnerable | |
sid, trixie | 0.81-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
filezilla | source | jessie | (unfixed) | end-of-life | ||
filezilla | source | (unstable) | 3.67.0-1 | |||
putty | source | jessie | (not affected) | |||
putty | source | stretch | (not affected) | |||
putty | source | buster | 0.74-1+deb11u1~deb10u2 | DLA-3839-1 | ||
putty | source | bullseye | 0.74-1+deb11u2 | |||
putty | source | bookworm | 0.78-2+deb12u2 | |||
putty | source | (unstable) | 0.81-1 |
[bookworm] - filezilla <no-dsa> (Minor issue)
[bullseye] - filezilla <no-dsa> (Minor issue)
[buster] - filezilla <no-dsa> (Minor issue)
https://www.openwall.com/lists/oss-security/2024/04/15/6
https://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/vuln-p521-bias.html
Fixed by: https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=c193fe9848f50a88a4089aac647fecc31ae96d27 (0.81)
[stretch] - filezilla <no-dsa> (Minor issue)
[stretch] - putty <not-affected> (ecc code introduced in 0.68)
[jessie] - putty <not-affected> (ecc code introduced in 0.68)