Skip to content

chore(deps): http-cache-semantics 4.3.0 と fast-uri 3.1.9 に更新する - #321

Merged
azumag merged 2 commits into
mainfrom
security/deps-http-cache-semantics-fast-uri
Oct 22, 2026
Merged

azumag merged 2 commits into
mainfrom
security/deps-http-cache-semantics-fast-uri

Conversation

@azumag

@azumag azumag commented Oct 21, 2026

Copy link
Copy Markdown
Owner

目的

npm audit で検出されている http-cache-semantics(high)と fast-uri(moderate)を、既存の依存範囲内の前進更新で解消する。Vite は既存 #319、Node/Wrangler は #320 で扱う。

対象 base: main 1743011be975b64b1f349e5a2c99e2ac30a4e58e

変更点(package-lock.json のみ)

package before after 経路 分類
fast-uri 3.1.7 3.1.9 @astrojs/check → language-server → yaml-language-server → ajv dev
http-cache-semantics 4.2.0 4.3.0 astro prod (build tool)

それ以外の lock entry の版・分類は変わらない(スクリプトで全 entry を比較)。

到達性・根拠

検証(Node v22.23.4 / npm 10.9.9)

  • npm ci / npm run check: 0 errors, 0 warnings, 23 hints(main と同数)
  • npm run build: 11 pages。dist は main と同一(diff -rq 差分なし)
  • npm audit: 残りは vite(chore(deps): bump vite from 8.2.0 to 8.3.4 #319 で解消)のみ
  • git diff --check: OK

🤖 Generated with Claude Code

既存の依存範囲内 (astro: http-cache-semantics ^4.2.0、ajv: fast-uri ^3.0.1) で
lockfile だけを更新する。

- fast-uri 3.1.9: GHSA-hrr3-gc8f-f4qj (修正 3.1.8) に加え、3.1.9 の
  security release で公表された4件を含む
- http-cache-semantics 4.3.0: GHSA-ch52-4w7c-c8xp の対象範囲 (<=4.2.0) の外。
  ただし 4.3.0 は max-stale 処理を変更しておらず、upstream は報告を
  不当として close、advisory は異議申立て中。本サイトでは Astro の
  ビルド時リモート画像取得でのみ使われ、リモート画像の許可設定がないため
  配信経路には到達しない

dist は main と同一。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

🔍 Cloudflare Workers preview: https://bluemoon-pr-321.tsubasa-azumagakito.workers.dev
Worker: bluemoon-pr-321

(このコメントは新しいpushのたびに更新されます)

npm 10.9.9 で更新した lockfile は既存 24 entry の libc フィールドを
落とし、glibc runner でも musl 版 binary が入っていた。main の lockfile を
書いている npm 11 系 (11.19.1) で作り直し、main との差分を
http-cache-semantics / fast-uri の版だけにする。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WthszjoYsBn39cjTaRXQ5M
@azumag
azumag merged commit 8831a1e into main Oct 22, 2026
3 checks passed
@azumag
azumag deleted the security/deps-http-cache-semantics-fast-uri branch October 22, 2026 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant