CVE-2024-31497
A public proof of concept exists; no exploitation attested.
- Published2024-04-15
- Fixed in0.81
- WeaknessCWE-338
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2024-04-1520:15CVE publishedNVD
- 2026-10-2319:23First public proof of conceptPoC-in-GitHub
Versions per branch
NVD · CISA-ADP| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.x | ≥ 0.68, < 0.81 | 0.81 | NVD · CISA-ADP |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 38.x | = 38 | no fix published | NVD |
| 39.x | = 39 | no fix published | NVD |
| 40.x | = 40 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.67 | < 3.67.0 | 3.67.0 | NVD |
3 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- filezillaUbuntu:24.04:LTSall versions · no fixed version listed
- filezillaopenSUSE:Tumbleweedall versions · fixed in 3.67.0-1.1
- filezillaMageia:9all versions · fixed in 3.67.0-1.mga9
- filezillaDebian:14all versions · fixed in 3.67.0-1
- filezillaDebian:13all versions · fixed in 3.67.0-1
- filezillaDebian:12all versions · no fixed version listed
- libfilezillaMageia:9all versions · fixed in 0.47.0-1.mga9
- puttyUbuntu:22.04:LTSall versions · no fixed version listedand 1 other package
21 more package ranges on OSV.dev
Fix
- Update Putty to 0.81
Advisories and patches
- filezilla-project.orgRelease Notes
- git.tartarus.orgPatch
- www.chiark.greenend.org.ukRelease Notes · Vendor Advisory
- www.chiark.greenend.org.ukVendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub4 repositories, unverifiedknown since 2026-11-01sh1k4ku/CVE-2024-31497edutko/cve-2024-31497HugoBond/CVE-2024-31497-POCLukaWynants/Onderzoek_CVE-2024-31497-POC
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2024-04-19
- CISA-ADPCVSS 3.15.92024-04-24
- NVDCVSS 3.15.9read 2026-10-23
- CISA-ADPweakness (CWE)CWE-3382024-04-24
- NVDweakness (CWE)CWE-338read 2026-10-23
- FIRST EPSSEPSS score5.7 %2026-11-23
- PoC-in-GitHubproof of concept4known since 2026-11-01
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2024-29377same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-6p4c-r453-8743same flawGitHub Advisory Database · CC-BY-4.0
- DLA-3839-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2024-0140advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2024:0111-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:13868-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:13870-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Published
- 2024-04-15
- Last modified
- 2026-06-17
- NVD status
- Modified
- GitHub advisory
- GHSA-6p4c-r453-8743
Frequently asked questions
What is CVE-2024-31497?
Is CVE-2024-31497 actively exploited?
What is the CVSS score for CVE-2024-31497?
Running putty? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-6p4c-r453-8743
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- CISA Vulnrichment · CC0-1.0