p PatchFirst

PatchFirst · Свежие уязвимости

Уязвимости python-flask-cors

За последние 30 дней в python-flask-cors опубликовано уязвимостей: 0; в каталоге KEV: 0.

Фильтры уязвимостей
Сбросить фильтры

Уязвимостей: 5

  1. CVE-2024-6866

    Средний · CVSS 5.3EPSS 0,72%Есть исправление

    Case-Insensitive Path Matching in corydolphin/flask-cors

    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.

    • Обновитесь до 3.0.10-2+deb12u1
  2. CVE-2024-6844

    Средний · CVSS 5.3EPSS 0,32%Есть исправление

    Inconsistent CORS Matching Due to Handling of '+' in URL Path in corydolphin/flask-cors

    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.

    • Обновитесь до 3.0.10-2+deb12u1
  3. CVE-2024-6839

    Средний · CVSS 4.3EPSS 0,74%Есть исправление

    Improper Regex Path Matching in corydolphin/flask-cors

    corydolphin/flask-cors version 4.0.1 contains an improper regex path matching vulnerability. The plugin prioritizes longer regex patterns over more specific ones when matching paths, which can lead to less restrictive CORS policies being applied to sensitive endpoints. This mismatch in regex pattern priority allows unauthorized cross-origin access to sensitive data or functionality, potentially exposing confidential information and increasing the risk of unauthorized actions by malicious actors.

    • Обновитесь до 3.0.10-2+deb12u1
  4. CVE-2024-1681

    Средний · CVSS 5.3EPSS 0,58%Есть исправление

    Log Injection Vulnerability in corydolphin/flask-cors

    corydolphin/flask-cors is vulnerable to log injection when the log level is set to debug. An attacker can inject fake log entries into the log file by sending a specially crafted GET request containing a CRLF sequence in the request path. This vulnerability allows attackers to corrupt log files, potentially covering tracks of other attacks, confusing log post-processing tools, and forging log entries. The issue is due to improper output neutralization for logs.

    • Обновитесь до 3.0.10-2+deb12u1
    Опубликовано Обновлено
  5. CVE-2020-25032

    Высокий · CVSS 8.7EPSS 3,91%Есть исправление

    CVE-2020-25032

    An issue was discovered in Flask-CORS (aka CORS Middleware for Flask) before 3.0.9. It allows ../ directory traversal to access private resources because resource matching does not ensure that pathnames are in a canonical format.

    • Обновитесь до 3.0.9-1
    Опубликовано Обновлено

Проверьте свой сервер

Сопоставьте установленный стек и версии со свежими базами уязвимостей.

Проверьте свой сервер →