Update dependency composer/composer to ^2.7.7 [SECURITY] - autoclosed #145
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.7
GitHub Vulnerability Alerts
CVE-2024-35241
Impact
The
status
,reinstall
andremove
commands with packages installed from source via git containing specially crafted branch names in the repository can be used to execute code.Patches
2.2.24 for 2.2 LTS or 2.7.7 for mainline
Workarounds
Avoid installing dependencies via git by using
--prefer-dist
or thepreferred-install: dist
config setting.CVE-2024-35242
Impact
The
composer install
command running inside a git/hg repository which has specially crafted branch names can lead to command injection. So this requires cloning untrusted repositories.Patches
2.2.24 for 2.2 LTS or 2.7.7 for mainline
Workarounds
Avoid cloning potentially compromised repositories.
Release Notes
composer/composer (composer/composer)
v2.7.7
Compare Source
fa3b958
)3c37a67
)3773f77
)de5f7e3
)3130a74
,04a63b3
)config
command to remove autoload keys (#11967)type
support ininit
command (#11999)safe.bareRepository
is set tostrict
in the git config (#11969)v2.7.6
Compare Source
v2.7.5
Compare Source
uninstall
alias toremove
command (#11951)100
as code (#11954)v2.7.4
Compare Source
Call to undefined method ProxyManager::needsTransitionWarning()
) with projects requiring composer/composer in an pre-2.7.3 version (#11943, #11940)v2.7.3
Compare Source
https_proxy
env var falling back tohttp_proxy
's value, this is still in place but with a warning for now, and https_proxy can now be set empty to remove the fallback. Composer 2.8.0 will remove the fallback so make sure you heed the warnings (#11915)show
andoutdated
commands to remove leadingv
in e.g.v1.2.3
when showing lists of packages (#11925)audit
command not showing any id when no CVE is present, the advisory ID is now shown (#11892)project
type as those are typically not versioned and do not have cyclic dependencies (#11885)clear-cache
command to respect the config.cache-dir setting from the local composer.json (#11921)status
command not handling failed download/install promises correctly (#11889)buy_me_a_coffee
in GitHub funding files (#11902)hg
support for SSH urls (#11878)v2.7.2
Compare Source
composer --version
(#11866)c3efff9
)outdated --ignore ...
still attempting to load the latest version of the ignored packages (#11863)update --lock
still incorrectly updating some metadata (#11850, #11787)v2.7.1
Compare Source
diagnose
auditing of Composer dependencies failing when running from the pharConfiguration
📅 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 information about the use of Renovate Bot within Laminas.