Giskardにおける非効率的な正規表現の複雑さに関する脆弱性
| Title |
Giskardにおける非効率的な正規表現の複雑さに関する脆弱性
|
| Summary |
GiskardはAIモデルのためのオープンソースのテストフレームワークです。バージョン1.0.2b1以前では、RegexMatchingチェックがユーザー提供の正規表現パターンをタイムアウトや複雑性の保護なしに直接Pythonのre.search()に渡します。細工された正規表現パターンは破滅的なバックトラッキングを引き起こし、プロセスが無期限にハングする可能性があります。悪用するためにはチェック定義への書き込みアクセスが必要であり、その後テストスイートを実行しなければなりません。この問題はgiskard-checksバージョン1.0.2b1で修正されました。
|
| Possible impacts |
当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution |
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
April 17, 2026, midnight |
| Registration Date |
April 27, 2026, 11:17 a.m. |
| Last Update |
April 27, 2026, 11:17 a.m. |
|
CVSS3.0 : 警告
|
| Score |
5.5
|
| Vector |
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected System
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年04月27日] 掲載 |
April 27, 2026, 11:17 a.m. |
NVD Vulnerability Information
CVE-2026-40319
| Summary |
Giskard is an open-source testing framework for AI models. In versions prior to 1.0.2b1, the RegexMatching check passes a user-supplied regular expression pattern directly to Python's re.search() without any timeout or complexity guard. A crafted regex pattern can trigger catastrophic backtracking, causing the process to hang indefinitely. Exploitation requires write access to a check definition and subsequent execution of the test suite. This issue has been fixed in giskard-checks version 1.0.2b1.
|
| Publication Date |
April 18, 2026, 3:16 a.m. |
| Registration Date |
April 18, 2026, 4:11 a.m. |
| Last Update |
April 25, 2026, 5:22 a.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:giskard:giskard:*:*:*:*:*:*:*:* |
|
|
|
1.0.2 |
Related information, measures and tools
Common Vulnerabilities List