Update dependency composer/composer to ^2.2.12 [SECURITY] - autoclosed #239
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.
This PR contains the following updates:
^2.2.0->^2.2.12GitHub Vulnerability Alerts
CVE-2022-24828
The Composer method
VcsDriver::getFileContent()with user-controlled$fileor$identifierarguments is susceptible to an argument injection vulnerability. It can be leveraged to gain arbitrary command execution if the Mercurial or the Git driver are used.This led to a vulnerability on Packagist.org and Private Packagist, i.e., using the composer.json
readmefield as a vector for injecting parameters into the$fileargument for the Mercurial driver or via the$identifierargument for the Git and Mercurial drivers.Composer itself can be attacked through branch names by anyone controlling a Git or Mercurial repository, which is explicitly listed by URL in a project's composer.json.
To the best of our knowledge, this was not actively exploited. The vulnerability has been patched on Packagist.org and Private Packagist within a day of the vulnerability report.
Release Notes
composer/composer
v2.2.12Compare Source
lockconfig option is disabled (#10726)validatecommand checking the lock file even if thelockoption is disabled (#10723)v2.2.11Compare Source
self-updateto pin the Composer version to the 2.2 LTS range (#10682)v2.2.10Compare Source
v2.2.9Compare Source
v2.2.8Compare Source
filesautoloading sort order to be fully deterministic (#10617)requirecommand failing whenself.versionis used as constraint (#10593)v2.2.7Compare Source
licensescommand output (#10537)allow-plugins: falsewhich kept warning (#10530)initcommand requiring an email whereas the schema allows a name only (#10538)requirecommand when requiring packages which do not exist (but are provided by something else you require) (#10541)v2.2.6Compare Source
COMPOSER_BIN_DIRenv var for binaries added in Composer 2.2.2 had to be renamed toCOMPOSER_RUNTIME_BIN_DIR(#10512)enum foo:stringwithout space after:(#10498)reinstallcommand not firingpre-install-cmd/post-install-cmdevents (#10514)v2.2.5Compare Source
composer/package-versions-deprecatedby default as it can function usingComposer\InstalledVersionsat runtime (#10458)v2.2.4Compare Source
v2.2.3Compare Source
v2.2.2Compare Source
COMPOSER_BIN_DIRenv var and_composer_bin_dirglobal containing the path to the bin-dir for binaries. Packages relying on finding the bin dir with$BASH_SOURCES[0]will need to update their binaries (#10402)v2.2.1Compare Source
Configuration
📅 Schedule: Branch creation - "" in timezone UTC, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
Read more about the use of Renovate Bot within
ocramius/*projects.