zenstruck/collection passing callable string to EntityRepository::find() and query()
Description
Published by the National Vulnerability Database
Jul 14, 2023
Published to the GitHub Advisory Database
Jul 14, 2023
Reviewed
Jul 14, 2023
Last updated
Nov 10, 2023
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()
orquery()
.References
Fix commit.
References