2.2.31
Fixed 3
- Fixed @script references with quoted arguments being split on spaces when passed to @composer scripts
- Fixed warnings when finding packages within inline packages of a composer repository
- Fixed composer archive failing on PHP 5.3
Security 7
- Fixed package names in vendor/composer/installed.json being able to escape the vendor directory during install and reinstall (GHSA-c968-33g3-wh7p)
- Fixed inline repository HTTP headers, such as API tokens, being written into composer.lock (GHSA-fm2w-xgf2-f9fh)
- Reject TLS connections presenting distrusted intermediate certificates, with composer/ca-bundle 1.4.16+ now required requirement raised · inferred, marked in the notes below
- Fixed additional arguments passed to @composer scripts not being escaped
- Fixed repository transport options such as custom HTTP headers being sent to dist URLs on other hosts whose name starts with the repository host
- Fixed the secure-http check skipping malformed URLs and git transport-prefixed URLs
- Sanitized URL-embedded credentials in hg and fossil error output
1 change to check, marked in the notes below
From Composer
- Security: Fixed package names in
vendor/composer/installed.jsonbeing able to escape the vendor directory during install and reinstall (GHSA-c968-33g3-wh7p) - Security: Fixed inline repository HTTP headers, such as API tokens, being written into
composer.lock(GHSA-fm2w-xgf2-f9fh) - Security: Reject TLS connections presenting distrusted intermediate certificates,
composer/ca-bundle1.4.16+ is now required (#13147) requirement raised · inferred - Security: Fixed additional arguments passed to
@composerscripts not being escaped (#13170) - Security: Fixed repository transport options such as custom http headers being sent to dist URLs on other hosts whose name starts with the repository host (#13143)
- Security: Fixed
secure-httpcheck skipping malformed URLs and git transport-prefixed URLs (#13145) - Security: Sanitize URL-embedded credentials in hg and fossil error output (#13173)
- Fixed
@scriptreferences with quoted arguments being split on spaces when passed to@composerscripts (#13170) - Fixed warnings when finding packages within inline packages of a composer repository (#13134)
- Fixed
composer archivefailing on PHP 5.3 (#13160)
Full Changelog: https://github.com/composer/composer/compare/2.2.30...2.2.31