Repository navigation
Update bundled symfony/yaml and symfony/filesystem to 7.4.23 - #201
Merged
Merged
Conversation
The scoped runtime in lib/ ships symfony/yaml 7.4.21 and symfony/filesystem 7.4.0. Symfony 7.4.23 fixes two published advisories that composer audit reports for these versions: - symfony/yaml: GHSA-hwfg-qwvh-2wfx (PKSA-nktx-f1n1-b4yd), exponential and quadratic parse times in the YAML parser - symfony/filesystem: GHSA-6prc-h956-hxjq (PKSA-g499-cm4q-v35y), any prefix before "://" is treated as a path root Only symfony/yaml and symfony/filesystem change in composer.lock. lib/symfony/yaml is rebuilt with composer scope on PHP 8.4. composer scope does not rebuild lib/symfony/filesystem (it is not part of the scoped package list), so it is prefixed with php-scoper and the same scoper.inc.php configuration. Scoping 7.4.23 reproduces the existing 7.4.0 file set, and the diff against lib/ contains only upstream changes.
Contributor
|
Merged and released in 7.7.13, included in 12440a6. The bundled, scoped Symfony YAML and Filesystem libraries are now 7.4.23. Locked Composer security audits, dependency isolation, runtime regressions, and the full CI and distribution suites passed. Thanks for catching this and preparing the update. |
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.
The scoped runtime in
lib/shipssymfony/yaml7.4.21 andsymfony/filesystem7.4.0. Both are affected by advisories fixed in Symfony 7.4.23, published after Blockstudio 7.7.12 (which bundles the affected versions):symfony/yaml: GHSA-hwfg-qwvh-2wfx (PKSA-nktx-f1n1-b4yd), exponential and quadratic parse times in the YAML parser.Page_Markdown::parse_yaml()uses it for the frontmatter of file-based pages.symfony/filesystem: GHSA-6prc-h956-hxjq (PKSA-g499-cm4q-v35y), any prefix before://is treated as a path root. In the bundled runtime only scssphp callsPath::canonicalize()andPath::makeRelative().Both are listed by
composer audit --lockedonmain. As with the earlier updates, they sit underrequire-dev, so dependency alerts for sites running the plugin do not report them.Changes
composer update symfony/yaml symfony/filesystem --with symfony/yaml:7.4.23 --with symfony/filesystem:7.4.23: only these two packages change incomposer.lock(yaml 7.4.21 to 7.4.23, filesystem 7.4.0 to 7.4.23, both within the existing constraints). Thesource.referencevalues match the commits behind thev7.4.23tags.lib/symfony/yamlrebuilt withcomposer scope(PHP 8.4, as in CI).lib/symfony/filesystem:composer scopedoes not rebuild this package (it is not inblockstudio-scoped-packages), so I prefixed it with php-scoper and the repository'sscoper.inc.php. Scoping 7.4.23 yields the same 12 files as the current copy, and the diff againstlib/contains only upstream changes.lib/dependencies/versions.jsonnames the new versions.classmap.phpis unchanged (no new classes).Note for review: filesystem moves 23 patch releases, so besides the advisory fix it picks up other 7.4 bugfixes (for example
Path::normalize()no longer rewrites backslashes on UNIX, andremove()/mirror()/tempnam()fixes).Checks
composer audit --locked: two advisories before, none after.composer scope -- --check: private dependencies match the lockfile.composer test:dependencies: isolation passes (clean, before, after) and the updater integration passes.php -lon all changed PHP files.Yaml::parse()reads frontmatter as before and rejects pathological nesting and alias input;Path::canonicalize()andPath::makeRelative()behave as expected; scssphp compiles an@importplus@extendstylesheet through the bundledPathhelper.Full suites and E2E are left to CI, as described in
AGENTS.md.