grid の脆弱性 (CVE-2026-42199)
概要
grid に 脆弱性 (CVE-2026-42199) が存在。不正な操作・情報露出のリスクがあります。get_unchecked 経由で攻撃可能。対策: 1.0.1 以上に更新。
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
Summary
An integer overflow in Grid::expand_rows() can corrupt the relationship between the grid’s logical dimensions and its backing storage. After the internal invariant is broken, the safe API get() may invoke get_unchecked() with an invalid index, resulting in Undefined Behavior.
Details
Tested Version: grid = "1.0.0"
expand_rows() computes the new backing length using unchecked arithmetic:
self.data.len() + rows * self.cols
If rows * self.cols or the subsequent addition overflows usize, the result wraps in release builds and self.data may be resized to a length much smaller than logically required.
After that, if the grid is in ColumnMajor order, the function performs in-place rotation using indices derived from:
let total_rows = self.rows + row_added;
let col_idx = i * total_rows;
self.data[col_idx..col_idx + total_rows + i].rotate_right(i);
These computations also rely on the assumption that the backing storage has been resized to the correct length. Once the earlier length computation has wrapped, this assumption no longer holds, so the function may operate on invalid ranges or otherwise enter an inconsistent state.
Finally, the function updates logical metadata with:
self.rows += rows;
As a result, the grid can end up with logical dimensions that no longer match the actual backing storage. Subsequent safe API calls such as get() may then rely on corrupted metadata and reach unsafe internal accesses, resulting in invalid unchecked acc…
出典: NIST National Vulnerability Database NVD GitHub Advisory
自動生成の要約
取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。
grid という製品で、CVE-2026-42199 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに get_unchecked のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
不正な操作・情報露出のリスクがあります。重要度は CVSS スコア 6.2/10 です。
対策: grid を 1.0.1 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「grid CVE-2026-42199」を検索してください。
CVE-2026-42199 (grid) — CWE-190 / CVSS v3 6.2
攻撃ベクター: ローカル / 認証不要 / 被害者操作不要
脆弱箇所: get_unchecked / assume / false
修正バージョン: 1.0.1 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
grid に 脆弱性 (CWE-190) があります。攻撃者は get_unchecked を経由して脆弱な処理に到達し、認証なしで悪用できます。
grid の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: get_unchecked / assume / false。
重要度: 中 (CVSS 6.2/10)。不正な操作・情報露出のリスクがあります。
1.0.1 に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1影響範囲の特定 identify
grep -r 'grid' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
gridを grep し、稼働しているサービス・バージョンを把握する。 -
2パッチ適用 patch
Upgrade grid to 1.0.1ステージング環境で 1.0.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3事後検証 verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
参照URL
- advisory nvd.nist.gov
- package github.com
- web github.com
- web github.com
- web github.com
- web github.com