
CVE catalog
CVE-2021-41116
composer: CVE-2021-41116
- Severity
- High · CVSS 8.2
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | composer | sid | 2.10.3-1 | not affected |
| Debian | composer | forky | 2.10.3-1 | not affected |
| Debian | composer | trixie | 2.8.8-1+deb13u3 | not affected |
| Debian | composer | bookworm | 2.5.5-1+deb12u5 | not affected |
| Debian | composer | bookworm-security | 2.5.5-1+deb12u2 | not affected |
| Suse | php-composer | package hub 15 sp3 | 1.10.26-bp153.2.6.1 | fixed |
| Opensuse | php-composer | leap 15.3 | 1.10.26-bp153.2.6.1 | fixed |
| Opensuse | php-composer | tumbleweed | 1.10.25-1.1 | fixed |
| Ubuntu | composer | pro | 1.0.0~alpha10+20150602-1 | vulnerable |
| Ubuntu | composer | pro | 1.0.0~alpha10+20150602-2 | vulnerable |
| Ubuntu | composer | pro | 1.0.0~alpha11-1 | vulnerable |
| Ubuntu | composer | pro | 1.0.0~alpha11-1ubuntu1 | vulnerable |
| Ubuntu | composer | pro | 1.0.0~alpha11-2 | vulnerable |
| Ubuntu | composer | pro | 1.0.0~alpha11-3 | vulnerable |
| Ubuntu | composer | pro | 1.0.0~beta1-1ubuntu1 | vulnerable |
| Ubuntu | composer | pro | 1.0.0~beta2-1 | vulnerable |
| Ubuntu | composer | pro | 1.0.0~beta2-1ubuntu0.1~esm1 | vulnerable |
| Ubuntu | composer | pro | 1.0.0~beta2-1ubuntu0.1~esm2 | vulnerable |
| Opensuse | php-composer2 | tumbleweed | 2.1.12-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | composer | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | composer | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | composer | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | composer | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Suse | php-composer | rpm | package hub 15 sp3 | 1.10.26-bp153.2.6.1 | Not reported | OPENSUSE-SU-2022:0132-1 | Not reported |
| Opensuse | php-composer | rpm | leap 15.3 | 1.10.26-bp153.2.6.1 | Not reported | OPENSUSE-SU-2022:0132-1 | Not reported |
| Opensuse | php-composer | rpm | tumbleweed | 1.10.25-1.1 | Not reported | OPENSUSE-SU-2024:11874-1 | Not reported |
| Opensuse | php-composer2 | rpm | tumbleweed | 2.1.12-1.1 | Not reported | OPENSUSE-SU-2024:11617-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [composer]Not affected
Details (4)
2.5.5-1+deb12u5· all · bookwormNot affected
dsa · composer · debian · bookworm
2.5.5-1+deb12u5· all · bookwormNot affected
dsa · composer · debian · bookworm
2.5.5-1+deb12u2· all · bookworm-securityNot affected
dsa · composer · debian · bookworm
2.5.5-1+deb12u2· all · bookworm-securityNot affected
dsa · composer · debian · bookworm
[openSUSE Tumbleweed]
- [php-composer]Fixed
Source package: [php-composer]
Details (1)
1.10.26-2.8· noarch · tumbleweedFixed · Fixed:
1.10.25-1.1dsa · php-composer · opensuse · tumbleweed
- [php-composer2]Fixed
Source package: [php-composer2]
Details (1)
2.10.3-1.1· noarch · tumbleweedFixed · Fixed:
2.1.12-1.1dsa · php-composer2 · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2022_0132-1.json]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-41116]
- [https://osv.dev/vulnerability/openSUSE-SU-2022:0132-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:11617-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:11874-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-41116]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]