CVE-2024-2195: Aim Package Remote Code Execution Vulnerability
Summary
CVE-2024-2195: Aim Web API vulnerable to Remote Code Execution. Affects aim versions >= 3.0.0, <= 3.25.0. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The aim package is a Python library designed for managing and analyzing machine learning experiments. It provides a web API that allows users to interact with their experiment data programmatically. The package is widely used in the data science community for its robust features and ease of integration. However, a critical vulnerability has been identified that exposes users to potential remote code execution attacks, particularly affecting versions 3.0.0 to 3.25.0.
Vulnerability Detail
A critical Remote Code Execution (RCE) vulnerability exists in the aim package, specifically within the /api/runs/search/run/ endpoint. This vulnerability arises from improper access control in the run_search_api function located in aim/web/api/runs/views.py. Attackers can exploit this flaw by manipulating the query parameter, allowing them to execute arbitrary code on the server. This could lead to a complete system compromise, making it imperative for users to address this vulnerability immediately.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a temporary workaround, users can restrict access to the vulnerable endpoint by implementing additional authentication checks or by disabling the endpoint entirely until the package is updated. However, this is not a permanent solution and updating the package is strongly recommended.
Conclusion
The identified RCE vulnerability in the aim package poses a significant risk to users, allowing for potential system compromise. It is crucial for users to update to a secure version of the package and implement recommended security practices to safeguard their applications.
See every vulnerability recorded for aim →
FAQ
The CVSS score of this vulnerability is 9.8, indicating a critical level of risk.
The vulnerability affects aim package versions from 3.0.0 to 3.25.0.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
Exploitation of this vulnerability can lead to remote code execution, allowing attackers to run arbitrary commands on the server, potentially resulting in full system compromise.
Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities in your software using just the Pipfile.lock.
Related vulnerabilities
Recent vulnerabilities recorded for aim.