{"id":"CVE-2023-37473","aliases":["GHSA-7xr2-8ff7-6fjq"],"url":"https://o3.security/vulnerability/CVE-2023-37473","summary":"Limited code execution in zenstruck/collections","details":"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()`.","published":"2023-07-14T20:00:16.909Z","modified":"2026-07-15T01:49:01.274865034Z","cvss":{"score":8.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"zenstruck/collection","fixedVersion":"0.2.1"}],"fix":{"url":"https://github.com/zenstruck/collection/commit/f4b1c488206e1b1581b06fcd331686846f13f19c","label":"zenstruck/collection@f4b1c48"},"references":[{"type":"WEB","url":"https://github.com/zenstruck/collection/releases/tag/v0.2.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/37xxx/CVE-2023-37473.json"},{"type":"ADVISORY","url":"https://github.com/zenstruck/collection/security/advisories/GHSA-7xr2-8ff7-6fjq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37473"},{"type":"FIX","url":"https://github.com/zenstruck/collection/commit/f4b1c488206e1b1581b06fcd331686846f13f19c"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:01.274865034Z"}}