CVE-2023-37473

HIGH

zenstruck/collection < 0.2.1 - Remote Code Execution via Callable String Injection

Title source: llm
STIX 2.1

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()`.

Scores

CVSS v3 8.5
EPSS 0.0075
EPSS Percentile 50.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-74
Status published
Products (2)
zenstruck/collection 0.2.1
zenstruck/collection 0 - 0.2.1Packagist
Published Jul 14, 2023
Tracked Since Feb 18, 2026