Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-7xr2-8ff7-6fjq

Опубликовано: 14 июл. 2023
Источник: github
Github: Прошло ревью
CVSS3: 8.5

Описание

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.

Пакеты

Наименование

zenstruck/collection

composer
Затронутые версииВерсия исправления

< 0.2.1

0.2.1

EPSS

Процентиль: 33%
0.00132
Низкий

8.5 High

CVSS3

Дефекты

CWE-74

Связанные уязвимости

CVSS3: 8.5
nvd
больше 2 лет назад

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

EPSS

Процентиль: 33%
0.00132
Низкий

8.5 High

CVSS3

Дефекты

CWE-74