CVE-2024-2195: Aim Web API vulnerable to Remote Code Execution

CVE-2024-2195 · Severity: critical · CVSS 9.8 · Published 2024-04-10

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 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.

Technologies: aim (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2024-2195 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-2195 being exploited in the wild.
How severe is CVE-2024-2195?
Critical severity, with a CVSS score of 9.8, published 10 April 2024.
Which products and versions are affected?
aim (PyPI) >= 3.0.0, <= 3.25.0, ECOSYSTEM:introduced=3.0.0,last_affected=3.25.0.
Is there a fix for CVE-2024-2195?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
Am I affected by CVE-2024-2195?
Check whether you run aim (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Affected products

  • aim (PyPI) >= 3.0.0, <= 3.25.0, ECOSYSTEM:introduced=3.0.0,last_affected=3.25.0

Identifiers

  • CVE-2024-2195
  • GHSA-mxvw-cj37-8g2h
  • PYSEC-2026-260

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.