Security mailing lists by PureSourceCode

CVE-2023-37473

HIGH 8.8CVSS 3.1

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

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

Published
14 Jul 2023
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-74
Also known as
GHSA-7xr2-8ff7-6fjq
Sources
NVDJSONOSV GHSA-7xr2-8ff7-6fjqJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD zenstruck collection
cpe:2.3:a:zenstruck:collection:0.2.1:*:*:*:*:*:*:*
= 0.2.1
OSV Packagist zenstruck/collection < 0.2.1 0.2.1

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 14 Jul 2023)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 14 Jul 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.