Ubuntu Security Notice
USN-5220-1
composer vulnerability
Details
It was discovered that Composer did not properly sanitize URLs for Mercurial repositories in the root composer.json and package source download URLs. A remote attacker could possibly use this issue to execute arbitrary code.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | composer | All versions before 1.0.0~beta2-1ubuntu0.1~esm1 (fixed in 1.0.0~beta2-1ubuntu0.1~esm1) |
| Ubuntu:Pro:18.04:LTS | composer | All versions before 1.6.3-1ubuntu0.1~esm1 (fixed in 1.6.3-1ubuntu0.1~esm1) |
| Ubuntu:Pro:20.04:LTS | composer | All versions before 1.10.1-1ubuntu0.1~esm1 (fixed in 1.10.1-1ubuntu0.1~esm1) |