Update dependency composer/composer to ^2.7.0 [SECURITY]#253
Merged
Ocramius merged 1 commit intoFeb 8, 2024
Conversation
| datasource | package | from | to | | ---------- | ----------------- | ----- | ----- | | packagist | composer/composer | 2.6.6 | 2.7.0 |
Ocramius
approved these changes
Feb 8, 2024
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.
This PR contains the following updates:
^2.6.6->^2.7.0GitHub Vulnerability Alerts
CVE-2024-24821
Impact
Several files within the local working directory are included during the invocation of Composer and in the context of the executing user.
As such, under certain conditions arbitrary code execution may lead to local privilege escalation, provide lateral user movement or malicious code execution when Composer is invoked within a directory with tampered files.
All Composer CLI commands are affected, including composer.phar's self-update.
The following are of high risk:
Patches
2.7.0, 2.2.23
Workarounds
Where not possible, the following should be addressed:
vendor/composer/InstalledVersions.phpandvendor/composer/installed.phpdo not include untrusted code.A reset can also be done on these files by the following:
Release Notes
composer/composer (composer/composer)
v2.7.0Compare Source
audit.abandonedconfig setting tofail, set it toreportorignoreif you do not want this, or set it viaCOMPOSER_AUDIT_ABANDONEDenv var (#11643)update/require/removecommands to perform partial update with --with-dependencies while changing only what is absolutely necessary in transitive dependencies (#11665)outdated/showcommands to allow sorting by and displaying the release date (most outdated first) (#11762)--selfcombined with--installedor--lockedinshowcommand, to add the root package to the package list being output (#11785)auditcommand output (#11702)scripts-aliasestop level key in composer.json to define aliases for custom scripts you defined (#11666)COMPOSER_IPRESOLVEenv var to force IPv4 or IPv6, set it to4or6(#11791)outdated's --ignore arg (#11831)bumpcommand bumping*to>=current version(#11694)validatecommand (#11829)installwhen running in very verbose (-vv) mode (#11763)diagnosecommand (#11761)diagnosecommand output (#11688)show --direct <package>with an indirect/transitive dependency (#11728)COMPOSER_FUND=0env var to hide calls for funding (#11779)bumpcommand not bumping packages required with avprefix (#11764)update --locknot keeping the dist reference/url/checksum pinned (#11787)requirecommand crashing at the end if no lock file is present (#11814)requirecommand (#11716)requirecommand (#11747)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.