Skip to content
OpenAdvisories
High · 8.8 CVE-2015-8371 EUVD-2023-2452GHSA-725m-w832-q973

Composer allows cache poisoning from other projects built on the same host

Published Sep 21, 2023 · Updated Sep 25, 2024 · Assigned by mitre

Description

Composer before 2016-02-10 allows cache poisoning from other projects built on the same host. This results in attacker-controlled code entering a server-side build process. The issue occurs because of the way that dist packages are cached. The cache key is derived from the package name, the dist type, and certain other data from the package repository (which may simply be a commit hash, and thus can be found by an attacker). Versions through 1.0.0-alpha11 are affected, and 1.0.0 is unaffected.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 composer 1.0.0~alpha11-3 —
Debian 13 composer 1.0.0~alpha11-3 —
Debian 12 composer 1.0.0~alpha11-3 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist composer/composer < 1.0.0 1.0.0 GHSA-725m-w832-q973

References