cve.bz

CVE-2024-31497

5.9 mediumEPSS 3.1%Fix available

Medium (5.9). EPSS 3.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
3.1% (down from 5.7% a week ago; 5.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-26. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-04-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-31497 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-31497?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-31497?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-31497 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
putty:puttyfrom 0.68 before 0.81
filezilla-project:filezilla_clientbefore 3.67.0
winscp:winscpbefore 6.3.3
tortoisegit:tortoisegitbefore 2.15.0.1
tigris:tortoisesvnbefore 1.14.6
fedoraproject:fedora38
fedoraproject:fedora39
fedoraproject:fedora40

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10putty0.74-1+deb11u1~deb10u2DLA-3839-1
Debian12filezillano fix listedDEBIAN-CVE-2024-31497
Debian12putty0.78-2+deb12u2DEBIAN-CVE-2024-31497
Debian13, 14filezilla3.67.0-1DEBIAN-CVE-2024-31497
Debian13, 14putty0.81-1DEBIAN-CVE-2024-31497
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 1 moreputty, filezillano fix listedUBUNTU-CVE-2024-31497
Ubuntu24.04:LTSfilezillano fix listedUBUNTU-CVE-2024-31497
SUSEPackage Hub 15 SP5putty0.81-bp155.2.6.1openSUSE-SU-2024:0111-1
openSUSELeap 15.5putty0.81-bp155.2.6.1openSUSE-SU-2024:0111-1
openSUSETumbleweedfilezilla3.67.0-1.1openSUSE-SU-2024:13870-1
openSUSETumbleweedputty0.81-1.1openSUSE-SU-2024:13868-1
Alpinev3.16, v3.17, v3.18 and 6 moreputty0.81-r0ALPINE-CVE-2024-31497

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

References

Check your stackJSON