Cryptographic issues in PuTTY - CVE-2024-31497
Published: April 15, 2024 / Updated: May 13, 2024
Vulnerability details
The vulnerability allows a remote attacker to recover NIST P-521 private keys.
The vulnerability exists due to the PuTTY client and all related components generate heavily biased ECDSA nonces in the case of NIST P-521. A remote attacker can recover the NIST P-521 private key using roughly 60 valid ECDSA signatures generated by any PuTTY component under the same key.
Note, if the key has been used to sign arbitrary data (e.g., git commits by forwarding Pageant to a development host), the publicly available signatures (e.g., on GitHub) can be used as well.
Affected software
Gentoo Linux
Fedora
FileZilla
WinSCP
libfilezilla
net-misc/putty
putty
filezilla
How to mitigate CVE-2024-31497
FileZilla - update to 3.67.0
WinSCP - update to 6.3.3
libfilezilla - addressed in versions 0.47.0-1.fc38, 0.47.0-1.fc39, 0.47.0-1.fc40
net-misc/putty - update to 0.81
putty - addressed in versions 0.81-1.el8, 0.81-1.el9, 0.81-1.fc38, 0.81-1.fc39, 0.81-1.fc40
filezilla - addressed in versions 3.67.0-1.fc38, 3.67.0-1.fc39, 3.67.0-1.fc40
Links to Public Exploits and PoC-codes
External References
Related Security Bulletins
- Secret key recovery of NIST P-521 private keys in PuTTY
- FileZilla update for PuTTY
- WinSCP update for PuTTY
- Fedora 40 update for filezilla, libfilezilla
- Fedora 39 update for filezilla, libfilezilla
- Fedora 38 update for filezilla, libfilezilla
- Fedora 40 update for putty
- Fedora 39 update for putty
- Fedora 38 update for putty
- Fedora EPEL 9 update for putty
- Fedora EPEL 8 update for putty
- Gentoo update for PuTTY