Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Security] Bump composer/composer from 1.9.0 to 2.0.12 #103

Conversation

dependabot-preview[bot]
Copy link

Bumps composer/composer from 1.9.0 to 2.0.12.

Release notes

Sourced from composer/composer's releases.

2.0.12

  • Fixed support for new GitHub OAuth token format (#9757)
  • Fixed support for Vagrant/VirtualBox filesystem slowness by adding short sleeps in some places (#9627)
  • Fixed unclear error reporting when a package is in the lock file but not in the remote repositories (#9750)
  • Fixed processes silently ignoring the CWD when it does not exist
  • Fixed new Windows bin handling to avoid proxying phar files (#9742)
  • Fixed issue extracting archives into paths that already exist, fixing problems with some custom installers (Composer 1 vs 2: Adds extra sites/ directory for Drupal 7 installation composer/installers#479)
  • Fixed support for branch names starting with master/trunk/default (#9739)
  • Fixed self-update to preserve phar file permissions on Windows (#9733)
  • Fixed detection of hg version when localized (#9753)
  • Fixed git execution failures to also include the stdout output (#9720)

2.0.11

  • Reverted "Fixed runtime autoloader registration (for plugins and script handlers) to prefer the project dependencies over the bundled Composer ones" as it caused more problems than expected

2.0.10

  • Added COMPOSER_MAX_PARALLEL_HTTP env var to let people set a lower amount of parallel requests if needed
  • Fixed autoloader registration when plugins are loaded, which may impact plugins relying on this bug (if you use symfony/flex make sure you upgrade it to 1.12.2+ to fix dump-env issues)
  • Fixed exec command suppressing output in some circumstances
  • Fixed Windows/cmd.exe support for script handlers defined as path/to/foo, which are now rewritten internally to path\to\foo when needed
  • Fixed bin handling on Windows for PHP scripts, to more closely match symlinks and allow @php vendor/bin/foo to work cross-platform
  • Fixed Git for Windows/Git Bash not being detected correctly as an interactive shell (regression since 2.0.7)
  • Fixed regression handling some private Bitbucket repository clones
  • Fixed Ctrl-C/SIGINT handling during downloads to correctly abort as soon as possible
  • Fixed runtime autoloader registration (for plugins and script handlers) to prefer the project dependencies over the bundled Composer ones
  • Fixed numeric default branches being aliased as 9999999-dev internally. This alias now only applies to default branches being non-numeric (e.g. dev-main)
  • Fixed support for older lib-sodium versions
  • Fixed various minor issues

2.0.9

  • Added warning if the curl extension is not enabled as it significantly degrades performance
  • Fixed InstalledVersions to report all packages when several vendor dirs are present in the same runtime
  • Fixed download speed when downloading large files
  • Fixed archive and path repo copies mishandling some .gitignore paths
  • Fixed root package classes not being available to the plugins/scripts during the initial install
  • Fixed cache writes to be atomic and better support multiple Composer processes running in parallel
  • Fixed preg jit issues when config or require modifies large composer.json files
  • Fixed compatibility with envs having open_basedir restrictions
  • Fixed exclude-from-classmap causing regex issues when having too many paths
  • Fixed compatibility issue with Symfony 4/5
  • Several small performance and debug output improvements

2.0.8

  • Fixed packages with aliases not matching conflicts which match the alias
  • Fixed invalid reports of uncommitted changes when using non-default remotes in vendor dir
  • Fixed curl error handling edge cases
  • Fixed cached git repositories becoming stale by having a git gc applied to them periodically
  • Fixed issue initializing plugins when using dev packages
  • Fixed update --lock / mirrors failing to update in some edge cases
  • Fixed partial update with --with-dependencies failing in some edge cases with some nonsensical error

... (truncated)

Changelog

Sourced from composer/composer's changelog.

[2.0.12] 2021-04-01

  • Fixed support for new GitHub OAuth token format (#9757)
  • Fixed support for Vagrant/VirtualBox filesystem slowness by adding short sleeps in some places (#9627)
  • Fixed unclear error reporting when a package is in the lock file but not in the remote repositories (#9750)
  • Fixed processes silently ignoring the CWD when it does not exist
  • Fixed new Windows bin handling to avoid proxying phar files (#9742)
  • Fixed issue extracting archives into paths that already exist, fixing problems with some custom installers (Composer 1 vs 2: Adds extra sites/ directory for Drupal 7 installation composer/installers#479)
  • Fixed support for branch names starting with master/trunk/default (#9739)
  • Fixed self-update to preserve phar file permissions on Windows (#9733)
  • Fixed detection of hg version when localized (#9753)
  • Fixed git execution failures to also include the stdout output (#9720)

[2.0.11] 2021-02-24

  • Reverted "Fixed runtime autoloader registration (for plugins and script handlers) to prefer the project dependencies over the bundled Composer ones" as it caused more problems than expected

[2.0.10] 2021-02-23

  • Added COMPOSER_MAX_PARALLEL_HTTP to let people set a lower amount of parallel requests if needed
  • Fixed autoloader registration when plugins are loaded, which may impact plugins relying on this bug (if you use symfony/flex make sure you upgrade it to 1.12.2+ to fix dump-env issues)
  • Fixed exec command suppressing output in some circumstances
  • Fixed Windows/cmd.exe support for script handlers defined as path/to/foo, which are now rewritten internally to path\to\foo when needed
  • Fixed bin handling on Windows for PHP scripts, to more closely match symlinks and allow @php vendor/bin/foo to work cross-platform
  • Fixed Git for Windows/Git Bash not being detected correctly as an interactive shell (regression since 2.0.7)
  • Fixed regression handling some private Bitbucket repository clones
  • Fixed Ctrl-C/SIGINT handling during downloads to correctly abort as soon as possible
  • Fixed runtime autoloader registration (for plugins and script handlers) to prefer the project dependencies over the bundled Composer ones
  • Fixed numeric default branches being aliased as 9999999-dev internally. This alias now only applies to default branches being non-numeric (e.g. dev-main)
  • Fixed support for older lib-sodium versions
  • Fixed various minor issues

[2.0.9] 2021-01-27

  • Added warning if the curl extension is not enabled as it significantly degrades performance
  • Fixed InstalledVersions to report all packages when several vendor dirs are present in the same runtime
  • Fixed download speed when downloading large files
  • Fixed archive and path repo copies mishandling some .gitignore paths
  • Fixed root package classes not being available to the plugins/scripts during the initial install
  • Fixed cache writes to be atomic and better support multiple Composer processes running in parallel
  • Fixed preg jit issues when config or require modifies large composer.json files
  • Fixed compatibility with envs having open_basedir restrictions
  • Fixed exclude-from-classmap causing regex issues when having too many paths
  • Fixed compatibility issue with Symfony 4/5
  • Several small performance and debug output improvements

[2.0.8] 2020-12-03

  • Fixed packages with aliases not matching conflicts which match the alias
  • Fixed invalid reports of uncommitted changes when using non-default remotes in vendor dir

... (truncated)

Commits
  • 6c12ce2 Release 2.0.12
  • 18e2685 Fix type warning on php8.1, refs #9770
  • dc84dbb Fixed detection of hg version when localized, fixes #9753
  • 7b8a15d Update changelog
  • 53a974f Tweak virtualbox detection and improve it by detecting vbox additions, refs #...
  • 836ca05 Merge branch '1.10' into 2.0
  • 4dc293b Update changelog
  • 96acad1 Update github token pattern to match their latest updates
  • 63c086c Add source package name to debug info when enabling plugins
  • 3b89a9c Also attempt working around Vagrant filesystem issues when installing plugins...
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [composer/composer](https://github.com/composer/composer) from 1.9.0 to 2.0.12.
- [Release notes](https://github.com/composer/composer/releases)
- [Changelog](https://github.com/composer/composer/blob/master/CHANGELOG.md)
- [Commits](composer/composer@1.9.0...2.0.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Apr 2, 2021
@dependabot-preview
Copy link
Author

Superseded by #108.

@dependabot-preview dependabot-preview bot deleted the dependabot/composer/composer/composer-2.0.12 branch April 28, 2021 12:40
@dependabot-preview
Copy link
Author

We've just been alerted that this update fixes a security vulnerability:

Sourced from The GitHub Security Advisory Database.

Improper escaping of command arguments on Windows leading to command injection

Impact

Windows users running Composer to install untrusted dependencies are affected and should definitely upgrade for safety. Other OSs and WSL are not affected.

Patches

1.10.23 and 2.1.9 fix the issue

Workarounds

None

Affected versions: ["< 1.10.23"]

@dependabot-preview dependabot-preview bot changed the title Bump composer/composer from 1.9.0 to 2.0.12 [Security] Bump composer/composer from 1.9.0 to 2.0.12 Oct 5, 2021
@dependabot-preview dependabot-preview bot added the security Pull requests that address a security vulnerability label Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants