CVE catalog

CVE-2021-41116

composer: CVE-2021-41116

[CVE catalog]

Severity
High · CVSS 8.2CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
2.83% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiancomposersid2.10.3-1not affected
Debiancomposerforky2.10.3-1not affected
Debiancomposertrixie2.8.8-1+deb13u3not affected
Debiancomposerbookworm2.5.5-1+deb12u5not affected
Debiancomposerbookworm-security2.5.5-1+deb12u2not affected
Susephp-composerpackage hub 15 sp31.10.26-bp153.2.6.1fixed
Opensusephp-composerleap 15.31.10.26-bp153.2.6.1fixed
Opensusephp-composertumbleweed1.10.25-1.1fixed
Ubuntucomposerpro1.0.0~alpha10+20150602-1vulnerable
Ubuntucomposerpro1.0.0~alpha10+20150602-2vulnerable
Ubuntucomposerpro1.0.0~alpha11-1vulnerable
Ubuntucomposerpro1.0.0~alpha11-1ubuntu1vulnerable
Ubuntucomposerpro1.0.0~alpha11-2vulnerable
Ubuntucomposerpro1.0.0~alpha11-3vulnerable
Ubuntucomposerpro1.0.0~beta1-1ubuntu1vulnerable
Ubuntucomposerpro1.0.0~beta2-1vulnerable
Ubuntucomposerpro1.0.0~beta2-1ubuntu0.1~esm1vulnerable
Ubuntucomposerpro1.0.0~beta2-1ubuntu0.1~esm2vulnerable
Opensusephp-composer2tumbleweed2.1.12-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
DebiancomposersourcesidNot affectedunimportantNot reportedNot reported
DebiancomposersourceforkyNot affectedunimportantNot reportedNot reported
DebiancomposersourcetrixieNot affectedunimportantNot reportedNot reported
DebiancomposersourcebookwormNot affectedunimportantNot reportedNot reported
Susephp-composerrpmpackage hub 15 sp31.10.26-bp153.2.6.1Not reportedOPENSUSE-SU-2022:0132-1Not reported
Opensusephp-composerrpmleap 15.31.10.26-bp153.2.6.1Not reportedOPENSUSE-SU-2022:0132-1Not reported
Opensusephp-composerrpmtumbleweed1.10.25-1.1Not reportedOPENSUSE-SU-2024:11874-1Not reported
Opensusephp-composer2rpmtumbleweed2.1.12-1.1Not reportedOPENSUSE-SU-2024:11617-1Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [composer]Not affected
    Details (4)
    • 2.5.5-1+deb12u5 · all · bookworm

      Not affected

      dsa · composer · debian · bookworm

    • 2.5.5-1+deb12u5 · all · bookworm

      Not affected

      dsa · composer · debian · bookworm

    • 2.5.5-1+deb12u2 · all · bookworm-security

      Not affected

      dsa · composer · debian · bookworm

    • 2.5.5-1+deb12u2 · all · bookworm-security

      Not affected

      dsa · composer · debian · bookworm

[openSUSE Tumbleweed]

  • Source package: [php-composer]

    Details (1)
    • 1.10.26-2.8 · noarch · tumbleweed

      Fixed · Fixed: 1.10.25-1.1

      dsa · php-composer · opensuse · tumbleweed

  • Source package: [php-composer2]

    Details (1)
    • 2.10.3-1.1 · noarch · tumbleweed

      Fixed · Fixed: 2.1.12-1.1

      dsa · php-composer2 · opensuse · tumbleweed

Observed:

References