-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Magento <2.4.6 (2.4.4 & 2.4.5) forces us to use an unsupported version of Symfony. #39338
Comments
Hi @youwe-erik. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
FYI: One of the ugly workarounds basically is: composer require symfony/process:"5.4.46 as 4.4.44" |
Note that it's not as critical as it sounds, since the vulnerability only exists on Windows based systems. Magento is officially not supported to run on Windows... But would still be nice indeed to be able to update to supported versions of symfony package(s). On Magento 2.4.6-pX the issue also exists, because in 2.4.6-p2 the constraint |
@hostep you mean in the composer root right? We resolved that by increasing the package from "symfony/process": "<=v5.4.23" to "symfony/process": "<=v5.4.46" or "symfony/process": "<v5.5" |
Yeah I know, but I don't want to do that before I know the reason why Adobe decided to add that constraint in the first place. |
@hostep You are right, but this was to atleast tell others who have the issue how to resolve it for now. It seems to be added specific for magento/magento2-functional-testing-framework as well in 4.4.0 / . Im also wondering since i got a dependency conflict if i can safely upgrade magento to the latest version: to resolve the issues. |
Here's a reply from Adobe (@chernenm) on Slack:
So for people on 2.4.6, I think we can then remove that If you add the following to the "audit": {
"ignore": {
"CVE-2024-51736": "Only applies to Windows"
},
"abandoned": "report"
} This will still output the issue when running |
Hi @youwe-erik, Thanks for your reporting and collaboration. The Magento core engineering team is working on the issue and may do further implementation to cover few more scenarios as needed. We will reach out to you if we need more information. Hence moving this issue to Thank you once again! |
Summary:
Magento 2.4.4 and 2.4.5 require:
"symfony/console": "~4.4.0",
"symfony/event-dispatcher": "~4.4.0",
"symfony/process": "~4.4.0",
These versions of Symfony (v4) have not and will not receive security updates for about a year now (source: https://symfony.com/releases - "End of support: Nov 2023").
A critical issue has been reported for the "symfony/process" package ( CVE-2024-51736 ) and we currently cannot get around this except by using ugly workarounds.
Preconditions (*)
Magento 2.4.4-p* and Magento 2.4.5-p*
Steps to reproduce (*)
Install any Magento 2.4.4 or 2.4.5 project and try to update the Symfony packages to a supported version.
Expected result (*)
Magento does not require unsupported packages.
Actual result (*)
Magento is forcing us to install unsupported v4 versions of Symfony.
The text was updated successfully, but these errors were encountered: