{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-37473","id":"CVE-2023-37473","title":"Limited code execution in zenstruck/collections","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","descriptionLong":"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","updated":"2026-10-28T02:31:14.973901122Z","reserved":"2023-07-06T13:01:36.998Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["zenstruck collection"],"affectedProducts":[{"vendor":"zenstruck","product":"collection","defaultStatus":null,"versions":[{"version":"< 0.2.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"zenstruck/collection","purl":"pkg:composer/zenstruck/collection","ranges":["<0.2.1"],"fixed":["0.2.1"],"advisory":"GHSA-7xr2-8ff7-6fjq"}],"cwes":["CWE-74"],"aliases":["GHSA-7xr2-8ff7-6fjq"],"references":[{"url":"https://github.com/zenstruck/collection/security/advisories/GHSA-7xr2-8ff7-6fjq","tags":["x_refsource_CONFIRM","x_transferred","Mitigation","advisory","web"]},{"url":"https://github.com/zenstruck/collection/commit/f4b1c488206e1b1581b06fcd331686846f13f19c","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/zenstruck/collection/releases/tag/v0.2.1","tags":["x_refsource_MISC","x_transferred","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/37xxx/CVE-2023-37473.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37473","tags":["advisory"]},{"url":"https://github.com/zenstruck/collection","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00939,"epssPercentile":0.61664,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-37473","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37473","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-37473","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7xr2-8ff7-6fjq","ok":true,"note":"GHSA-7xr2-8ff7-6fjq"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-37473","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}