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

exploitDog

github логотип

GHSA-vqfx-gj96-3w95

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

Описание

Unsafe fall-through in getWhereConditions

Impact

Providing an invalid value to the where option of a query caused Sequelize to ignore that option instead of throwing an error.

A finder call like the following did not throw an error:

User.findAll({ where: new Date(), });

As this option is typically used with plain javascript objects, be aware that this only happens at the top level of this option.

Patches

This issue has been patched in sequelize@6.28.1 & @sequelize/core@7.0.0.alpha-20

References

A discussion thread about this issue is open at https://github.com/sequelize/sequelize/discussions/15698

CVE: CVE-2023-22579 Snyk: https://security.snyk.io/vuln/SNYK-JS-SEQUELIZE-3324090

Пакеты

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

sequelize

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

< 6.28.1

6.28.1

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

@sequelize/core

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

< 7.0.0-alpha.20

7.0.0-alpha.20

EPSS

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

9.9 Critical

CVSS3

Дефекты

CWE-843

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

CVSS3: 9.9
nvd
почти 3 года назад

Due to improper parameter filtering in the sequalize js library, can a attacker peform injection.

EPSS

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

9.9 Critical

CVSS3

Дефекты

CWE-843