Skip to content

fix: update symfony/http-client for security advisories - #97

Merged
shimomo merged 1 commit into
gh-pagesfrom
fix/symfony-http-client-advisories
Dec 3, 2026
Merged

shimomo merged 1 commit into
gh-pagesfrom
fix/symfony-http-client-advisories

Conversation

@shimomo

@shimomo shimomo commented Dec 3, 2026

Copy link
Copy Markdown
Member

概要

Audit ワークフロー(composer audit --locked)が 11/27 から毎日失敗しているため、symfony/http-client を更新します。

パッケージ 更新 アドバイザリ
symfony/http-client v8.1.11 → v8.1.13 CVE-2026-133750(withOptions() で資格情報を設定した CachingHttpClient が、ユーザー間でレスポンスを共有する)ほか 3 件

ほかの 3 件は次のとおりです。いずれも v8.1.12 で修正されています。

  • CVE-2026-133757: NoPrivateNetworkHttpClient が、リダイレクト先の別オリジンへ、包んでいるクライアントの既定の資格情報を送る
  • CVE-2026-133758: NoPrivateNetworkHttpClient が、包んでいるクライアント自身の既定オプション(証明書のピン留めなど)を無視させる
  • CVE-2026-134792: CLI SAPI で動く HTTP ワーカーで、リクエストの Proxy ヘッダーが送信時のプロキシを選べてしまう

composer.lock だけの変更です。

補足

  • symfony/http-client は bvp/scraper 経由の間接依存です。そのため、Dependabot の毎月のまとめ更新では上がりません。また、4 件とも GitHub の Advisory Database に載っておらず、Dependabot のアラートも出ていません。
  • 版を指定せずに更新すると v8.2.0(11/28 リリースの minor 版)が入ります。今回は api と同じ v8.1.13 にとどめました。Sync が約 10 分ごとにこのクライアントで取得しているのに対し、テストは HTTP の取得まで確かめていないためです。

確認

  • composer audit --locked: No security vulnerability advisories found.
  • vendor/bin/phpunit: OK (4 tests, 10 assertions)
  • vendor/bin/psalm: エラーなし
  • composer validate: valid

🤖 Generated with Claude Code

composer audit has failed since 11/27 on four advisories in
symfony/http-client v8.1.11 (CVE-2026-133750, CVE-2026-133757,
CVE-2026-133758 and CVE-2026-134792), all fixed in v8.1.12. It comes
in through bvp/scraper, so the monthly Dependabot group update leaves
it alone, and the advisories are not in the GitHub Advisory Database,
so no Dependabot alert was raised either.

Update it to v8.1.13, the same as api, rather than v8.2.0: the sync
uses this client every ten minutes and the tests do not exercise it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shimomo
shimomo merged commit b003fe6 into gh-pages Dec 3, 2026
3 checks passed
@shimomo
shimomo deleted the fix/symfony-http-client-advisories branch December 3, 2026 17:43
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