GHSA-7XR2-8FF7-6FJQ
Vulnerability from github – Published: 2023-07-14 21:59 – Updated: 2023-07-14 21:59
VLAI
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
Severity
8.5 (High)
{
"affected": [
{
"package": {
"ecosystem": "Packagist",
"name": "zenstruck/collection"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.2.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2023-37473"
],
"database_specific": {
"cwe_ids": [
"CWE-74"
],
"github_reviewed": true,
"github_reviewed_at": "2023-07-14T21:59:13Z",
"nvd_published_at": "2023-07-14T21:15:09Z",
"severity": "HIGH"
},
"details": "### Impact\nPassing _callable strings_ (ie `system`) caused the function to be executed.\n\n### Patches\nFixed in [v0.2.1](https://github.com/zenstruck/collection/releases/tag/v0.2.1).\n\n### Workarounds\nDo not allow passing user strings to `EntityRepository::find()` or `query()`.\n\n### References\n[Fix commit](https://github.com/zenstruck/collection/commit/f4b1c488206e1b1581b06fcd331686846f13f19c).\n",
"id": "GHSA-7xr2-8ff7-6fjq",
"modified": "2023-07-14T21:59:13Z",
"published": "2023-07-14T21:59:13Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/zenstruck/collection/security/advisories/GHSA-7xr2-8ff7-6fjq"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-37473"
},
{
"type": "WEB",
"url": "https://github.com/zenstruck/collection/commit/f4b1c488206e1b1581b06fcd331686846f13f19c"
},
{
"type": "PACKAGE",
"url": "https://github.com/zenstruck/collection"
},
{
"type": "WEB",
"url": "https://github.com/zenstruck/collection/releases/tag/v0.2.1"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "zenstruck/collection passing callable string to EntityRepository::find() and query()"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…