CVE-2023-37473
CVE-2023-37473 · Limited code execution in zenstruck/collections
This page contains facts from public vulnerability sources. Check the original advisory before updating.
zenstruck/collections is a set of helpers for iterating/paginating/filtering collections. Passing _callable strings_ (ie `system`) caused the function to be executed. This would result in a limited subset of specific user input being executed as if it were code. This issue has been addressed in commit `f4b1c48820` and included in release version 0.2.1. Users are advised to upgrade. Users unable to upgrade should ensure that user input is not passed to either `EntityRepository::find()` or `query()`.
CVSS 8.6 · High · EPSS 0.9% · Fix available
- Published
- Updated
Stack: php
Affected products and versions
collection
- Versions
- < 0.2.1: Affected
No fix published
zenstruck/collection Packagist
- Versions
- v0.1.0
- v0.2.0
- Affected ranges
- ECOSYSTEM: < 0.2.1
Update to 0.2.1