CVE-2024-2195
Published: 10 April 2024
Summary
CVE-2024-2195 is a critical-severity Code Injection (CWE-94) vulnerability in Aimstack Aim. Its CVSS base score is 9.8 (Critical).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 7.5% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
This vulnerability is AI-related — categorised as Other Platforms; in the Other ATLAS/OWASP Terms risk domain; MITRE ATLAS techniques in scope: AI Model Inference API Access (AML.T0040), Exfiltration via AI Inference API (AML.T0024), AI Supply Chain Compromise (AML.T0010).
Deeper analysis
A critical remote code execution vulnerability affects the aimhubio/aim project in versions 3.0.0 and later. The flaw exists in the run_search_api function within aim/web/api/runs/views.py, specifically at the /api/runs/search/run/ endpoint. Improper access controls on the RunView object permit an attacker to supply arbitrary code through the query parameter, which is then executed on the server. The issue is tracked as CWE-94 and carries a CVSS 3.0 score of 9.8.
Unauthenticated remote attackers can exploit the vulnerability over the network with low attack complexity. Successful exploitation grants the ability to run arbitrary commands, resulting in full system compromise and potential loss of confidentiality, integrity, and availability.
The provided references point to a huntr.dev bounty report but contain no explicit mitigation guidance or patch details. The associated EPSS score has remained flat at 0.0838 with no observed increase since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-1259
Vulnerability details
A critical Remote Code Execution (RCE) vulnerability was identified in the aimhubio/aim project, specifically within the `/api/runs/search/run/` endpoint, affecting versions >= 3.0.0. The vulnerability resides in the `run_search_api` function of the `aim/web/api/runs/views.py` file, where improper restriction of user access to…
more
the `RunView` object allows for the execution of arbitrary code via the `query` parameter. This issue enables attackers to execute arbitrary commands on the server, potentially leading to full system compromise.
- CWE(s)
AI Security AnalysisAI
- AI Category
- Other Platforms
- Risk Domain
- Other ATLAS/OWASP Terms
- OWASP Top 10 for LLMs 2025
- None mapped
- Classification Reason
- The aimhubio/aim project is an open-source platform for tracking, visualizing, and comparing machine learning experiments, qualifying as an 'Other Platforms' category in AI/ML tooling.
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
The vulnerability is a critical remote code execution (RCE) in a public-facing web API endpoint (/api/runs/search/run/), allowing arbitrary command execution via the 'query' parameter due to improper access controls, directly enabling exploitation of public-facing applications.
MITRE ATLAS TechniquesAI
MITRE ATLAS techniques
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Makes persistent code injection into loaded programs impossible when the executable image itself resides on hardware-protected read-only media.
Dynamically generated code can be produced and executed inside the isolated chamber, preventing host compromise from code-injection payloads.
Validates inputs used in dynamic code generation to block injected directives.
Directly prevents execution of attacker-supplied code written into data memory regions.