CVE Catalog

CVE-2023-37473

HighCVSS 8.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.75%

50th percentile - higher than 50% of all known CVEs

Summary

The zenstruck/collections library has a vulnerability that allows code execution by passing _callable strings_, such as `system`. This can lead to a limited subset of specific user input being executed as code.

Risk Assessment

Organizations may be exposed to unauthorized code execution, potentially leading to serious security breaches and data loss.

Recommendation

It is recommended to upgrade to version 0.2.1 or later. Users unable to upgrade should ensure that user input is not passed to the `EntityRepository::find()` or `query()` methods.

Related vulnerabilities

Original NVD description (English source)

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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS