ADVISORIES

GitHub Advisory Database

GHSA-7xr2-8ff7-6fjq

zenstruck/collection passing callable string to EntityRepository::find() and query()

Details

Impact

Passing _callable strings_ (ie system) caused the function to be executed.

Patches

Fixed in v0.2.1.

Workarounds

Do not allow passing user strings to EntityRepository::find() or query().

References

Fix commit.

Affected packages

EcosystemPackageAffected versions
Packagistzenstruck/collection
All versions before 0.2.1 (fixed in 0.2.1)

References