logo

CVE-2023-37473 zenstruck/collection

Package

Manager: composer
Name: zenstruck/collection
Vulnerable Version: >=0 <0.2.1

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

EPSS: 0.00132 pctl0.33588

Details

zenstruck/collection passing callable string to EntityRepository::find() and query() ### Impact Passing _callable strings_ (ie `system`) caused the function to be executed. ### Patches Fixed in [v0.2.1](https://github.com/zenstruck/collection/releases/tag/v0.2.1). ### Workarounds Do not allow passing user strings to `EntityRepository::find()` or `query()`. ### References [Fix commit](https://github.com/zenstruck/collection/commit/f4b1c488206e1b1581b06fcd331686846f13f19c).

Metadata

Created: 2023-07-14T21:59:13Z
Modified: 2023-07-14T21:59:13Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/07/GHSA-7xr2-8ff7-6fjq/GHSA-7xr2-8ff7-6fjq.json
CWE IDs: ["CWE-74"]
Alternative ID: GHSA-7xr2-8ff7-6fjq
Finding: F184
Auto approve: 1