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

exploitDog

github логотип

GHSA-g27j-74fp-xfpr

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

Описание

Insecure default value for CORS configuration

Impact

The default value for the CORS_ENABLED and CORS_ORIGIN configuration was set to be very permissive by default. This could lead to unauthorized access in uncontrolled environments when the configuration hasn't been changed.

Patches

The default values for CORS have been changed in https://github.com/directus/directus/pull/12022 which is released under 9.7.0

Workarounds

Configure the CORS environment variables to match your project's usage, rather than leaving them at the (permissive) defaults.

For more information

If you have any questions or comments about this advisory:

Пакеты

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

directus

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

< 9.7.0

9.7.0

EPSS

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

9.8 Critical

CVSS3

Дефекты

CWE-942

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

CVSS3: 9.8
nvd
около 3 лет назад

In Directus before 9.7.0, the default settings of CORS_ORIGIN and CORS_ENABLED are true.

EPSS

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

9.8 Critical

CVSS3

Дефекты

CWE-942