laminas / laminas-component-installer

Composer plugin for injecting modules and configuration providers into application configuration
https://docs.laminas.dev/laminas-component-installer/
BSD 3-Clause "New" or "Revised" License
27 stars 12 forks source link

Update dependency composer/composer to ^2.7.7 [SECURITY] - autoclosed #81

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
composer/composer (source) ^2.7.0 -> ^2.7.7 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2024-35241

Impact

The status, reinstall and remove 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 the preferred-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`](https://togithub.com/composer/composer/blob/HEAD/CHANGELOG.md#277-2024-06-10) [Compare Source](https://togithub.com/composer/composer/compare/2.7.6...2.7.7) - Security: Fixed command injection via malicious git branch name (GHSA-47f6-5gq3-vx9c / CVE-2024-35241) - Security: Fixed multiple command injections via malicious git/hg branch names (GHSA-v9qv-c7wm-wgmf / CVE-2024-35242) - Security: Fixed secure-http checks that could be bypassed by using malformed URL formats ([`fa3b958`](https://togithub.com/composer/composer/commit/fa3b9582c)) - Security: Fixed Filesystem::isLocalPath including windows-specific checks on linux ([`3c37a67`](https://togithub.com/composer/composer/commit/3c37a67c)) - Security: Fixed perforce argument escaping ([`3773f77`](https://togithub.com/composer/composer/commit/3773f775)) - Security: Fixed handling of zip bombs when extracting archives ([`de5f7e3`](https://togithub.com/composer/composer/commit/de5f7e32)) - Security: Fixed Windows command parameter escaping to prevent abuse of unicode characters with best fit encoding conversion ([`3130a74`](https://togithub.com/composer/composer/commit/3130a7455), [`04a63b3`](https://togithub.com/composer/composer/commit/04a63b324)) - Fixed PSR violations for classes not matching the namespace of a rule being hidden, this may lead to new violations being shown ([#​11957](https://togithub.com/composer/composer/issues/11957)) - Fixed UX when a plugin is still in vendor dir but is not required nor allowed anymore after changing branches ([#​12000](https://togithub.com/composer/composer/issues/12000)) - Fixed new platform requirements from composer.json not being checked if the lock file is outdated ([#​12001](https://togithub.com/composer/composer/issues/12001)) - Fixed ability for `config` command to remove autoload keys ([#​11967](https://togithub.com/composer/composer/issues/11967)) - Fixed empty `type` support in `init` command ([#​11999](https://togithub.com/composer/composer/issues/11999)) - Fixed git clone errors when `safe.bareRepository` is set to `strict` in the git config ([#​11969](https://togithub.com/composer/composer/issues/11969)) - Fixed regression showing network errors on PHP <8.1 ([#​11974](https://togithub.com/composer/composer/issues/11974)) - Fixed some color bleed from a few warnings ([#​11972](https://togithub.com/composer/composer/issues/11972)) ### [`v2.7.6`](https://togithub.com/composer/composer/blob/HEAD/CHANGELOG.md#276-2024-05-04) [Compare Source](https://togithub.com/composer/composer/compare/2.7.5...2.7.6) - Fixed regression when script handlers add an autoloader which uses a private callback ([#​11960](https://togithub.com/composer/composer/issues/11960)) ### [`v2.7.5`](https://togithub.com/composer/composer/blob/HEAD/CHANGELOG.md#275-2024-05-03) [Compare Source](https://togithub.com/composer/composer/compare/2.7.4...2.7.5) - Added `uninstall` alias to `remove` command ([#​11951](https://togithub.com/composer/composer/issues/11951)) - Added workaround for broken curl versions 8.7.0/8.7.1 causing transport exceptions ([#​11913](https://togithub.com/composer/composer/issues/11913)) - Fixed root usage warnings showing up within Podman containers ([#​11946](https://togithub.com/composer/composer/issues/11946)) - Fixed config command not handling objects correctly in some conditions ([#​11945](https://togithub.com/composer/composer/issues/11945)) - Fixed binary proxies not containing the correct path if the project dir is a symlink ([#​11947](https://togithub.com/composer/composer/issues/11947)) - Fixed Composer autoloader being overruled by project autoloaders when they are loaded by event handlers (scripts/plugins) ([#​11955](https://togithub.com/composer/composer/issues/11955)) - Fixed TransportException (http failures) not having a distinct exit code, should now exit with `100` as code ([#​11954](https://togithub.com/composer/composer/issues/11954)) ### [`v2.7.4`](https://togithub.com/composer/composer/blob/HEAD/CHANGELOG.md#274-2024-04-22) [Compare Source](https://togithub.com/composer/composer/compare/2.7.3...2.7.4) - Fixed regression (`Call to undefined method ProxyManager::needsTransitionWarning()`) with projects requiring composer/composer in an pre-2.7.3 version ([#​11943](https://togithub.com/composer/composer/issues/11943), [#​11940](https://togithub.com/composer/composer/issues/11940)) ### [`v2.7.3`](https://togithub.com/composer/composer/blob/HEAD/CHANGELOG.md#273-2024-04-19) [Compare Source](https://togithub.com/composer/composer/compare/2.7.2...2.7.3) - BC Warning: Fixed `https_proxy` env var falling back to `http_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](https://togithub.com/composer/composer/issues/11915)) - Fixed `show` and `outdated` commands to remove leading `v` in e.g. `v1.2.3` when showing lists of packages ([#​11925](https://togithub.com/composer/composer/issues/11925)) - Fixed `audit` command not showing any id when no CVE is present, the advisory ID is now shown ([#​11892](https://togithub.com/composer/composer/issues/11892)) - Fixed the warning about a missing default version showing for packages with `project` type as those are typically not versioned and do not have cyclic dependencies ([#​11885](https://togithub.com/composer/composer/issues/11885)) - Fixed PHP 8.4 deprecation warnings - Fixed `clear-cache` command to respect the config.cache-dir setting from the local composer.json ([#​11921](https://togithub.com/composer/composer/issues/11921)) - Fixed `status` command not handling failed download/install promises correctly ([#​11889](https://togithub.com/composer/composer/issues/11889)) - Added support for `buy_me_a_coffee` in GitHub funding files ([#​11902](https://togithub.com/composer/composer/issues/11902)) - Added `hg` support for SSH urls ([#​11878](https://togithub.com/composer/composer/issues/11878)) - Fixed some env vars with an integer value causing a crash ([#​11908](https://togithub.com/composer/composer/issues/11908)) - Fixed context data not being output when using IOInterface as a PSR-3 logger ([#​11882](https://togithub.com/composer/composer/issues/11882)) ### [`v2.7.2`](https://togithub.com/composer/composer/blob/HEAD/CHANGELOG.md#272-2024-03-11) [Compare Source](https://togithub.com/composer/composer/compare/2.7.1...2.7.2) - Added info about the PHP version when running `composer --version` ([#​11866](https://togithub.com/composer/composer/issues/11866)) - Added warning when the root version cannot be detected ([#​11858](https://togithub.com/composer/composer/issues/11858)) - Fixed plugins still being enabled in a few contexts when running as root ([`c3efff9`](https://togithub.com/composer/composer/commit/c3efff91f)) - Fixed `outdated --ignore ...` still attempting to load the latest version of the ignored packages ([#​11863](https://togithub.com/composer/composer/issues/11863)) - Fixed handling of broken symlinks in the middle of an install path ([#​11864](https://togithub.com/composer/composer/issues/11864)) - Fixed `update --lock` still incorrectly updating some metadata ([#​11850](https://togithub.com/composer/composer/issues/11850), [#​11787](https://togithub.com/composer/composer/issues/11787)) ### [`v2.7.1`](https://togithub.com/composer/composer/blob/HEAD/CHANGELOG.md#271-2024-02-09) [Compare Source](https://togithub.com/composer/composer/compare/2.7.0...2.7.1) - Added several warnings when plugins are disabled to hint at common problems people had with 2.7.0 ([#​11842](https://togithub.com/composer/composer/issues/11842)) - Fixed `diagnose` auditing of Composer dependencies failing when running from the phar

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 information about the use of Renovate Bot within Laminas.