Skip to main content
VulnerabilityPublished Updated

CVE-2024-35241: Composer is a dependency manager for PHP

Affects composerSource GCVE Database

0
Compare

Not known to be exploited · CVSS 8.8 High · fixed in 1.0.0~beta2-1ubuntu0.1~esm2 : patch composer soon.

Data as of 24 Nov 2026, 19:26 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 1.0.0~beta2-1ubuntu0.1~esm2, 1.6.3-1ubuntu0.1~esm2, 1.10.1-1ubuntu0.1~esm2 +2
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Jun 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu Pro 24.04 LTScomposerpkg:deb/ubuntu/composer?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <2.7.1-2ubuntu0.1~esm1
Fixed in
  • 2.7.1-2ubuntu0.1~esm1
Ubuntu Pro 22.04 LTScomposerpkg:deb/ubuntu/composer?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <2.2.6-2ubuntu4+esm1
Fixed in
  • 2.2.6-2ubuntu4+esm1
Ubuntu Pro 20.04 LTScomposerpkg:deb/ubuntu/composer?arch=source&distro=esm-apps/focalOther threatsAffected
  • <1.10.1-1ubuntu0.1~esm2
Fixed in
  • 1.10.1-1ubuntu0.1~esm2
Ubuntu Pro 18.04 LTScomposerpkg:deb/ubuntu/composer?arch=source&distro=esm-apps/bionicOther threatsAffected
  • <1.6.3-1ubuntu0.1~esm2
Fixed in
  • 1.6.3-1ubuntu0.1~esm2
Ubuntu Pro 16.04 LTScomposerpkg:deb/ubuntu/composer?arch=source&distro=esm-apps/xenialOther threatsAffected
  • <1.0.0~beta2-1ubuntu0.1~esm2
Fixed in
  • 1.0.0~beta2-1ubuntu0.1~esm2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

Composer is a dependency manager for PHP. On the 2.x branch prior to versions 2.2.24 and 2.7.7, the `status`, `reinstall` and `remove` commands with packages installed from source via git containing specially crafted branch names in the repository can be used to execute code. Patches for this issue are available in version 2.2.24 for 2.2 LTS or 2.7.7 for mainline. As a workaround, avoid installing dependencies via git by using `--prefer-dist` or the `preferred-install: dist` config setting.

References

Community reviews

Loading reviews…