CVE-2024-31497
mediumPriorität · verfolgen · 36EPSS 0.057 · 93. PerzentilExploit · PoCDEEURUUSEPSS · bewertet 2026-10-22
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.
Behebungen
Hersteller-Fix, Mitigation oder Workaround, wie von den Quellen veröffentlicht.
Ein Hersteller-Fix ist verfügbar.
- BehobenFileZilla Clientcert_bund
Update to the latest version of the product. At least version 3.67.0.
https://filezilla-project.org/download.php?type=client - BehobenPuTTYcert_bund
Update to the latest version of the product. At least version 0.61. Additionally, any key material using NIST P-521 must be revoke/discard and new keys have to be generated.
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html - BehobenTortoiseGitcert_bund
Update to the latest version of the product. At least version 2.15.0.1.
https://tortoisegit.org/download/ - BehobenWinSCPcert_bund
Update to the latest version of the product. At least version 6.3.3.
https://winscp.net/eng/download.php - WorkaroundTortoiseSVNcert_bund
As long as there is no official patch available: Configure TortoiseSVN to use PuTTY's latest plink.exe instead of the included exe.
cvss
Technischer Schweregrad, 0–10. Eine Zeile je Quelle.
Basiswert 0–10 · höher = schwerwiegender · Vektor überfahren zum Auflösen⚠ Quellen uneinig · medium–critical · 5.6–10
SSVC
Eine Handlungsentscheidung — aus Ausnutzung und Auswirkung.
schwächen
Die CWE-Schwächeklassen, zu denen dies gehört.
Exploits (4)
Öffentlicher Proof-of-Concept- und Exploit-Code.
- edutko/cve-2024-31497edutko/cve-2024-31497PoC · poc_in_github
betroffene Produkte (30)
Betroffene Produkte und Versionsbereiche.
Advisories (2)
Hersteller- und Ökosystem-Meldungen dazu.
- BSI-2024-0001Secret Key Recovery of NIST P-521 Private Keys through biased ECDSA nonces in PuTTY client2024-04-15csaf · cert_bundDE
The PuTTY client and all related components generate heavily biased ECDSA nonces in the case of NIST P-521. This allows for full secret key recovery in roughly 60 signatures by using state-of-the-art techniques. These signatures can either be harvested by a malicious server (machine-in-the-middle attacks are not possible given that clients do not transmit their signature in the clear) or from any other source, e.g. signed git commits through forwarded agents.
- WID-SEC-W-2024-0866PuTTY: Schwachstelle ermöglicht Erlangen des privaten SchlüsselsDeutsch2024-04-15csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in PuTTY und Anwendungen, die PuTTY nutzen, wie z.B. FileZilla, WinSCP und TortoiseGit ausnutzen, um bei 521-bit ECDSA den privaten Schlüssel des Nutzers zu erlangen.
auch bekannt als (4)
Weitere Namen und Kennungen dieser Entität.
quellen
Welche Quellen diesen Datensatz belegen und wann.
Referenzen (77)
Externe Belege — Patches, Meldungen, Analysen.
- https://bugzilla.redhat.com/show_bug.cgi?id=2275183cnnvd
- https://bugzilla.suse.com/show_bug.cgi?id=1222864cnnvd
- https://cxsecurity.com/cveshow/CVE-2024-31497/cnnvd
- https://docs.ccv.brown.edu/oscar/connecting-to-oscar/ssh/ssh-agent-forwarding/key-generation-and-agent-forwarding-with-puttycnnvd
- https://filezilla-project.org/versions.phpcnnvd
- https://git.tartarus.org/?h=c193fe9848f50a88a4089aac647fecc31ae96d27&p=simon/putty.gitcnnvd
- https://github.com/advisories/GHSA-6p4c-r453-8743cnnvd
- https://news.ycombinator.com/item?id=40044665cnnvd
Angreifer nutzen Schwachstellen wie diese gegen im Internet exponierte Dienste aus. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.
Kostenloser Scan