製品・ソフトウェアに関する情報
The Go ProjectのGoにおける競合状態に関する脆弱性
Title The Go ProjectのGoにおける競合状態に関する脆弱性
Summary

クエリ(例:クエリメソッドの1つに渡されたコンテキストをキャンセルすること)をキャンセルすると、返されたRowsのScanメソッドの呼び出し中に、他のクエリが並行して実行されている場合に予期しない結果が発生する可能性があります。これにより競合状態が発生し、期待される結果が別のクエリの結果で上書きされる可能性があり、Scanの呼び出しが予期しない他のクエリの結果やエラーを返すことがあります。

Possible impacts 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 さらに、当該ソフトウェアの一部が停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Aug. 7, 2025, midnight
Registration Date Feb. 2, 2026, 7:26 p.m.
Last Update Feb. 2, 2026, 7:26 p.m.
CVSS3.0 : 重要
Score 7
Vector CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
Affected System
The Go Project
Go 1.23.12 未満
Go 1.24.0 以上 1.24.6 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年02月02日]
  掲載
Feb. 2, 2026, 7:26 p.m.

NVD Vulnerability Information
CVE-2025-47907
Summary

Cancelling a query (e.g. by cancelling the context passed to one of the query methods) during a call to the Scan method of the returned Rows can result in unexpected results if other queries are being made in parallel. This can result in a race condition that may overwrite the expected results with those of another query, causing the call to Scan to return either unexpected results from the other query or an error.

Publication Date Aug. 8, 2025, 1:15 a.m.
Registration Date Aug. 8, 2025, 4 a.m.
Last Update Aug. 8, 2025, 1:15 a.m.
Related information, measures and tools
Common Vulnerabilities List