Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. zenstruck/collection
  4. ›
  5. CVE-2023-37473

CVE-2023-37473: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

July 14, 2023 (updated July 31, 2023)

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

References

  • github.com/zenstruck/collection/commit/f4b1c488206e1b1581b06fcd331686846f13f19c
  • github.com/zenstruck/collection/releases/tag/v0.2.1
  • github.com/zenstruck/collection/security/advisories/GHSA-7xr2-8ff7-6fjq
  • nvd.nist.gov/vuln/detail/CVE-2023-37473

Code Behaviors & Features

Detect and mitigate CVE-2023-37473 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 0.2.1

Solution

Unfortunately, there is no solution available yet.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

packagist/zenstruck/collection/CVE-2023-37473.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:30 +0000.