VDB
Sign up
HIGH8.2

GHSA-frqg-7g38-6gcf

Improper escaping of command arguments on Windows leading to command injection

Quick fix

GHSA-frqg-7g38-6gcf — composer/composer: upgrade to the fixed version with the command below.

composer require composer/composer:^1.10.23

Details

### 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

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/composer/composer
Introduced in: 0Fixed in: 1.10.23
Fixcomposer require composer/composer:^1.10.23
Packagist/composer/composer
Introduced in: 2.0.0-alpha1Fixed in: 2.1.9
Fixcomposer require composer/composer:^2.1.9

References