Update dependency composer/composer to ^2.7.0 [SECURITY] #761
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.4
->^2.7.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
GitHub 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.php
andvendor/composer/installed.php
do not include untrusted code.A reset can also be done on these files by the following:
Release Notes
composer/composer (composer/composer)
v2.7.0
Compare Source
audit.abandoned
config setting tofail
, set it toreport
orignore
if you do not want this, or set it viaCOMPOSER_AUDIT_ABANDONED
env var (#11643)update
/require
/remove
commands to perform partial update with --with-dependencies while changing only what is absolutely necessary in transitive dependencies (#11665)outdated
/show
commands to allow sorting by and displaying the release date (most outdated first) (#11762)--self
combined with--installed
or--locked
inshow
command, to add the root package to the package list being output (#11785)audit
command output (#11702)scripts-aliases
top level key in composer.json to define aliases for custom scripts you defined (#11666)COMPOSER_IPRESOLVE
env var to force IPv4 or IPv6, set it to4
or6
(#11791)outdated
's --ignore arg (#11831)bump
command bumping*
to>=current version
(#11694)validate
command (#11829)install
when running in very verbose (-vv) mode (#11763)diagnose
command (#11761)diagnose
command output (#11688)show --direct <package>
with an indirect/transitive dependency (#11728)COMPOSER_FUND=0
env var to hide calls for funding (#11779)bump
command not bumping packages required with av
prefix (#11764)update --lock
not keeping the dist reference/url/checksum pinned (#11787)require
command crashing at the end if no lock file is present (#11814)require
command (#11716)require
command (#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.