{"api_version":"1","generated_at":"2026-07-23T15:43:22+00:00","cve":"CVE-2023-37473","urls":{"html":"https://cve.report/CVE-2023-37473","api":"https://cve.report/api/cve/CVE-2023-37473.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-37473","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-37473"},"summary":{"title":"CVE-2023-37473","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()`.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-07-14 21:15:00","updated_at":"2023-07-31 17:12:00"},"problem_types":["CWE-74"],"metrics":[],"references":[{"url":"https://github.com/zenstruck/collection/commit/f4b1c488206e1b1581b06fcd331686846f13f19c","name":"https://github.com/zenstruck/collection/commit/f4b1c488206e1b1581b06fcd331686846f13f19c","refsource":"MISC","tags":[],"title":"security(orm): prevent passing callable strings to `find()`/`query()` · zenstruck/collection@f4b1c48 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/zenstruck/collection/releases/tag/v0.2.1","name":"https://github.com/zenstruck/collection/releases/tag/v0.2.1","refsource":"MISC","tags":[],"title":"Release v0.2.1 · zenstruck/collection · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/zenstruck/collection/security/advisories/GHSA-7xr2-8ff7-6fjq","name":"https://github.com/zenstruck/collection/security/advisories/GHSA-7xr2-8ff7-6fjq","refsource":"MISC","tags":[],"title":"Passing callable string to EntityRepository::find() and query() · Advisory · zenstruck/collection · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-37473","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37473","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"37473","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"zenstruck","cpe5":"collection","cpe6":"0.2.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-37473","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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()`."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","cweId":"CWE-74"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"zenstruck","product":{"product_data":[{"product_name":"collection","version":{"version_data":[{"version_affected":"=","version_value":"< 0.2.1"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/zenstruck/collection/security/advisories/GHSA-7xr2-8ff7-6fjq","refsource":"MISC","name":"https://github.com/zenstruck/collection/security/advisories/GHSA-7xr2-8ff7-6fjq"},{"url":"https://github.com/zenstruck/collection/commit/f4b1c488206e1b1581b06fcd331686846f13f19c","refsource":"MISC","name":"https://github.com/zenstruck/collection/commit/f4b1c488206e1b1581b06fcd331686846f13f19c"},{"url":"https://github.com/zenstruck/collection/releases/tag/v0.2.1","refsource":"MISC","name":"https://github.com/zenstruck/collection/releases/tag/v0.2.1"}]},"source":{"advisory":"GHSA-7xr2-8ff7-6fjq","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.6,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}]}},"nvd":{"publishedDate":"2023-07-14 21:15:00","lastModifiedDate":"2023-07-31 17:12:00","problem_types":["CWE-74"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:zenstruck:collection:0.2.1:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}