CVE-2024-35058
Description
CVE-2024-35058 describes a local code execution vulnerability in NASA AIT-Core v2.5.2 where the API wait function uses eval on attacker-supplied strings.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
CVE-2024-35058 describes a local code execution vulnerability in NASA AIT-Core v2.5.2 where the API wait function uses eval on attacker-supplied strings.
Vulnerability
Overview
CVE-2024-35058 is a local code execution vulnerability in NASA AIT-Core version 2.5.2. The root cause is the use of Python's eval() function within the API wait function defined in ait/core/api.py. This function accepts user-supplied conditions as Python string expressions, which are then evaluated without proper sanitization [1][4].
Exploitation
An attacker with access to the API can supply a crafted Python string to the wait function. Since eval() directly executes arbitrary Python code, the attacker can run any system commands or Python operations. For example, a payload such as "__import__('os').system('id')" would be executed [4]. No authentication is required if the API is exposed, though access to the API endpoint is a prerequisite.
Impact
Successful exploitation allows an attacker to execute arbitrary code locally on the server running AIT-Core. This could lead to full compromise of the affected system, including data exfiltration, installation of backdoors, or disruption of mission-critical telemetry and commanding functions [1][4].
Mitigation
As of the publication date, no official patch has been released. The vulnerability is listed in the NVD with no fix available [3]. Users are advised to restrict network access to the AIT-Core API, review code for misuse of eval(), and monitor the project's GitHub repository for updates [2][3].
AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
ait-corePyPI | <= 2.5.2 | — |
Affected products
2- NASA/AIT-Coredescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4News mentions
0No linked articles in our index yet.