依存の High 脆弱性 3 件を解消(cryptography / brace-expansion / fast-uri) - #582
Conversation
新規に公開された advisory で CI の依存監査が落ち、main を含む全 PR が ブロックされていた。いずれも修正版がリリース済みのため更新する。 - cryptography 49.0.0 → 50.0.0(CVE-2026-69247) PyJWT[crypto] / google-auth の推移的依存だが、starlette と同じ前例に倣い pyproject.toml へ明示固定する(本リポジトリは全依存を == で固定する方針) - brace-expansion ^5.0.8 → ^5.0.9(GHSA-rgw5-rvv9-x895) - fast-uri ^4.0.0 → ^4.1.2(GHSA-7p8r-x3mc-p8w7) どちらも overrides 済みの推移的依存でバージョン指定を引き上げた allowlist は使わない。到達不能性の議論を要さず修正版へ更新できるため (.claude/rules/security.md)。既存 allowlist(js-yaml / React Router)は変更なし。 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Warning Review limit reached
Next review available in:48 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Uh oh!
There was an error while loading. Please reload this page.
概要
新規に公開された advisory により CI の依存監査(
pip-audit/npm audit)が落ち、main を含む全 PR がブロックされていた。いずれも修正版がリリース済みのため更新する。PR #581(ドラフト縮小 2/7)の CI 失敗もこれが原因で、コード変更とは無関係。
対象
cryptographybrace-expansionfast-uricryptography
PyJWT[crypto]/google-authの推移的依存だが、pyproject.tomlへ明示固定した。本リポジトリは供給網リスク回避のため全依存を==で固定する方針で、starlette(fastapi の推移的依存を CVE 対策で明示固定)と同じ前例に倣っている。uv lock再生成済み。brace-expansion / fast-uri
どちらも
overrides済みの推移的依存(@stryker-mutator/core→minimatch/ajv、openapi-typescript→@redocly/openapi-core)。overrides のバージョン指定を引き上げた。allowlist を使わなかった理由
.claude/rules/security.mdは「High/Critical は--forceで無視せず脆弱なパッケージを更新する」と定めており、allowlist は修正版が存在しない場合の時限措置に限る運用。3 件とも修正版が出ているため到達不能性の議論を要さず更新できる。既存の allowlist 2 件(js-yaml / React Router)は変更していない。どちらも修正版が無く、到達不能性の根拠と見直し期限が登録済み。
検証
make ci: passnode web/scripts/audit-check.mjs: 「High/Critical の未許容 advisory はありません」(残る high 2 件は既存 allowlist のみ)uv exportでcryptography==50.0.0を確認npm ci --dry-run: lockfile 整合 OKpip-auditはローカルの Nix devshell では ensurepip 制約で実行できないため、CI 側で検証する。注意点
package-lock.jsonに副次的な差分がある。npm install --package-lock-onlyを devshell の npm 10.9.7(Node 22)で実行したため、optional 依存に付いていたlibcメタデータ(31 ブロック)が除去された。CI は Node 20 系でnpm ciを実行するのみでロックを書き換えないため影響しない想定だが、この PR の CI で実際に確認する。バージョン差分そのものは brace-expansion / fast-uri の 2 パッケージのみで、node_modules エントリの増減はゼロ。🤖 Generated with Claude Code