NVD Vulnerability Detail
Search Exploit, PoC
CVE-2024-31497
Summary

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.

Publication Date April 16, 2024, 5:15 a.m.
Registration Date April 17, 2024, 10:02 a.m.
Last Update Nov. 21, 2024, 6:13 p.m.
CVSS3.1 : MEDIUM
スコア 5.9
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I) なし
可用性への影響(A) なし
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:putty:putty:*:*:*:*:*:*:*:* 0.68 0.81
Configuration2 or higher or less more than less than
cpe:2.3:a:filezilla-project:filezilla_client:*:*:*:*:*:*:*:* 3.67.0
Configuration3 or higher or less more than less than
cpe:2.3:a:winscp:winscp:*:*:*:*:*:*:*:* 6.3.3
Configuration4 or higher or less more than less than
cpe:2.3:a:tortoisegit:tortoisegit:*:*:*:*:*:*:*:* 2.15.0.1
Configuration5 or higher or less more than less than
cpe:2.3:a:tigris:tortoisesvn:*:*:*:*:*:*:*:* 1.14.6
Configuration6 or higher or less more than less than
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
PuTTY SSH クライアントの ECDSA 署名処理に脆弱性
Title PuTTY SSH クライアントの ECDSA 署名処理に脆弱性
Summary

PuTTY SSH クライアント実装には、ECDSA 署名処理の実装に脆弱性があります。 NIST P521 楕円曲線による ECDSA 秘密鍵を使っている場合、署名を行う際に生成する nonce に偏りがあります (CVE-2024-31497、CWE-1240)。 その結果、ごく少数の署名データから秘密鍵を特定される可能性があります。

Possible impacts 60 個程度の署名データから、使用している秘密鍵を特定される可能性があります。 
Solution

[当該製品のアップデートおよび秘密鍵の更新] 開発者が提供する情報をもとに、最新バージョンにアップデートしてください。 また、NIST P521 秘密鍵を使用している場合は、鍵対の更新も行ってください。

Publication Date April 18, 2024, midnight
Registration Date April 19, 2024, 1:56 p.m.
Last Update July 26, 2024, 4:21 p.m.
Affected System
Simon Tatham
PuTTY バージョン 0.68 から 0.80 まで
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2024年04月19日]   掲載 April 19, 2024, 11:24 a.m.
2 [2024年07月26日]
  CVSS による深刻度:内容を更新
  参考情報:National Vulnerability Database (NVD) (CVE-2024-31497) を追加
July 26, 2024, 2:34 p.m.