Problem/Motivation
Symfony has released some security fixes. These are in components that are not used in Drupal core, but we should bump the versions of Symfony anyway to avoid vulnerability checkers from complaining.
Steps to reproduce
https://github.com/symfony/symfony/releases/tag/v6.3.8
https://github.com/symfony/symfony/releases/tag/v4.4.51
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
9.5.x
Symfony components have been updated to v4.4.51. This version contains some security fixes. These are in components that are not used in Drupal core, but could trigger false positives from vulnerability checkers.
Also the composer/composer component has been updated to 2.2.22 to fix a known vulnerability
10.0.x
Symfony components have been updated to v6.3.8 . This version contains some security fixes. These are in components that are not used in Drupal core, but could trigger false positives from vulnerability checkers.
Also the composer/composer component has been updated to 2.6.5 to fix a known vulnerability
Issue fork drupal-3400841
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
cilefen commentedWhy v4?
Comment #3
xjm@cilefen Because November is a gray area for Drupal 9 support. We end November 1 because Symfony will not commit to whether their security support for their releases ends at the beginning or the end of the month, but regardless it's meant to correspond to the Symfony EOL. So, since Symfony did a release, it's polite of us to provide one as well as the final patch release of D9. There is also precedent for this from D8 in 8.9.20, which was an actual security update for Drupal 8 to correspond with a Symfony update for Symfony 3 released in November 2021.
Comment #8
spokjeComment #9
spokjeRight...
So 9.5.x MRs don't trigger GitLab CI.
Uploaded the diff from the MR as patch to go through Drupal CI (remember that one, you young hipsters?)
I did:
Also it makes sense to me to bump
composer/composerto deal with https://github.com/advisories/GHSA-jm6m-4632-36hf(We did that for 10.1.x upwards in #3391991: Security update composer/composer (CVE-2023-43655), which was at backporting status)
Comment #10
spokjeComment #12
spokjeNice, 10.0.x doesn't trigger GitLab CI as well...
Diff from MR is patch, did the same as for 9.5.x.
Comment #13
spokjeComment #14
spokjeComment #15
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #16
spokjeYeah, love you too needs-review-queue-bot...
Comment #17
spokjeComment #18
longwaveWondering if we should be even more conservative here and only upgrade the affected packages to cover the security warning? Symfony is pretty good at backward compatibility but if we are to do a 10.0.x release here if we can avoid upgrading all components from Symfony 6.2 to 6.3 I think we should. Similarly the polyfills don't really need to be updated unless we are forced by dependencies of the packages with security updates.
We also need a patch (or MR, this time!) here for 10.1.x.
Comment #19
spokjeAssuming 9.5.x is OK.
For 10.0.x: Not sure we can stay on 6.2.something without actually making changes to the constraints in the
composer.jsons. which would make the new core release more strict than the ones before?Or without doing the changes in the
composer.jsons, keeping the composer.lock and then reverse the changes in thecomposer.jsons.? Which seems like faking/cheating/weird to me.Anyway, this seems to Need Work from somebody.
Comment #20
spokjeComment #22
spokjeI assume this, although deemed critical then, is now outdated and can be closed?
Comment #23
longwaveSince we relaxed the requirements on core-recommended so users could self upgrade to newer patch releases, the security team have stopped receiving notifications and complaints from users running vulnerability scanners, so it looks like we don't need to strictly do this sort of thing any more.
Thanks anyway for your vigilance on these issues!