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): 1890
1136
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
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
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
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
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
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
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
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
1127
SQL injection in vanna v0.3.4 allows unauthorized file access.

vanna-ai/vanna version v0.3.4 is vulnerable to SQL injection in some file-critical functions such as `pg_read_file()`. This vulnerability allows unauthenticated remote users to read arbitrary local files on the victim server, including sensitive files like `/etc/passwd`, by exploiting the exposed SQL queries via a Python Flask API.

Function
Input Validation and Sanitization
SQL Injection
Remote
1126
Open redirect vulnerability due to incorrect URL validation in pyLoad.

pyLoad is an open-source Download Manager written in pure Python. There is an open redirect vulnerability due to incorrect validation of input values when redirecting users after login. pyLoad is validating URLs via the `get_redirect_url` function when redirecting users at login. This vulnerability has been patched with commit fe94451.

Checking
Input Validation and Sanitization
Open Redirects
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 ::