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

exploitDog

github логотип

GHSA-8vgw-p6qm-5gr7

Опубликовано: 20 мар. 2025
Источник: github
Github: Прошло ревью
CVSS3: 5.3

Описание

Flask-CORS allows for inconsistent CORS matching

A vulnerability in corydolphin/flask-cors version 5.0.1 allows for inconsistent CORS matching due to the handling of the '+' character in URL paths. The request.path is passed through the unquote_plus function, which converts the '+' character to a space ' '. This behavior leads to incorrect path normalization, causing potential mismatches in CORS configuration. As a result, endpoints may not be matched correctly to their CORS settings, leading to unexpected CORS policy application. This can cause unauthorized cross-origin access or block valid requests, creating security vulnerabilities and usability issues.

Пакеты

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

flask-cors

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

<= 5.0.1

6.0.0

EPSS

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

5.3 Medium

CVSS3

Дефекты

CWE-346

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

CVSS3: 5.3
ubuntu
10 месяцев назад

A vulnerability in corydolphin/flask-cors version 4.0.1 allows for inconsistent CORS matching due to the handling of the '+' character in URL paths. The request.path is passed through the unquote_plus function, which converts the '+' character to a space ' '. This behavior leads to incorrect path normalization, causing potential mismatches in CORS configuration. As a result, endpoints may not be matched correctly to their CORS settings, leading to unexpected CORS policy application. This can cause unauthorized cross-origin access or block valid requests, creating security vulnerabilities and usability issues.

CVSS3: 5.3
nvd
10 месяцев назад

A vulnerability in corydolphin/flask-cors version 4.0.1 allows for inconsistent CORS matching due to the handling of the '+' character in URL paths. The request.path is passed through the unquote_plus function, which converts the '+' character to a space ' '. This behavior leads to incorrect path normalization, causing potential mismatches in CORS configuration. As a result, endpoints may not be matched correctly to their CORS settings, leading to unexpected CORS policy application. This can cause unauthorized cross-origin access or block valid requests, creating security vulnerabilities and usability issues.

CVSS3: 5.3
debian
10 месяцев назад

A vulnerability in corydolphin/flask-cors version 4.0.1 allows for inc ...

CVSS3: 5.3
fstec
больше 1 года назад

Уязвимость библиотеки Flask CORS хранилища программных продуктов языка Python PyPi, позволяющая нарушителю обойти существующие ограничения безопасности

CVSS3: 6.5
redos
4 месяца назад

Множественные уязвимости python3-flask-cors

EPSS

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

5.3 Medium

CVSS3

Дефекты

CWE-346