{"id":"CVE-2023-37473","sourceIdentifier":"security-advisories@github.com","published":"2023-07-14T21:15:09.047","lastModified":"2026-06-17T06:08:17.383","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","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()`."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"zenstruck","product":"collection","versions":[{"version":"< 0.2.1","status":"affected"}]}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","affectedData":[{"vendor":"zenstruck","product":"collection","defaultStatus":"unknown","cpes":["cpe:2.3:a:zenstruck:collection:*:*:*:*:*:*:*:*"],"versions":[{"version":"0","lessThan":"0.2.1","versionType":"custom","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":8.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":6.0},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-10-18T17:31:12.675933Z","id":"CVE-2023-37473","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-74"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:zenstruck:collection:0.2.1:*:*:*:*:*:*:*","matchCriteriaId":"E1467BC0-DA70-402B-A066-205A6D03F1A8"}]}]}],"references":[{"url":"https://github.com/zenstruck/collection/commit/f4b1c488206e1b1581b06fcd331686846f13f19c","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/zenstruck/collection/releases/tag/v0.2.1","source":"security-advisories@github.com","tags":["Release Notes"]},{"url":"https://github.com/zenstruck/collection/security/advisories/GHSA-7xr2-8ff7-6fjq","source":"security-advisories@github.com","tags":["Mitigation"]},{"url":"https://github.com/zenstruck/collection/commit/f4b1c488206e1b1581b06fcd331686846f13f19c","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://github.com/zenstruck/collection/releases/tag/v0.2.1","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes"]},{"url":"https://github.com/zenstruck/collection/security/advisories/GHSA-7xr2-8ff7-6fjq","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mitigation"]}]}