Tóm tắt nhanh
- CVE-2024-6844 là lỗ hổng mức TRUNG BÌNH (CVSS 5.3) ảnh hưởng flask-cors, flask-cors (flask-cors project).
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 0.32%, cao hơn 24.9% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 6.0.0 hoặc mới hơn.
| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|
| flask-cors PyPI | < 6.0.0
| 6.0.0
|
| flask-cors | = 4.0.1
| Chưa có bản vá |
Mô tả
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.
Mô tả của NVD
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.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí