Problem/Motivation
Discussed this with @longwave who discussed it with @greggles, both from the Security Team, and this CVE was found suitable to be handled in public.
Steps to reproduce
$ composer audit
Found 1 security vulnerability advisory affecting 1 package:
+-------------------+-------------------------------------------------------------------------------+
| Package | composer/composer |
| CVE | CVE-2023-43655 |
| Title | Composer Remote Code Execution vulnerability via web-accessible composer.phar |
| URL | https://github.com/advisories/GHSA-jm6m-4632-36hf |
| Affected versions | >=2.3.0,<2.6.4|>=2.0.0,<2.2.22|<1.10.27 |
| Reported at | 2023-09-29T20:39:21+00:00 |
+-------------------+-------------------------------------------------------------------------------+
Proposed resolution
Update composer/composer to 2.6.4 and bump the version in composer.json to this one.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 3391991-10.1.x-5.patch | 6.33 KB | spokje |
| #2 | CVE-2023-43655.patch | 6.33 KB | spokje |
Comments
Comment #2
spokjeComment #3
spokjeComment #4
spokjeComment #5
spokjeComment #6
spokjeComment #7
spokjeComment #8
longwaveThank you for spotting this and providing the patches.
Comment #10
catchComment #11
catchCommitted/pushed to 11.x and 10.1.x, thanks!
Do we also want to backport this to 10.0.x and 9.5.x? Moving to 10.0.x in case the answer is yes.
Comment #14
spokjeUnsure, we didn't backport JavaScript yarn-dependencies with similar dev-dependency only CVEs below 10.1.x.
Comment #15
spokjeLet's do the porting down in #3400841: Update Symfony to v6.3.8 / v4.4.51