CVE-2023-37473
Passing _callable strings_ (ie `system`) caused the function to be executed.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.94%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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()`.
- CVSS 3.1
- 8.8 HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.94% probability · 59th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-74
- Affected
- zenstruck/collection
- Source
- security-advisories@github.com
References
- https://github.com/zenstruck/collection/commit/f4b1c488206e1b1581b06fcd331686846f13f19cPatch
- https://github.com/zenstruck/collection/releases/tag/v0.2.1Release Notes
- https://github.com/zenstruck/collection/security/advisories/GHSA-7xr2-8ff7-6fjqMitigation
- https://github.com/zenstruck/collection/commit/f4b1c488206e1b1581b06fcd331686846f13f19cPatch
- https://github.com/zenstruck/collection/releases/tag/v0.2.1Release Notes
- https://github.com/zenstruck/collection/security/advisories/GHSA-7xr2-8ff7-6fjqMitigation
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.