VAITP Dataset

Dataset Statistics
Search for CVE
#
CVE
Vulnerability
ODC
Category
Subcategory
Accessibility Scope
Details
Total vulnerabilities in the dataset (not showing ignored and non-python related vulnerabilties): 1612
1138
CVE-2024-45858
Arbitrary code execution via malicious XML file in Guardrails framework.

An arbitrary code execution vulnerability exists in versions 0.2.9 up to 0.5.10 of the Guardrails AI Guardrails framework because of the way it validates XML files. If a victim user loads a maliciously crafted XML file containing Python code, the code will be passed to an eval function, causing it to execute on the user's machine.

Checking
Input Validation and Sanitization
Insecure Parsing or Deserialization
Remote
1137
CVE-2024-45848
Arbitrary code execution in MindsDB with crafted INSERT queries.

An arbitrary code execution vulnerability exists in versions 23.12.4.0 up to 24.7.4.1 of the MindsDB platform, when the ChromaDB integration is installed on the server. If a specially crafted โ€˜INSERTโ€™ query containing Python code is run against a database created with the ChromaDB engine, the code will be passed to an eval function and executed on the server.

Function
Input Validation and Sanitization
SQL Injection
Remote
1136
CVE-2024-45846
Arbitrary code execution in MindsDB with Weaviate integration via SQL.

An arbitrary code execution vulnerability exists in versions 23.10.3.0 up to 24.7.4.1 of the MindsDB platform, when the Weaviate integration is installed on the server. If a specially crafted โ€˜SELECT WHEREโ€™ clause containing Python code is run against a database created with the Weaviate engine, the code will be passed to an eval function and executed on the server.

Function
Input Validation and Sanitization
Command Injection
Remote
1135
CVE-2024-5565
Prompt injection in Vanna library allows remote code execution.

The Vanna library uses a prompt function to present the user with visualized results, it is possible to alter the prompt using prompt injection and run arbitrary Python code instead of the intended visualization code. Specifically - allowing external input to the libraryโ€™s โ€œaskโ€ method with "visualize" set to True (default behavior) leads to remote code execution.

Function
Input Validation and Sanitization
Command Injection
Remote
1134
CVE-2024-34062
Arbitrary code execution via non-boolean CLI arguments in tqdm.

tqdm is an open source progress bar for Python and CLI. Any optional non-boolean CLI arguments (e.g. `--delim`, `--buf-size`, `--manpath`) are passed through python's `eval`, allowing arbitrary code execution. This issue is only locally exploitable and had been addressed in release version 4.66.3. All users are advised to upgrade. There are no known workarounds for this vulnerability.

Function
Input Validation and Sanitization
Command Injection
Local
1133
CVE-2024-34083
aiosmtpd allows unencrypted commands post-STARTTLS, risking MITM attacks.

aiosmptd is a reimplementation of the Python stdlib smtpd.py based on asyncio. Prior to version 1.4.6, servers based on aiosmtpd accept extra unencrypted commands after STARTTLS, treating them as if they came from inside the encrypted connection. This could be exploited by a man-in-the-middle attack. Version 1.4.6 contains a patch for the issue.

Function
Cryptographic
Unencrypted communication
Remote
1131
CVE-2024-29189
Vulnerability in PyAnsys Geometry allows malicious operations via _start_program.

PyAnsys Geometry is a Python client library for the Ansys Geometry service and other CAD Ansys products. On file src/ansys/geometry/core/connection/product_instance.py, upon calling this method _start_program directly, users could exploit its usage to perform malicious operations on the current machine where the script is ran. This vulnerability is fixed in 0.3.3 and 0.4.12.

Algorithm
Design Defects
Poorly Designed Access Controls
Local
1130
CVE-2023-50447
Pillow 10.1.0 allows arbitrary code execution via the environment parameter.

Pillow through 10.1.0 allows PIL.ImageMath.eval Arbitrary Code Execution via the environment parameter, a different vulnerability than CVE-2022-22817 (which was about the expression parameter).

Function
Input Validation and Sanitization
Command Injection
Remote
1129
CVE-2024-41810
HTML injection vulnerability in `redirectTo` may lead to XSS attacks.

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.

Checking
Input Validation and Sanitization
Cross-Site Scripting (XSS)
Remote
1128
CVE-2024-25723
ZenML Server allows remote privilege escalation via an insecure API endpoint.

ZenML Server in the ZenML machine learning package before 0.46.7 for Python allows remote privilege escalation because the /api/v1/users/{user_name_or_id}/activate REST API endpoint allows access on the basis of a valid username along with a new password in the request body. These are also patched versions: 0.44.4, 0.43.1, and 0.42.2.

Interface
Authentication, Authorization, and Session Management
Privilege Escalation
Remote
Introducing the "VAITP dataset": a specialized repository of Python vulnerabilities and patches, meticulously compiled for the use of the security research community. As Python's prominence grows, understanding and addressing potential security vulnerabilities become crucial. Crafted by and for the cybersecurity community, this dataset offers a valuable resource for researchers, analysts, and developers to analyze and mitigate the security risks associated with Python. Through the comprehensive exploration of vulnerabilities and corresponding patches, the VAITP dataset fosters a safer and more resilient Python ecosystem, encouraging collaborative advancements in programming security.

The supreme art of war is to subdue the enemy without fighting.

Sun Tzu – “The Art of War”

:: Shaping the future through research and ingenuity ::