Update security-flagged dependencies and require PHP 8.4 (#1564)#1569
Merged
Conversation
Bumps the packages reported by CVE/GHSA scans in #1564 to their patched releases (with transitive dependencies): - symfony/http-foundation 7.3.1 -> 7.4.14 (CVE-2025-64500 / GHSA-3rg7-wf37-54rm) - phpunit/phpunit 10.5.47 -> 10.5.64 (CVE-2026-24765 / GHSA-vvj3-c3rp-c85p) - aws/aws-sdk-php 3.349.3 -> 3.388.0 (GHSA-27qh-8cxx-2cr5) - enshrined/svg-sanitize 0.21.0 -> 0.22.0 (GHSA-22wq-q86m-83fh) Some transitive dependencies now require PHP 8.4, which matches the runtime shipped in the official LinuxServer image, so the composer requirement is raised to ^8.4, CI is pinned to PHP 8.4, and the readme is updated to match. The remaining advisories in the report (php84, curl, libpq, git, sqlite, busybox, coreutils) come from the LinuxServer base image, not this repository, and are addressed by rebuilding the image on an updated base. Refs #1564
a139e93 to
f69cbba
Compare
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Refs #1564. The CVE/GHSA scan flagged several outdated Composer packages.
Change
Some transitive dependencies pulled in by these updates now require PHP 8.4 — which matches the PHP runtime already shipped in the official LinuxServer image (
php84). Rather than pinning the dependency tree back to the old floor, this bumps the project baseline to 8.4:composer.jsonrequire.php→^8.4php-version→8.4readme.mdupdated (Laravel 11, PHP >= 8.4)The refreshed
vendor/tree is included (this repo vendors its dependencies).Out of scope
The remaining advisories in the report —
php84,curl,libpq,git,sqlite-libs,busybox,coreutils— are OS packages from the LinuxServer base image, resolved by rebuilding the image on an updated base, not by a Composer change.Verification
Full suite green (34 passing, 1 pre-existing skip) on PHP 8.4 / phpunit 10.5.64;
SVGSanitizerTest(which exercisesenshrined/svg-sanitize) passes on 0.22.0.