p PatchFirst

PatchFirst · Latest vulnerabilities

Python stack vulnerabilities · Page 191

Vulnerabilities published for Python in the last 30 days: 354. Listed in the KEV catalogue: 1.

Filter vulnerabilities
Python

Vulnerabilities: 7137

  1. CVE-2024-3219

    Medium · CVSS 5.1EPSS 0.25%Fix available

    Pure-Python fallback of socket.socketpair() doesn’t authenticate peer connection

    The “socket” module provides a pure-Python fallback to the socket.socketpair() function for platforms that don’t support AF_UNIX, such as Windows. This pure-Python implementation uses AF_INET or AF_INET6 to create a local connected pair of sockets. The connection between the two sockets was not verified before passing the two sockets back to the user, which leaves the server socket vulnerable to a connection race from a malicious local peer. Platforms that support AF_UNIX such as Linux and macOS are not affected by this vulnerability. Versions prior to CPython 3.5 are not affected due to the vulnerable API not being included.

    • Update to 3.10.15
    • Update to 3.11.10
    • Update to 3.12.5
    • Update to 3.13.0rc1
    • Update to 3.8.20
    • Update to 3.9.20
    Published Updated
  2. CVE-2024-6578

    High · CVSS 7.2EPSS 0.29%No fix published

    Stored XSS in aimhubio/aim

    A stored cross-site scripting (XSS) vulnerability exists in aimhubio/aim version 3.19.3. The vulnerability arises from the improper neutralization of input during web page generation, specifically in the logs-tab for runs. The terminal output logs are displayed using the `dangerouslySetInnerHTML` function in React, which is susceptible to XSS attacks. An attacker can exploit this vulnerability by injecting malicious scripts into the logs, which will be executed when a user views the logs-tab.

    Published Updated
  3. CVE-2024-41810

    Medium · CVSS 6.1EPSS 1.2%Public exploitFix available

    HTML injection in HTTP redirect body

    Twisted is an event-based framework for internet applications, supporting Python 3.6+. The `twisted.web.util.redirectTo` function contains an HTML injection vulnerability. If application code allows an attacker to control the redirect URL this vulnerability may result in Reflected Cross-Site Scripting (XSS) in the redirect response HTML body. This vulnerability is fixed in 24.7.0rc1.

    • Update to 13.2.0-1ubuntu1.2+esm3
    • Update to 16.0.0-1ubuntu0.4+esm2
    • Update to 17.9.0-2ubuntu0.3+esm1
    • Update to 18.9.0-11ubuntu0.20.04.4
    • Update to 22.1.0-2ubuntu2.5
    • Update to 22.4.0-4+deb12u1
    • Update to 24.3.0-1ubuntu0.1
    • Update to 24.7.0-1
    • Update to 24.7.0rc1
    Published Updated
  4. CVE-2024-41671

    High · CVSS 8.3EPSS 0.86%Fix available

    twisted.web has disordered HTTP pipeline response

    Twisted is an event-based framework for internet applications, supporting Python 3.6+. The HTTP 1.0 and 1.1 server provided by twisted.web could process pipelined HTTP requests out-of-order, possibly resulting in information disclosure. This vulnerability is fixed in 24.7.0rc1.

    • Update to 17.9.0-2ubuntu0.3+esm2
    • Update to 18.9.0-11ubuntu0.20.04.5
    • Update to 22.1.0-2ubuntu2.6
    • Update to 22.4.0-4+deb12u1
    • Update to 24.3.0-1ubuntu0.1
    • Update to 24.7.0-1
    • Update to 24.7.0rc1
    Published Updated
  5. CVE-2024-41672

    High · CVSS 7.5EPSS 0.81%Fix available

    DuckDB: sniff_csv provides filesystem access even when enable_external_access is disabled

    DuckDB is a SQL database management system. In versions 1.0.0 and prior, content in filesystem is accessible for reading using `sniff_csv`, even with `enable_external_access=false`. This vulnerability provides an attacker with access to filesystem even when access is expected to be disabled and other similar functions do NOT provide access. There seem to be two vectors to this vulnerability. First, access to files that should otherwise not be allowed. Second, the content from a file can be read (e.g. `/etc/hosts`, `proc/self/environ`, etc) even though that doesn't seem to be the intent of the sniff_csv function. A fix for this issue is availa

    • Update to 1.1.0
    Published Updated
  6. CVE-2024-40767

    Medium · CVSS 6.5EPSS 0.95%Fix available

    CVE-2024-40767

    In OpenStack Nova before 27.4.1, 28 before 28.2.1, and 29 before 29.1.1, by supplying a raw format image that is actually a crafted QCOW2 image with a backing file path or VMDK flat image with a descriptor file path, an authenticated user may convince systems to return a copy of the referenced file's contents from the server, resulting in unauthorized access to potentially sensitive data. All Nova deployments are affected. NOTE: this issue exists because of an incomplete fix for CVE-2022-47951 and CVE-2024-32498.

    • Update to 2:21.2.4-0ubuntu2.11
    • Update to 3:25.2.1-0ubuntu2.6
    • Update to 3:29.0.1-0ubuntu1.4
    Published Updated
  7. CVE-2024-41656

    High · CVSS 7.1EPSS 0.47%Fix available

    Sentry vulnerable to stored Cross-Site Scripting (XSS)

    Sentry is an error tracking and performance monitoring platform. Starting in version 10.0.0 and prior to version 24.7.1, an unsanitized payload sent by an Integration platform integration allows storing arbitrary HTML tags on the Sentry side with the subsequent rendering them on the Issues page. Self-hosted Sentry users may be impacted in case of untrustworthy Integration platform integrations sending external issues from their side to Sentry. A patch has been released in Sentry 24.7.1. For Sentry SaaS customers, no action is needed. This has been patched on July 23, and even prior to the fix, the exploitation was not possible due to the stri

    • Update to 24.7.1
    Published Updated
  8. CVE-2024-29073

    Medium · CVSS 5.3EPSS 11.83%Fix available

    CVE-2024-29073

    An vulnerability in the handling of Latex exists in Ankitects Anki 24.04. When Latex is sanitized to prevent unsafe commands, the verbatim package, which comes installed by default in many Latex distributions, has been overlooked. A specially crafted flashcard can lead to an arbitrary file read. An attacker can share a flashcard to trigger this vulnerability.

    • Update to 24.6
    Published Updated
  9. CVE-2024-26020

    Critical · CVSS 9.6EPSS 15.19%Fix available

    CVE-2024-26020

    An arbitrary script execution vulnerability exists in the MPV functionality of Ankitects Anki 24.04. A specially crafted flashcard can lead to a arbitrary code execution. An attacker can send malicious flashcard to trigger this vulnerability.

    • Update to 24.06
    Published Updated
  10. CVE-2024-32152

    Low · CVSS 3.1EPSS 12.25%Fix available

    CVE-2024-32152

    A blocklist bypass vulnerability exists in the LaTeX functionality of Ankitects Anki 24.04. A specially crafted malicious flashcard can lead to an arbitrary file creation at a fixed path. An attacker can share a malicious flashcard to trigger this vulnerability.

    • Update to 24.6
    Published Updated
  11. CVE-2024-41129

    Medium · CVSS 4.4EPSS 0.2%Fix available

    The ops library leaks secrets if `subprocess.CalledProcessError` happens with a `secret-*` CLI command

    The ops library is a Python framework for developing and testing Kubernetes and machine charms. The issue here is that ops passes the secret content as one of the args via CLI. This issue may affect any of the charms that are using: Juju (>=3.0), Juju secrets and not correctly capturing and processing `subprocess.CalledProcessError`. This vulnerability is fixed in 2.15.0.

    • Update to 2.15.0
    Published Updated
  12. CVE-2024-6961

    Medium · CVSS 5.9EPSS 0.41%Fix available

    XXE in Guardrails AI when consuming RAIL documents

    RAIL documents are an XML-based format invented by Guardrails AI to enforce formatting checks on LLM outputs. Guardrails users that consume RAIL documents from external sources are vulnerable to XXE, which may cause leakage of internal file data via the SYSTEM entity.

    • Update to 0.5.0
    Published Updated
  13. CVE-2024-6281

    High · CVSS 7.3EPSS 0.27%Fix available

    Path Traversal in parisneo/lollms

    A path traversal vulnerability exists in the `apply_settings` function of parisneo/lollms versions prior to 9.5.1. The `sanitize_path` function does not adequately secure the `discussion_db_name` parameter, allowing attackers to manipulate the path and potentially write to important system folders.

    • Update to 9.5.1
    Published Updated
  14. CVE-2024-41124

    Medium · CVSS 6.3EPSS 0.27%Fix available

    Puncia Cleartext Transmission of Sensitive Information via HTTP urls in `API_URLS`

    Puncia is the Official CLI utility for Subdomain Center & Exploit Observer. `API_URLS` is utilizing HTTP instead of HTTPS for communication that can lead to issues like Eavesdropping, Data Tampering, Unauthorized Data Access & MITM Attacks. This issue has been addressed in release version 0.21 by using https rather than http connections. All users are advised to upgrade. There is no known workarounds for this vulnerability.

    • Update to 0.21
    Published Updated
  15. CVE-2024-39123

    Medium · CVSS 5.4EPSS 23.07%No fix published

    CVE-2024-39123

    In janeczku Calibre-Web 0.6.0 to 0.6.21, the edit_book_comments function is vulnerable to Cross Site Scripting (XSS) due to improper sanitization performed by the clean_string function. The vulnerability arises from the way the clean_string function handles HTML sanitization.

    Published Updated
  16. CVE-2024-35198

    Critical · CVSS 9.8EPSS 0.8%Fix available

    TorchServe bypass allowed_urls configuration

    TorchServe is a flexible and easy-to-use tool for serving and scaling PyTorch models in production. TorchServe 's check on allowed_urls configuration can be by-passed if the URL contains characters such as ".." but it does not prevent the model from being downloaded into the model store. Once a file is downloaded, it can be referenced without providing a URL the second time, which effectively bypasses the allowed_urls security check. Customers using PyTorch inference Deep Learning Containers (DLC) through Amazon SageMaker and EKS are not affected. This issue in TorchServe has been fixed by validating the URL without characters such as ".." be

    • Update to 0.11.0
    Published Updated
  17. CVE-2024-35199

    High · CVSS 8.2EPSS 0.64%Fix available

    TorchServe gRPC Port Exposure

    TorchServe is a flexible and easy-to-use tool for serving and scaling PyTorch models in production. In affected versions the two gRPC ports 7070 and 7071, are not bound to [localhost](http://localhost/) by default, so when TorchServe is launched, these two interfaces are bound to all interfaces. Customers using PyTorch inference Deep Learning Containers (DLC) through Amazon SageMaker and EKS are not affected. This issue in TorchServe has been fixed in PR #3083. TorchServe release 0.11.0 includes the fix to address this vulnerability. Users are advised to upgrade. There are no known workarounds for this vulnerability.

    • Update to 0.11.0
    Published Updated
  18. CVE-2024-40647

    Medium · CVSS 5.3EPSS 0.2%Fix available

    Unintentional exposure of environment variables to subprocesses in sentry-sdk

    sentry-sdk is the official Python SDK for Sentry.io. A bug in Sentry's Python SDK < 2.8.0 allows the environment variables to be passed to subprocesses despite the `env={}` setting. In Python's `subprocess` calls, all environment variables are passed to subprocesses by default. However, if you specifically do not want them to be passed to subprocesses, you may use `env` argument in `subprocess` calls. Due to the bug in Sentry SDK, with the Stdlib integration enabled (which is enabled by default), this expectation is not fulfilled, and all environment variables are being passed to subprocesses instead. The issue has been patched in pull reques

    • Update to 1.45.1
    • Update to 1.9.10-2+deb12u1
    • Update to 2.16.0-1
    • Update to 2.8.0
    Published Updated
  19. GHSA-vhmj-5q9r-mm9g

    Medium · CVSS 6.8Fix available

    BlastRADIUS also affects eduMFA

    ### Summary BlastRADIUS (see blastradius.fail for details) also affects eduMFA prior version 2.2.0, because the Message-Authenticator attributes were not checked. ### Details Website with the vulnerability information blastradius.fail The original vulnerability has been assigned CVE-2024-3596 Case in vince: https://kb.cert.org/vuls/id/456537 ### PoC There is no known proof-of-concept except for the attack shown in the paper from the researchers ### Impact An attacker can trigger an authentication flow with a RADIUS-backed token, intercept the RADIUS packet sent by eduMFA and modify the RADIUS server's answer, which would lead eduMFA to be

    • Update to 2.2.0
    Published Updated
  20. CVE-2024-31411

    Medium · CVSS 6EPSS 1.11%Fix available

    Apache StreamPipes: Potential remote code execution (RCE) via file upload

    Unrestricted Upload of File with dangerous type vulnerability in Apache StreamPipes. Such a dangerous type might be an executable file that may lead to a remote code execution (RCE). The unrestricted upload is only possible for authenticated and authorized users. This issue affects Apache StreamPipes: through 0.93.0. Users are recommended to upgrade to version 0.95.0, which fixes the issue.

    • Update to 0.95.0
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →