What’s Vulnerable › Vulnerabilities
CVE-2023-37473: Limited code execution in zenstruck/collections
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-07-14 · updated 2026-06-17
- Weakness: CWE-74
Description
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()`.
Affected products
- zenstruck collection: 0.2.1
References
- https://github.com/zenstruck/collection/commit/f4b1c488206e1b1581b06fcd331686846f13f19c
- https://github.com/zenstruck/collection/releases/tag/v0.2.1
- https://github.com/zenstruck/collection/security/advisories/GHSA-7xr2-8ff7-6fjq
- https://github.com/zenstruck/collection/commit/f4b1c488206e1b1581b06fcd331686846f13f19c
- https://github.com/zenstruck/collection/releases/tag/v0.2.1
- https://github.com/zenstruck/collection/security/advisories/GHSA-7xr2-8ff7-6fjq
Get alerted when CVE-2023-37473 or the next vulnerability affects your stack