Advisory

GHSA-7xr2-8ff7-6fjq

Also known as: CVE-2023-37473

Summary

zenstruck/collection passing callable string to EntityRepository::find() and query()

Details

Impact
Passing _callable strings_ (ie system) caused the function to be executed.

Patches
Fixed in v0.2.1.

Workarounds
Do not allow passing user strings to EntityRepository::find() or query().

References
Fix commit.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-07-14 21:59 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

zenstruck/collection

Packagist · All systems

Affected

  • introduced 0, fixed 0.2.1 (ecosystem)

Fixed versions

0.2.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences