ADVISORIES

GitHub Advisory Database

GHSA-r5pm-vrc5-3m73

cakephp/queue's Incomplete Comparison in getUniqueId vulnerable to collisions

Details

Impact

For jobs with shouldBeUnique = true the queue plugin will generate a 'unique identifier' based on the job class, method and parameters. If user data is supplied, a malicious user could create collisions, resulting in legitimate jobs being dropped.

Patches

Upgrade to 2.3.1

Workarounds

You can disable shouldBeUnique and handle idempotency in application code.

Affected packages

EcosystemPackageAffected versions
Packagistcakephp/queue
From 0.1.10 before 2.3.1 (fixed in 2.3.1)

References