{"id":"CVE-2023-37473","published":"2023-07-14T20:00:16Z","modified":"2024-10-18T17:42:36Z","title":"Limited code execution in zenstruck/collections","vendor":"zenstruck","product":"collection","tier":"tail","description":{"text":"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()`.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00939,"percentile":0.61781,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/zenstruck/collection/security/advisories/GHSA-7xr2-8ff7-6fjq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/zenstruck/collection/commit/f4b1c488206e1b1581b06fcd331686846f13f19c","tags":["x_refsource_MISC"]},{"url":"https://github.com/zenstruck/collection/releases/tag/v0.2.1","tags":["x_refsource_MISC"]}],"priority":{"score":18.4,"factors":[{"name":"EPSS percentile","points":12.36},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"zenstruck","affectedVersions":[{"vendor":"zenstruck","product":"collection","versions":["< 0.2.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-10-18T17:31:12.675933Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"zenstruck/collection","vulnerableRanges":["<0.2.1"],"patched":["0.2.1"],"from":["GHSA-7xr2-8ff7-6fjq"],"provenance":"source"}],"euvd":{"id":"EUVD-2023-1996","exploited":false,"provenance":"source"}}