CVE-2023-37473

High

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

SeverityHigh
CVSS8.5
Exploit probability—
ProductZenstruck Collection
PublishedJul 14, 2023
First seenJul 14, 2023
Weakness typeCWE-74Injection

How to fix

Update
  • zenstruck/collection0.2.1 or later

Affected products

ProductAffected versionsFixed in
zenstruck collection0.2.1—
zenstruck/collectionPackagistv < 0.2.10.2.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.