- Published on
We found three vulnerabilities in Composer, the PHP package manager. One extra key in composer.lock could make Composer run a command during install, even with plugins and scripts switched off (CWE-78), another could hand a private repository's token to an attacker's mirror (CWE-522), and a crafted package zip could write outside its own folder when unzip failed and ZipArchive took over (CWE-22). All three are fixed in Composer 2.11.2, and the two that reach the 2.2 LTS line are fixed in 2.2.32. Tracked as GHSA-jhfp-4ppm-crmm, GHSA-x82q-x274-r6pq and GHSA-w6hj-6587-3jh5.