VDB
Sign up
HIGH8.8

GHSA-725m-w832-q973

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

Quick fix

GHSA-725m-w832-q973 — composer/composer: upgrade to the fixed version with the command below.

composer require composer/composer:^1.0.0

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/composer/composer
Introduced in: 0Fixed in: 1.0.0
Fixcomposer require composer/composer:^1.0.0

References