CVE-2023-37473

Limited code execution in zenstruck/collections

Published Jul 14, 2023 CVSS 3.1 · 8.6 High EPSS < 1% KEV · Not listed
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()`.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-1996 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()`.
Github GHSA Github GHSA GHSA-7xr2-8ff7-6fjq zenstruck/collection passing callable string to EntityRepository::find() and query()
History
Type Values Removed Values Added
CPEs cpe:2.3:a:zenstruck:collection:*:*:*:*:*:*:*:*
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 18, 2024, 5:42 PM
Reserved
Jul 6, 2023, 1:01 PM
Status
Modified
Published
Jul 14, 2023, 9:15 PM
Modified
Jun 17, 2026, 6:08 AM