{"id":"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()`.","aliases":["GHSA-7xr2-8ff7-6fjq"],"modified":"2026-08-12T03:51:37.938997839Z","published":"2023-07-14T20:00:16.909Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-74"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/37xxx/CVE-2023-37473.json"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/zenstruck/collection","events":[{"introduced":"5401c5f33505077f0e129f7aee7735a3a710e072"},{"fixed":"f4b1c488206e1b1581b06fcd331686846f13f19c"},{"fixed":"5401c5f33505077f0e129f7aee7735a3a710e072"}],"database_specific":{"source":["CPE_STRING","REFERENCES"],"cpe":"cpe:2.3:a:zenstruck:collection:0.2.1:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0.2.1"},{"last_affected":"0.2.1"}]}}],"versions":["0.2.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-37473.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}