CVE-2024-31497
概要

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.

公表日 2024年4月16日5:15
登録日 2024年4月17日10:02
最終更新日 2024年11月21日18:13
CVSS3.1 : MEDIUM
スコア 5.9
ベクター 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) なし
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:putty:putty:*:*:*:*:*:*:*:* 0.68 0.81
構成2 以上 以下 より上 未満
cpe:2.3:a:filezilla-project:filezilla_client:*:*:*:*:*:*:*:* 3.67.0
構成3 以上 以下 より上 未満
cpe:2.3:a:winscp:winscp:*:*:*:*:*:*:*:* 6.3.3
構成4 以上 以下 より上 未満
cpe:2.3:a:tortoisegit:tortoisegit:*:*:*:*:*:*:*:* 2.15.0.1
構成5 以上 以下 より上 未満
cpe:2.3:a:tigris:tortoisesvn:*:*:*:*:*:*:*:* 1.14.6
構成6 以上 以下 より上 未満
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*
関連情報、対策とツール
共通脆弱性一覧

JVN脆弱性情報
PuTTY SSH クライアントの ECDSA 署名処理に脆弱性
タイトル PuTTY SSH クライアントの ECDSA 署名処理に脆弱性
概要

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

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

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

公表日 2024年4月18日0:00
登録日 2024年4月19日13:56
最終更新日 2024年7月26日16:21
影響を受けるシステム
Simon Tatham
PuTTY バージョン 0.68 から 0.80 まで
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
変更履歴
No 変更内容 変更日
1 [2024年04月19日]   掲載 2024年4月19日11:24
2 [2024年07月26日]
  CVSS による深刻度:内容を更新
  参考情報:National Vulnerability Database (NVD) (CVE-2024-31497) を追加
2024年7月26日14:34