deps: symfony/http-client 7.4.19 -> 7.4.25 (six advisories) #137

Open
jared wants to merge 1 commits from deps-symfony-http-client into development
pull from: deps-symfony-http-client
Owner

The composer audit step I'm adding to CI (#136) found six advisories against the symfony/http-client that prod runs (7.4.19). They are fixed in 7.4.23 and 7.4.24:

Advisory Issue
CVE-2026-121971 ScopingHttpClient sends its default scope's credentials to other origins
CVE-2026-123119 NoPrivateNetworkHttpClient doesn't pin the checked IP (DNS rebinding)
CVE-2026-133750 CachingHttpClient shares responses between users when credentials are set
CVE-2026-133757 / 133758 NoPrivateNetworkHttpClient leaks or ignores the decorated client's defaults
CVE-2026-134792 a request's proxy header picks the proxy for outgoing requests

Tinker uses the client only in the MCP endpoint, to fetch Authelia's OIDC discovery document and JWKS. None of these seems reachable from there, but the fix is a patch release within the existing constraint.

Change

  • Only composer.lock changes. composer.json already allows ^7.3.
  • Ran composer update symfony/http-client --with-dependencies, with platform PHP 8.2 as set in composer.json:
    • http-client 7.4.25;
    • http-client-contracts, service-contracts and deprecation-contracts 3.8.1;
    • polyfill-php83 1.43.0.
  • The deploy scripts run composer install from the lock, so beta and prod pick it up on deploy.

Still flagged, handled separately

mcp/sdk 0.8.1 has GHSA-f4rf-6ghj-mhr6 (low): unbounded request bodies on the SDK's /token and /register OAuth proxy endpoints. Tinker doesn't use OAuthProxyMiddleware or ClientRegistrationMiddleware, so it isn't exposed. The fix is in 0.9.0, which breaks the auth API Tinker uses, so the upgrade is its own issue. CI will ignore that one advisory, with the reason recorded next to the ignore.

Verification

  • composer audit --locked: 7 advisories before, 1 after (the mcp/sdk one above).
  • Baseline today (prod and beta):
    • /mcp without a token returns 401 with a resource_metadata challenge.
    • With a well-formed JWT carrying an unknown kid, it returns 401 invalid_token. To reject the kid, the server has to fetch Authelia's JWKS through this client, so this exercises the upgraded code.
    • After the beta deploy I'll repeat both checks.
  • The local MCP tool tests (tests/api/mcp_test.php, coming in the CI PR) pass 30/30 on the new vendor tree.

🤖 Generated with Claude Code

The `composer audit` step I'm adding to CI (#136) found six advisories against the `symfony/http-client` that prod runs (7.4.19). They are fixed in 7.4.23 and 7.4.24: | Advisory | Issue | |---|---| | CVE-2026-121971 | ScopingHttpClient sends its default scope's credentials to other origins | | CVE-2026-123119 | NoPrivateNetworkHttpClient doesn't pin the checked IP (DNS rebinding) | | CVE-2026-133750 | CachingHttpClient shares responses between users when credentials are set | | CVE-2026-133757 / 133758 | NoPrivateNetworkHttpClient leaks or ignores the decorated client's defaults | | CVE-2026-134792 | a request's proxy header picks the proxy for outgoing requests | Tinker uses the client only in the MCP endpoint, to fetch Authelia's OIDC discovery document and JWKS. None of these seems reachable from there, but the fix is a patch release within the existing constraint. ## Change - Only `composer.lock` changes. `composer.json` already allows `^7.3`. - Ran `composer update symfony/http-client --with-dependencies`, with platform PHP 8.2 as set in `composer.json`: - http-client 7.4.25; - http-client-contracts, service-contracts and deprecation-contracts 3.8.1; - polyfill-php83 1.43.0. - The deploy scripts run `composer install` from the lock, so beta and prod pick it up on deploy. ## Still flagged, handled separately `mcp/sdk` 0.8.1 has GHSA-f4rf-6ghj-mhr6 (low): unbounded request bodies on the SDK's `/token` and `/register` OAuth proxy endpoints. Tinker doesn't use `OAuthProxyMiddleware` or `ClientRegistrationMiddleware`, so it isn't exposed. The fix is in 0.9.0, which breaks the auth API Tinker uses, so the upgrade is its own issue. CI will ignore that one advisory, with the reason recorded next to the ignore. ## Verification - `composer audit --locked`: 7 advisories before, 1 after (the `mcp/sdk` one above). - **Baseline today (prod and beta):** - `/mcp` without a token returns 401 with a `resource_metadata` challenge. - With a well-formed JWT carrying an unknown `kid`, it returns 401 `invalid_token`. To reject the `kid`, the server has to fetch Authelia's JWKS through this client, so this exercises the upgraded code. - After the beta deploy I'll repeat both checks. - The local MCP tool tests (`tests/api/mcp_test.php`, coming in the CI PR) pass 30/30 on the new vendor tree. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jared added 1 commit 2026-11-29 00:16:43 -05:00
deps: symfony/http-client 7.4.19 -> 7.4.25 (six advisories)
Lint / PHP (phpcs PSR-12) (push) Successful in 41s
Lint / JS (eslint) (push) Successful in 24s
Lint / PHP requirements (version + extensions) (push) Successful in 48s
Lint / Deploy (push) Skipped
Lint / Notify on failure (push) Skipped
Lint / PHP (phpcs PSR-12) (pull_request) Successful in 35s
Lint / JS (eslint) (pull_request) Successful in 14s
Security / PHP Security (semgrep) (push) Successful in 2m5s
Lint / PHP requirements (version + extensions) (pull_request) Successful in 40s
Lint / Deploy (pull_request) Skipped
Lint / Notify on failure (pull_request) Skipped
Security / PHP Security (semgrep) (pull_request) Successful in 2m11s
96adfae6e4
composer audit reports six advisories against symfony/http-client
7.4.19, fixed in 7.4.23/7.4.24: CVE-2026-121971, CVE-2026-123119,
CVE-2026-133750, CVE-2026-133757, CVE-2026-133758, CVE-2026-134792
(credentials sent to other origins, cached responses shared between
users, DNS rebinding past NoPrivateNetworkHttpClient, proxy chosen by a
request header). The MCP endpoint uses the client to fetch Authelia's
OIDC discovery and JWKS.

`composer update symfony/http-client --with-dependencies` (platform PHP
8.2, as composer.json sets): http-client 7.4.25, http-client-contracts,
service-contracts and deprecation-contracts 3.8.1, polyfill-php83 1.43.0.
composer.json is unchanged (^7.3 already allows it); deploys run
composer install from the lock.

Found by the composer audit step being added to CI (#136).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
All checks were successful
Lint / PHP (phpcs PSR-12) (push) Successful in 41s
Required
Details
Lint / JS (eslint) (push) Successful in 24s
Required
Details
Lint / PHP requirements (version + extensions) (push) Successful in 48s
Required
Details
Lint / Deploy (push) Skipped
Lint / Notify on failure (push) Skipped
Lint / PHP (phpcs PSR-12) (pull_request) Successful in 35s
Lint / JS (eslint) (pull_request) Successful in 14s
Security / PHP Security (semgrep) (push) Successful in 2m5s
Required
Details
Lint / PHP requirements (version + extensions) (pull_request) Successful in 40s
Lint / Deploy (pull_request) Skipped
Lint / Notify on failure (pull_request) Skipped
Security / PHP Security (semgrep) (pull_request) Successful in 2m11s
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin deps-symfony-http-client:deps-symfony-http-client
git checkout deps-symfony-http-client
Sign in to join this conversation.