p PatchFirst

PatchFirst · Vulnerabilidades recientes

Vulnerabilidades de la pila Python · Página 184

Vulnerabilidades publicadas para Python en los últimos 30 días: 354. Incluidas en el catálogo KEV: 1.

Filtrar vulnerabilidades
Python

Vulnerabilidades: 7137

  1. CVE-2024-9287

    Media · CVSS 5.3EPSS 0,65%Corrección disponible

    Virtual environment (venv) activation scripts don't quote paths

    A vulnerability has been found in the CPython `venv` module and CLI where path names provided when creating a virtual environment were not quoted properly, allowing the creator to inject commands into virtual environment "activation" scripts (ie "source venv/bin/activate"). This means that attacker-controlled virtual environments are able to run commands when the virtual environment is activated. Virtual environments which are not created by an attacker or which aren't activated before being used (ie "./venv/bin/python") are not affected.

    • Actualiza a 3.10.12-1~22.04.7
    • Actualiza a 3.10.16
    • Actualiza a 3.11.0~rc1-1~22.04.1~esm2
    • Actualiza a 3.11.11
    • Actualiza a 3.11.2-6+deb12u5
    • Actualiza a 3.12.3-1ubuntu0.3
    • Actualiza a 3.12.8
    • Actualiza a 3.13.1
    • Actualiza a 3.13.1-1
    • Actualiza a 3.14.0a2
    • Actualiza a 3.4.3-1ubuntu1~14.04.7+esm14
    • Actualiza a 3.5.2-2ubuntu0~16.04.13+esm16
    • Actualiza a 3.5.2-2ubuntu0~16.04.4~14.04.1+esm4
    • Actualiza a 3.6.9-1~18.04ubuntu1.13+esm3
    • Actualiza a 3.7.5-2ubuntu1~18.04.2+esm4
    • Actualiza a 3.8.0-3ubuntu1~18.04.2+esm3
    • Actualiza a 3.8.10-0ubuntu1~20.04.16
    • Actualiza a 3.9.21
    • Actualiza a 3.9.5-3ubuntu0~20.04.1+esm3
    • Actualiza a 7.3.11+dfsg-2+deb12u3
    • Actualiza a 7.3.17+dfsg-3
    Publicación Actualización
  2. CVE-2024-10073

    Media · CVSS 6.3EPSS 0,61%Corrección disponible

    flairNLP flair Mode File Loader clustering.py ClusteringModel code injection

    A vulnerability, which was classified as critical, was found in flairNLP flair 0.14.0. Affected is the function ClusteringModel of the file flair\models\clustering.py of the component Mode File Loader. The manipulation leads to code injection. It is possible to launch the attack remotely. The complexity of an attack is rather high. The exploitability is told to be difficult. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

    • Actualiza a 0.15.0
    Publicación Actualización
  3. CVE-2024-21272

    Alta · CVSS 7.5EPSS 0,51%Corrección disponible

    CVE-2024-21272

    Vulnerability in the MySQL Connectors product of Oracle MySQL (component: Connector/Python). Supported versions that are affected are 9.0.0 and prior. Difficult to exploit vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Connectors. Successful attacks of this vulnerability can result in takeover of MySQL Connectors. CVSS 3.1 Base Score 7.5 (Confidentiality, Integrity and Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H).

    • Actualiza a 9.1.0
    Publicación Actualización
  4. CVE-2024-47874

    Alta · CVSS 8.7EPSS 0,65%Corrección disponible

    Starlette Denial of service (DoS) via multipart/form-data

    Starlette is an Asynchronous Server Gateway Interface (ASGI) framework/toolkit. Prior to version 0.40.0, Starlette treats `multipart/form-data` parts without a `filename` as text form fields and buffers those in byte strings with no size limit. This allows an attacker to upload arbitrary large form fields and cause Starlette to both slow down significantly due to excessive memory allocations and copy operations, and also consume more and more memory until the server starts swapping and grinds to a halt, or the OS terminates the server process with an OOM error. Uploading multiple such requests in parallel may be enough to render a service pra

    • Actualiza a 0.26.1-1+deb12u1
    • Actualiza a 0.40.0
    • Actualiza a 0.41.0-1
    Publicación Actualización
  5. CVE-2024-48911

    Media · CVSS 5.8EPSS 0,22%Corrección disponible

    OpenCanary Executes Commands From Potentially Writable Config File

    OpenCanary, a multi-protocol network honeypot, directly executed commands taken from its config file. Prior to version 0.9.4, where the config file is stored in an unprivileged user directory but the daemon is executed by root, it’s possible for the unprivileged user to change the config file and escalate permissions when root later runs the daemon. Version 0.9.4 contains a fix for the issue.

    • Actualiza a 0.9.4
    • Actualiza a 0.9.5
    Publicación Actualización
  6. CVE-2024-6985

    Media · CVSS 4.4EPSS 0,36%Corrección disponible

    Path Traversal in api open_personality_folder in parisneo/lollms-webui

    A path traversal vulnerability exists in the api open_personality_folder endpoint of parisneo/lollms-webui. This vulnerability allows an attacker to read any folder in the personality_folder on the victim's computer, even though sanitize_path is set. The issue arises due to improper sanitization of the personality_folder parameter, which can be exploited to traverse directories and access arbitrary files.

    • Actualiza a 5.9.0
    Publicación Actualización
  7. CVE-2024-6971

    Baja · CVSS 3.4EPSS 0,32%Sin corrección publicada

    Path Traversal in parisneo/lollms-webui

    A path traversal vulnerability exists in the parisneo/lollms-webui repository, specifically in the `lollms_file_system.py` file. The functions `add_rag_database`, `toggle_mount_rag_database`, and `vectorize_folder` do not implement security measures such as `sanitize_path_from_endpoint` or `sanitize_path`. This allows an attacker to perform vectorize operations on `.sqlite` files in any directory on the victim's computer, potentially installing multiple packages and causing a crash.

    Publicación Actualización
  8. CVE-2024-47867

    Baja · CVSS 2.1EPSS 0,21%Corrección disponible

    Lack of integrity check on the downloaded FRP client in Gradio

    Gradio is an open-source Python package designed for quick prototyping. This vulnerability is a **lack of integrity check** on the downloaded FRP client, which could potentially allow attackers to introduce malicious code. If an attacker gains access to the remote URL from which the FRP client is downloaded, they could modify the binary without detection, as the Gradio server does not verify the file's checksum or signature. Any users utilizing the Gradio server's sharing mechanism that downloads the FRP client could be affected by this vulnerability, especially those relying on the executable binary for secure data tunneling. There is no di

    • Actualiza a 5.0.0
    Publicación Actualización
  9. CVE-2024-47868

    Media · CVSS 6.3EPSS 0,82%Corrección disponible

    Several components’ post-process steps may allow arbitrary file leaks in Gradio

    Gradio is an open-source Python package designed for quick prototyping. This is a **data validation vulnerability** affecting several Gradio components, which allows arbitrary file leaks through the post-processing step. Attackers can exploit these components by crafting requests that bypass expected input constraints. This issue could lead to sensitive files being exposed to unauthorized users, especially when combined with other vulnerabilities, such as issue TOB-GRADIO-15. The components most at risk are those that return or handle file data. Vulnerable Components: 1. **String to FileData:** DownloadButton, Audio, ImageEditor, Video, Model

    • Actualiza a 5.0.0
    Publicación Actualización
  10. CVE-2024-47869

    Baja · CVSS 2.3EPSS 0,29%Corrección disponible

    Non-constant-time comparison when comparing hashes in Gradio

    Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves a **timing attack** in the way Gradio compares hashes for the `analytics_dashboard` function. Since the comparison is not done in constant time, an attacker could exploit this by measuring the response time of different requests to infer the correct hash byte-by-byte. This can lead to unauthorized access to the analytics dashboard, especially if the attacker can repeatedly query the system with different keys. Users are advised to upgrade to `gradio>4.44` to mitigate this issue. To mitigate the risk before applying the patch, developers can man

    • Actualiza a 4.44.0
    Publicación Actualización
  11. CVE-2024-47870

    Alta · CVSS 7.1EPSS 0,37%Corrección disponible

    Race condition in update_root_in_config may redirect user traffic in Gradio

    Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves a **race condition** in the `update_root_in_config` function, allowing an attacker to modify the `root` URL used by the Gradio frontend to communicate with the backend. By exploiting this flaw, an attacker can redirect user traffic to a malicious server. This could lead to the interception of sensitive data such as authentication credentials or uploaded files. This impacts all users who connect to a Gradio server, especially those exposed to the internet, where malicious actors could exploit this race condition. Users are advised to upgrade to

    • Actualiza a 5.0.0
    Publicación Actualización
  12. CVE-2024-47871

    Alta · CVSS 8.2EPSS 0,18%Corrección disponible

    Insecure communication between the FRP client and server in Gradio

    Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves **insecure communication** between the FRP (Fast Reverse Proxy) client and server when Gradio's `share=True` option is used. HTTPS is not enforced on the connection, allowing attackers to intercept and read files uploaded to the Gradio server, as well as modify responses or data sent between the client and server. This impacts users who are sharing Gradio demos publicly over the internet using `share=True` without proper encryption, exposing sensitive data to potential eavesdroppers. Users are advised to upgrade to `gradio>=5` to address this i

    • Actualiza a 5.0.0
    Publicación Actualización
  13. CVE-2024-47872

    Media · CVSS 6.9EPSS 0,28%Corrección disponible

    Cross-site Scripting on Gradio server via upload of HTML files, JS files, or SVG files

    Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves **Cross-Site Scripting (XSS)** on any Gradio server that allows file uploads. Authenticated users can upload files such as HTML, JavaScript, or SVG files containing malicious scripts. When other users download or view these files, the scripts will execute in their browser, allowing attackers to perform unauthorized actions or steal sensitive information from their sessions. This impacts any Gradio server that allows file uploads, particularly those using components that process or display user-uploaded files. Users are advised to upgrade to `gr

    • Actualiza a 5.0.0
    Publicación Actualización
  14. GHSA-26jh-r8g2-6fpr

    Media · CVSS 6.9Corrección disponible

    Gradio's dropdown component pre-process step does not limit the values to those in the dropdown list

    ### Impact **What kind of vulnerability is it? Who is impacted?** This vulnerability is a **data validation issue** in the Gradio `Dropdown` component's pre-processing step. Even if the `allow_custom_value` parameter is set to `False`, attackers can bypass this restriction by sending custom requests with arbitrary values, effectively breaking the developer’s intended input constraints. While this alone is not a severe vulnerability, it can lead to more critical security issues, particularly when paired with other vulnerabilities like file downloads from the user's machine. ### Patches Yes, this issue is addressed in `gradio>=5.0`. Please up

    • Actualiza a 5.0.0
    Publicación Actualización
  15. CVE-2024-47084

    Media · CVSS 6.9EPSS 0,53%Corrección disponible

    CORS origin validation is not performed when the request has a cookie in Gradio

    Gradio is an open-source Python package designed for quick prototyping. This vulnerability is related to **CORS origin validation**, where the Gradio server fails to validate the request origin when a cookie is present. This allows an attacker’s website to make unauthorized requests to a local Gradio server. Potentially, attackers can upload files, steal authentication tokens, and access user data if the victim visits a malicious website while logged into Gradio. This impacts users who have deployed Gradio locally and use basic authentication. Users are advised to upgrade to `gradio>4.44` to address this issue. As a workaround, users can manu

    • Actualiza a 4.44.0
    Publicación Actualización
  16. CVE-2024-47164

    Baja · CVSS 2.3EPSS 0,7%Corrección disponible

    The `is_in_or_equal` function may be bypassed in Gradio

    Gradio is an open-source Python package designed for quick prototyping. This vulnerability relates to the **bypass of directory traversal checks** within the `is_in_or_equal` function. This function, intended to check if a file resides within a given directory, can be bypassed with certain payloads that manipulate file paths using `..` (parent directory) sequences. Attackers could potentially access restricted files if they are able to exploit this flaw, although the difficulty is high. This primarily impacts users relying on Gradio’s blocklist or directory access validation, particularly when handling file uploads. Users are advised to upgra

    • Actualiza a 5.0.0
    Publicación Actualización
  17. CVE-2024-47165

    Media · CVSS 6.9EPSS 0,3%Corrección disponible

    CORS origin validation accepts the null origin in Gradio

    Gradio is an open-source Python package designed for quick prototyping. This vulnerability relates to **CORS origin validation accepting a null origin**. When a Gradio server is deployed locally, the `localhost_aliases` variable includes "null" as a valid origin. This allows attackers to make unauthorized requests from sandboxed iframes or other sources with a null origin, potentially leading to data theft, such as user authentication tokens or uploaded files. This impacts users running Gradio locally, especially those using basic authentication. Users are advised to upgrade to `gradio>=5.0` to address this issue. As a workaround, users can m

    • Actualiza a 5.0.0
    Publicación Actualización
  18. CVE-2024-47166

    Baja · CVSS 2.3EPSS 0,44%Corrección disponible

    One-level read path traversal in `/custom_component` in Gradio

    Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves a **one-level read path traversal** in the `/custom_component` endpoint. Attackers can exploit this flaw to access and leak source code from custom Gradio components by manipulating the file path in the request. Although the traversal is limited to a single directory level, it could expose proprietary or sensitive code that developers intended to keep private. This impacts users who have developed custom Gradio components and are hosting them on publicly accessible servers. Users are advised to upgrade to `gradio>=4.44` to address this issue. A

    • Actualiza a 4.44.0
    Publicación Actualización
  19. CVE-2024-47167

    Media · CVSS 6.9EPSS 0,48%Corrección disponible

    SSRF in the path parameter of /queue/join in Gradio

    Gradio is an open-source Python package designed for quick prototyping. This vulnerability relates to **Server-Side Request Forgery (SSRF)** in the `/queue/join` endpoint. Gradio’s `async_save_url_to_cache` function allows attackers to force the Gradio server to send HTTP requests to user-controlled URLs. This could enable attackers to target internal servers or services within a local network and possibly exfiltrate data or cause unwanted internal requests. Additionally, the content from these URLs is stored locally, making it easier for attackers to upload potentially malicious files to the server. This impacts users deploying Gradio server

    • Actualiza a 5.0.0
    Publicación Actualización
  20. CVE-2024-47168

    Baja · CVSS 2.3EPSS 0,33%Corrección disponible

    The `enable_monitoring` flag set to `False` does not disable monitoring in Gradio

    Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves data exposure due to the enable_monitoring flag not properly disabling monitoring when set to False. Even when monitoring is supposedly disabled, an attacker or unauthorized user can still access the monitoring dashboard by directly requesting the /monitoring endpoint. This means that sensitive application analytics may still be exposed, particularly in environments where monitoring is expected to be disabled. Users who set enable_monitoring=False to prevent unauthorized access to monitoring data are impacted. Users are advised to upgrade to gr

    • Actualiza a 4.44.0
    Publicación Actualización

Comprueba tu servidor

Compara tu pila y las versiones instaladas con las bases actuales de vulnerabilidades.

Comprueba tu servidor →