Skip to content

Bump symfony/http-client to 7.4.24 and follow-redirects to 1.16.2 🤖 - #1525

Merged
daveearley merged 1 commit into
HiEventsDev:v2.3.1from
apolojokas:bugfix/bump-http-client-follow-redirects
Dec 1, 2026
Merged

daveearley merged 1 commit into
HiEventsDev:v2.3.1from
apolojokas:bugfix/bump-http-client-follow-redirects

Conversation

@apolojokas

Copy link
Copy Markdown

What changes I've made

A lockfile-only security update. composer.json and package.json are untouched.

  • backend/composer.lock: symfony/http-client v7.4.21 → v7.4.24, which fixes CVE-2026-121971 (HIGH, information disclosure via relative URL handling). Done with composer update symfony/http-client --with-dependencies, so symfony/deprecation-contracts, symfony/http-client-contracts and symfony/service-contracts also move from 3.7.x to 3.8.1, all within the same major version. The same bump also clears five lower-rated http-client advisories (CVE-2026-123119, CVE-2026-133750, CVE-2026-133757, CVE-2026-133758 and CVE-2026-134792).
  • frontend/yarn.lock: follow-redirects 1.16.1 → 1.16.2, which fixes CVE-2026-116689 (HIGH, information disclosure via cross-origin redirects). The ^1.16.0 range that axios pulls in is unchanged, so this only updates the one lock entry (3 lines).

The lock's content-hash also changes. composer.json's version was bumped to 2.3.0 in #1514 without refreshing the lock, so composer validate was reporting "The lock file is not up to date". It no longer does.

Why I've made these changes

Both packages are used at runtime: http-client in the backend, and follow-redirects through axios in the SSR server. Trivy flags both as HIGH on current develop. Related to #1155.

Separately, the all-in-one image currently ships libxml2 2.13.9-r2 from Alpine, which is affected by CVE-2026-86144 (fixed in 2.13.9-r3). That one needs no code change: rebuilding the image with apk upgrade (or after the next Alpine base refresh) picks up the fix.

How I've tested these changes

All in clean containers:

  • Backend, as in tests.yml: composer install, then phpunit --testsuite=Unit and --testsuite=Feature against Postgres 15, on PHP 8.3 and 8.5. All green: Unit 3140 tests, Feature 3196 tests, no failures.
  • Frontend, as in frontend/Dockerfile.ssr (node:22-alpine): yarn install --frozen-lockfile, yarn build:ssr:client, yarn build:ssr:server, and the --production install. All succeed, and follow-redirects 1.16.2 is what gets installed.
  • trivy fs on the lockfiles before and after: both HIGH findings are gone and no new ones appear.

Checklist

  • I have read the contributing guidelines.
  • My code follows the coding standards of the project.
  • I have tested my changes, and they work as expected.
  • I understand that this PR will be closed if I do not follow the contributor guidelines and if this PR template is left unedited.

Prepared with the help of an AI assistant, and reviewed by a human before submitting.

Lockfile-only security update.

- backend/composer.lock: symfony/http-client v7.4.21 -> v7.4.24
  (CVE-2026-121971, GHSA-gq53-v8w2-gjhj), via
  `composer update symfony/http-client --with-dependencies`, which also
  moves symfony/deprecation-contracts, http-client-contracts and
  service-contracts to 3.8.1.
- frontend/yarn.lock: follow-redirects 1.16.1 -> 1.16.2
  (CVE-2026-116689, GHSA-mrwp-f3q8-3g9p). The ^1.16.0 range is unchanged.

No changes to composer.json or package.json. 🤖
@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@apolojokas

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

@daveearley
daveearley changed the base branch from develop to v2.3.1 December 1, 2026 21:10
@daveearley
daveearley merged commit 8ca305a into HiEventsDev:v2.3.1 Dec 1, 2026
2 of 3 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 1, 2026
@daveearley

daveearley commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Appreciate the contribution, and the thorough testing notes. Merged into the release/community-prs branch.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants