Bump composer/composer from 2.7.6 to 2.7.7
Closed
Number: #3
Type: Pull Request
State: Closed
Type: Pull Request
State: Closed
Author:
dependabot[bot]
Association: None
Comments: 2
Association: None
Comments: 2
Created:
June 10, 2024 at 09:44 PM UTC
(about 2 years ago)
(about 2 years ago)
Updated:
August 15, 2025 at 08:40 PM UTC
(10 months ago)
(10 months ago)
Closed:
August 15, 2025 at 08:40 PM UTC
(10 months ago)
(10 months ago)
Time to Close:
about 1 year
Labels:
Dependencies 📦 PHP 🐘
Dependencies 📦 PHP 🐘
Description:
Bumps composer/composer from 2.7.6 to 2.7.7.
Release notes
Sourced from composer/composer's releases.
2.7.7
This release includes fixes for issues found in a security audit by Cure53 funded by Alpha-Omega.
- 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 (fa3b9582c)
- Security: Fixed Filesystem::isLocalPath including windows-specific checks on linux (3c37a67c)
- Security: Fixed perforce argument escaping (3773f775)
- Security: Fixed handling of zip bombs when extracting archives (de5f7e32)
- Security: Fixed Windows command parameter escaping to prevent abuse of unicode characters with best fit encoding conversion, reported by Splitline Huang (3130a7455, 04a63b324)
- Fixed PSR violations for classes not matching the namespace of a rule being hidden, this may lead to new violations being shown (#11957)
- Fixed UX when a plugin is still in vendor dir but is not required nor allowed anymore after changing branches (#12000)
- Fixed new platform requirements from composer.json not being checked if the lock file is outdated (#12001)
- Fixed ability for
configcommand to remove autoload keys (#11967)- Fixed empty
typesupport ininitcommand (#11999)- Fixed git clone errors when
safe.bareRepositoryis set tostrictin the git config (#11969)- Fixed regression showing network errors on PHP <8.1 (#11974)
- Fixed some color bleed from a few warnings (#11972)
Full Changelog: https://github.com/composer/composer/compare/2.7.6...2.7.7
Changelog
Sourced from composer/composer's changelog.
[2.7.7] 2024-06-10
- 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 (fa3b9582c)
- Security: Fixed Filesystem::isLocalPath including windows-specific checks on linux (3c37a67c)
- Security: Fixed perforce argument escaping (3773f775)
- Security: Fixed handling of zip bombs when extracting archives (de5f7e32)
- Security: Fixed Windows command parameter escaping to prevent abuse of unicode characters with best fit encoding conversion (3130a7455, 04a63b324)
- Fixed PSR violations for classes not matching the namespace of a rule being hidden, this may lead to new violations being shown (#11957)
- Fixed UX when a plugin is still in vendor dir but is not required nor allowed anymore after changing branches (#12000)
- Fixed new platform requirements from composer.json not being checked if the lock file is outdated (#12001)
- Fixed ability for
configcommand to remove autoload keys (#11967)- Fixed empty
typesupport ininitcommand (#11999)- Fixed git clone errors when
safe.bareRepositoryis set tostrictin the git config (#11969)- Fixed regression showing network errors on PHP <8.1 (#11974)
- Fixed some color bleed from a few warnings (#11972)
Commits
2919429Release 2.7.7e354a8dUpdate changelog04a63b3Add more characters for best fit encoding protectionad8985eUpdate changelog3130a74Fix windows parameter encoding to prevent abuse of unicode characters with be...5aa7b03Fix testee28354Merge pull request from GHSA-47f6-5gq3-vx9c6bd43dfMerge pull request from GHSA-v9qv-c7wm-wgmffa3b958Fix secure-http check to avoid bypass using emojisf3e877aUpdate deps- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Pull Request Statistics
Commits:
0
0
Files Changed:
0
0
Additions:
+0
+0
Deletions:
-0
-0
Package Dependencies
Security Advisories
Composer has multiple command injections via malicious git/hg branch names
GHSA-v9qv-c7wm-wgmf
CVE-2024-35242
HIGH
### 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...
Composer has a command injection via malicious git branch name
GHSA-47f6-5gq3-vx9c
CVE-2024-35241
HIGH
### 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.
###...
Technical Details
| ID: | 5186995 |
| UUID: | 2344883294 |
| Node ID: | PR_kwDOMHdYY85yB6Ah |
| Host: | GitHub |
| Repository: | reactphp-parallel/filesystem |