Tóm tắt nhanh
- CVE-2024-6866 là lỗ hổng mức CAO (CVSS 7.5) ả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.72%, cao hơn 53.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ả
corydolphin/flask-cors version 5.0.1 contains a vulnerability where the request path matching is case-insensitive due to the use of the try_match function, which is originally intended for matching hosts. This results in a mismatch because paths in URLs are case-sensitive, but the regex matching treats them as case-insensitive. This misconfiguration can lead to significant security vulnerabilities, allowing unauthorized origins to access paths meant to be restricted, resulting in data exposure and potential data leaks.
Mô tả của NVD
corydolphin/flask-cors version 4.01 contains a vulnerability where the request path matching is case-insensitive due to the use of the `try_match` function, which is originally intended for matching hosts. This results in a mismatch because paths in URLs are case-sensitive, but the regex matching treats them as case-insensitive. This misconfiguration can lead to significant security vulnerabilities, allowing unauthorized origins to access paths meant to be restricted, resulting in data exposure and potential data leaks.
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í