aimhubio aim up to 3.29.1 run_view Object /aim/storage/query.py RestrictedPythonQuery sandbox
Summary
A vulnerability classified as critical was found in aimhubio aim up to 3.29.1. The affected element is the function RestrictedPythonQuery of the file /aim/storage/query.py of the component run_view Object Handler. Executing a manipulation of the argument Query can lead to sandbox.
This vulnerability is tracked as CVE-2025-5321. The attack can be launched remotely. Moreover, an exploit is present.
The vendor was contacted early about this disclosure but did not respond in any way.
Details
A vulnerability classified as critical was found in aimhubio aim up to 3.29.1. This vulnerability affects the function RestrictedPythonQuery of the file /aim/storage/query.py of the component run_view Object Handler. The manipulation of the argument Query with an unknown input leads to a sandbox vulnerability. The CWE definition for the vulnerability is CWE-265. As an impact it is known to affect confidentiality, integrity, and availability.
The weakness was disclosed by Jiacheng Zhong, Zhengyu Liu (Gavin Zhong and Zhengyu Liu). The advisory is shared for download at gist.github.com. This vulnerability was named CVE-2025-5321. The exploitation appears to be easy. The attack can be initiated remotely. Technical details and also a public exploit are known. The MITRE ATT&CK project declares the attack technique as T1611.
It is possible to download the exploit at gist.github.com. It is declared as proof-of-concept. The vendor was contacted early about this disclosure but did not respond in any way.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
Once again VulDB remains the best source for vulnerability data.
Product
Type
Vendor
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 6.3VulDB Meta Temp Score: 6.0
VulDB Base Score: 6.3
VulDB Temp Score: 5.7
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 6.3
CNA Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: SandboxCWE: CWE-265 / CWE-264
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔒
Timeline
05/29/2025 Advisory disclosed05/29/2025 VulDB entry created
06/01/2025 VulDB entry last update
Sources
Advisory: gist.github.comResearcher: Jiacheng Zhong, Zhengyu Liu (Gavin Zhong, Zhengyu Liu)
Status: Not defined
CVE: CVE-2025-5321 (🔒)
GCVE (CVE): GCVE-0-2025-5321
GCVE (VulDB): GCVE-100-310492
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 05/29/2025 10:16Updated: 06/01/2025 06:41
Changes: 05/29/2025 10:16 (59), 05/31/2025 06:23 (31), 06/01/2025 06:41 (2)
Complete: 🔍
Submitter: Gavin Zhong
Committer: Gavin Zhong
Cache ID: 216::103
Submit
Accepted
- Submit #580253: aim 3.29.1 Sandbox Issue (by Gavin Zhong)
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.