Skip to main content
← All vulnerabilities
CVE-2021-41116GHSA-FRQG-7G38-6GCFBIT-COMPOSER-2021-41116

Command injection in composer on Windows

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.10.23, 2.1.9
None on Exploit-DB, Metasploit or GitHub

Summary

Composer is an open source dependency manager for the PHP language. In affected versions windows users running Composer to install untrusted dependencies are subject to command injection and should upgrade their composer version. Other OSs and WSL are not affected. The issue has been resolved in composer versions 1.10.23 and 2.1.9. There are no workarounds for this issue.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • composer composer

    fixed in 1.10.23; From 2.0 · fixed in 2.1.9

  • composer/composerPackagist

    fixed in 1.10.23

  • composer/composerPackagist

    From 2.0.0-alpha1 · fixed in 2.1.9

References 3

GitHub · composer/composer

sonarsource.com