Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS03eHIyLThmZjctNmZqcc4AA0t9

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

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.

Permalink: https://github.com/advisories/GHSA-7xr2-8ff7-6fjq
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS03eHIyLThmZjctNmZqcc4AA0t9
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 10 months ago
Updated: 6 months ago


CVSS Score: 8.6
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Identifiers: GHSA-7xr2-8ff7-6fjq, CVE-2023-37473
References: Repository: https://github.com/zenstruck/collection
Blast Radius: 0.0

Affected Packages

packagist:zenstruck/collection
Dependent packages: 1
Dependent repositories: 1
Downloads: 46,286 total
Affected Version Ranges: < 0.2.1
Fixed in: 0.2.1
All affected versions: 0.1.0, 0.2.0
All unaffected versions: 0.2.1, 0.2.2, 0.3.0, 0.4.0