openSUSE-SU-2021:1289-1

See a problem?
Import Source
https://ftp.suse.com/pub/projects/security/osv/openSUSE-SU-2021:1289-1.json
JSON Data
https://api.osv.dev/v1/vulns/openSUSE-SU-2021:1289-1
Related
Published
2021-09-21T12:54:07Z
Modified
2021-09-21T12:54:07Z
Summary
Security update for php-composer
Details

This update for php-composer fixes the following issues:

  • Require php-mbstring as requested in boo#1187416

  • Version 1.10.22

    • Security: Fixed command injection vulnerability in HgDriver/HgDownloader and hardened other VCS drivers and downloaders (GHSA-h5h8-pc6h-jvvx / CVE-2021-29472), boo#1185376
  • Version 1.10.21

    • Fixed support for new GitHub OAuth token format
    • Fixed processes silently ignoring the CWD when it does not exist
  • Version 1.10.20

    • Fixed exclude-from-classmap causing regex issues when having too many paths
    • Fixed compatibility issue with Symfony 4/5
  • Version 1.10.17

    • Fixed Bitbucket API authentication issue
    • Fixed parsing of Composer 2 lock files breaking in some rare conditions
  • Version 1.10.16

    • Added warning to validate command for cases where packages provide/ replace a package that they also require
    • Fixed JSON schema validation issue with PHPStorm
    • Fixed symlink handling in archive command
  • Version 1.10.15

    • Fixed path repo version guessing issue
  • Version 1.10.14

    • Fixed version guesser to look at remote branches as well as local ones
    • Fixed path repositories version guessing to handle edge cases where version is different from the VCS-guessed version
    • Fixed COMPOSER env var causing issues when combined with the global command
    • Fixed a few issues dealing with PHP without openssl extension (not recommended at all but sometimes needed for testing)
  • Version 1.10.13

    • Fixed regressions with old version validation
    • Fixed invalid root aliases not being reported
  • Version 1.10.12

    • Fixed regressions with old version validation
  • Version 1.10.11

    • Fixed more PHP 8 compatibility issues
    • Fixed regression in handling of CTRL-C when xdebug is loaded
    • Fixed status handling of broken symlinks
  • Version 1.10.10

    • Fixed create-project not triggering events while installing the root package
    • Fixed PHP 8 compatibility issue
    • Fixed self-update to avoid automatically upgrading to the next major version once it becomes stable
  • Version 1.10.9

    • Fixed Bitbucket redirect loop when credentials are outdated
    • Fixed GitLab auth prompt wording
    • Fixed self-update handling of files requiring admin permissions to write to on Windows (it now does a UAC prompt)
    • Fixed parsing issues in funding.yml files
  • Version 1.10.8

    • Fixed compatibility issue with git being configured to show signatures by default
    • Fixed discarding of local changes when updating packages to include untracked files
    • Several minor fixes
  • Version 1.10.7

    • Fixed PHP 8 deprecations
    • Fixed detection of pcntlsignal being in disabledfunctions when pcntlasyncsignal is allowed
  • Version 1.10.6

    • Fixed version guessing to take composer-runtime-api and composer-plugin-api requirements into account to avoid selecting packages which require Composer 2
    • Fixed package name validation to allow several dashes following each other
    • Fixed post-status-cmd script not firing when there were no changes to be displayed
    • Fixed composer-runtime-api support on Composer 1.x, the package is now present as 1.0.0
    • Fixed support for composer show --name-only --self
    • Fixed detection of GitLab URLs when handling authentication in some cases
  • Version 1.10.5

    • Fixed self-update on PHP <5.6, seriously please upgrade
    • Fixed 1.10.2 regression with PATH resolution in scripts
  • Version 1.10.4

    • Fixed 1.10.2 regression in path symlinking with absolute path repos
  • Version 1.10.3

    • Fixed invalid --2 flag warning in self-update when no channel is requested
  • Version 1.10.2

    • Added --1 flag to self-update command which can be added to automated self-update runs to make sure it won't automatically jump to 2.0 once that is released
    • Fixed path repository symlinks being made relative when the repo url is defined as absolute paths
    • Fixed potential issues when using 'composer ...' in scripts and composer/composer was also required in the project
    • Fixed 1.10.0 regression when downloading GitHub archives from non-API URLs
    • Fixed handling of malformed info in fund command
    • Fixed Symfony5 compatibility issues in a few commands
  • Version 1.10.1

    • Fixed path repository warning on empty path when using wildcards
    • Fixed superfluous warnings when generating optimized autoloaders
  • Version 1.10.0

    • Breaking: composer global exec ... now executes the process in the current working directory instead of executing it in the global directory.
    • Warning: Added a warning when class names are being loaded by a PSR-4 or PSR-0 rule only due to classmap optimization, but would not otherwise be autoloadable. Composer 2.0 will stop autoloading these classes so make sure you fix your autoload configs.
    • Added new funding key to composer.json to describe ways your package's maintenance can be funded. This reads info from GitHub's FUNDING.yml by default so better configure it there so it shows on GitHub and Composer/Packagist
    • Added composer fund command to show funding info of your dependencies
    • Added bearer auth config to authenticate using Authorization: Bearer <token> headers
    • Added plugin-api-version in composer.lock so third-party tools can know which Composer version was used to generate a lock file
    • Added support for --format=json output for show command when showing a single package
    • Added support for configuring suggestions using config command, e.g. composer config suggest.foo/bar some text
    • Added support for configuring fine-grained preferred-install using config command, e.g. composer config preferred-install.foo/* dist
    • Added @putenv script handler to set environment variables from composer.json for following scripts
    • Added lock option that can be set to false, in which case no composer.lock file will be generated
    • Added --add-repository flag to create-project command which will persist the repo given in --repository into the composer.json of the package being installed
    • Fixed issue where --no-dev autoload generation was excluding some packages which should not have been excluded
    • Added support for IPv6 addresses in NO_PROXY
    • Added package homepage display in the show command
    • Added debug info about HTTP authentications
    • Added Symfony 5 compatibility
    • Added --fixed flag to require command to make it use a fixed constraint instead of a ^x.y constraint when adding the requirement
    • Fixed exclude-from-classmap matching subsets of directories e.g. foo/ was excluding foobar/
    • Fixed archive command to persist file permissions inside the zip files
    • Fixed init/require command to avoid suggesting packages which are already selected in the search results
    • Fixed create-project UX issues
    • Fixed filemtime for vendor/composer/* files is now only changing when the files actually change
    • Fixed issues detecting docker environment with an active open_basedir
  • Version 1.9.3

    • Fixed GitHub deprecation of access_token query parameter, now using Authorization header
  • Version 1.9.2

    • Fixed minor git driver bugs
    • Fixed schema validation for version field to allow dev-* versions too
    • Fixed external processes' output being formatted even though it should not
    • Fixed issue with path repositories when trying to install feature branches
  • Version 1.9.1

    • Fixed various credential handling issues with gitlab and github
    • Fixed credentials being present in git remotes in Composer cache and vendor directory when not using SSH keys
    • Fixed composer why not listing replacers as a reason something is present
    • Fixed various PHP 7.4 compatibility issues
    • Fixed root warnings always present in Docker containers, setting COMPOSERALLOWSUPERUSER is not necessary anymore
    • Fixed GitHub access tokens leaking into debug-verbosity output
    • Fixed several edge case issues detecting GitHub, Bitbucket and GitLab repository types
    • Fixed Composer asking if you want to use a composer.json in a parent directory when ran in non-interactive mode
    • Fixed classmap autoloading issue finding classes located within a few non-PHP context blocks (?>...
  • Version 1.9.0

    • Added a --no-cache flag available on all commands to run with the cache disabled
    • Added PHP_BINARY as env var pointing to the PHP process when executing Composer scripts as shell scripts
    • Added a use-github-api config option which can set the no-api flag on all GitHub VCS repositories declared
    • Added a static helper you can preprend to a script to avoid process timeouts, 'Composer\Config::disableProcessTimeout'
    • Added Event::getOriginatingEvent to retrieve an event's original event when a script handler forwards to another one
    • Added support for autoloading directly from a phar file
    • Fixed loading order of plugins to always initialize them in order of dependencies
    • Fixed various network-mount related issues
    • Fixed --ignore-platform-reqs not ignoring conflict rules against platform packages
  • Version 1.8.6

    • Fixed handling of backslash-escapes handling in compoesr.json when using the require command
    • Fixed create-project not following classmap-authoritative and apcu-autoloader config values
    • Fixed HHVM version warning showing up in some cases when it was not in use
References

Affected packages

SUSE:Package Hub 15 SP1 / php-composer

Package

Name
php-composer
Purl
purl:rpm/suse/php-composer&distro=SUSE%20Package%20Hub%2015%20SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.10.22-bp153.2.3.1

Ecosystem specific

{
    "binaries": [
        {
            "php-composer": "1.10.22-bp153.2.3.1"
        }
    ]
}

SUSE:Package Hub 15 SP2 / php-composer

Package

Name
php-composer
Purl
purl:rpm/suse/php-composer&distro=SUSE%20Package%20Hub%2015%20SP2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.10.22-bp153.2.3.1

Ecosystem specific

{
    "binaries": [
        {
            "php-composer": "1.10.22-bp153.2.3.1"
        }
    ]
}

SUSE:Package Hub 15 SP3 / php-composer

Package

Name
php-composer
Purl
purl:rpm/suse/php-composer&distro=SUSE%20Package%20Hub%2015%20SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.10.22-bp153.2.3.1

Ecosystem specific

{
    "binaries": [
        {
            "php-composer": "1.10.22-bp153.2.3.1"
        }
    ]
}

openSUSE:Leap 15.2 / php-composer

Package

Name
php-composer
Purl
purl:rpm/suse/php-composer&distro=openSUSE%20Leap%2015.2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.10.22-bp153.2.3.1

Ecosystem specific

{
    "binaries": [
        {
            "php-composer": "1.10.22-bp153.2.3.1"
        }
    ]
}

openSUSE:Leap 15.3 / php-composer

Package

Name
php-composer
Purl
purl:rpm/suse/php-composer&distro=openSUSE%20Leap%2015.3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.10.22-bp153.2.3.1

Ecosystem specific

{
    "binaries": [
        {
            "php-composer": "1.10.22-bp153.2.3.1"
        }
    ]
}