Vulnerability Details : CVE-2023-37473
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()`.
Products affected by CVE-2023-37473
- cpe:2.3:a:zenstruck:collection:0.2.1:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-37473
0.15%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 52 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-37473
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST | |
8.5
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
1.8
|
6.0
|
GitHub, Inc. |
CWE ids for CVE-2023-37473
-
The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.Assigned by: security-advisories@github.com (Primary)
References for CVE-2023-37473
-
https://github.com/zenstruck/collection/security/advisories/GHSA-7xr2-8ff7-6fjq
Passing callable string to EntityRepository::find() and query() · Advisory · zenstruck/collection · GitHubMitigation
-
https://github.com/zenstruck/collection/commit/f4b1c488206e1b1581b06fcd331686846f13f19c
security(orm): prevent passing callable strings to `find()`/`query()` · zenstruck/collection@f4b1c48 · GitHubPatch
-
https://github.com/zenstruck/collection/releases/tag/v0.2.1
Release v0.2.1 · zenstruck/collection · GitHubRelease Notes
Jump to