Aim Web API vulnerable to Remote Code Execution
The advisory, in context
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.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
From 3.0.0 through 3.25.0 (inclusive)
No fix recorded for this interval.
99 explicitly affected versions
3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.0.7, 3.1.0, 3.1.1, 3.10.0, 3.10.0.dev9, 3.10.1, 3.10.2, 3.10.3, 3.11.0, 3.11.0.dev4, 3.11.1, 3.11.1.dev1, 3.11.2, 3.12.0, 3.12.0.dev2, 3.12.1, 3.12.2, 3.13.0, 3.13.1, 3.13.2, 3.13.3, 3.13.4, 3.14.0, 3.14.1, 3.14.2, 3.14.3, 3.14.4, 3.15.0, 3.15.1, 3.15.2, 3.16.0, 3.16.1, 3.16.2, 3.17.0, 3.17.1, 3.17.2, 3.17.3, 3.17.4, 3.17.5, 3.17.5rc1, 3.17.5rc2, 3.17.5rc3, 3.17.5rc4, 3.18.0, 3.18.0.dev2, 3.18.0.dev3, 3.18.0.dev4, 3.18.0.dev5, 3.18.1, 3.19.0, 3.19.1, 3.19.2, 3.19.3, 3.2.0, 3.2.1, 3.2.2, 3.20.1, 3.21.0, 3.22.0, 3.23.0, 3.24.0, 3.25.0, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.3.5, 3.4.0, 3.4.1, 3.5.0, 3.5.1, 3.5.2, 3.5.3, 3.5.4, 3.6.0, 3.6.1, 3.6.2, 3.6.3, 3.7.0, 3.7.1, 3.7.2, 3.7.3, 3.7.4, 3.7.5, 3.8.0, 3.8.1, 3.9.0a1, 3.9.0a14, 3.9.2, 3.9.3, 3.9.4
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "3.0.0"
},
{
"last_affected": "3.25.0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.0.0",
"3.0.1",
"3.0.2",
"3.0.3",
"3.0.4",
"3.0.5",
"3.0.6",
"3.0.7",
"3.1.0",
"3.1.1",
"3.10.0",
"3.10.0.dev9",
"3.10.1",
"3.10.2",
"3.10.3",
"3.11.0",
"3.11.0.dev4",
"3.11.1",
"3.11.1.dev1",
"3.11.2",
"3.12.0",
"3.12.0.dev2",
"3.12.1",
"3.12.2",
"3.13.0",
"3.13.1",
"3.13.2",
"3.13.3",
"3.13.4",
"3.14.0",
"3.14.1",
"3.14.2",
"3.14.3",
"3.14.4",
"3.15.0",
"3.15.1",
"3.15.2",
"3.16.0",
"3.16.1",
"3.16.2",
"3.17.0",
"3.17.1",
"3.17.2",
"3.17.3",
"3.17.4",
"3.17.5",
"3.17.5rc1",
"3.17.5rc2",
"3.17.5rc3",
"3.17.5rc4",
"3.18.0",
"3.18.0.dev2",
"3.18.0.dev3",
"3.18.0.dev4",
"3.18.0.dev5",
"3.18.1",
"3.19.0",
"3.19.1",
"3.19.2",
"3.19.3",
"3.2.0",
"3.2.1",
"3.2.2",
"3.20.1",
"3.21.0",
"3.22.0",
"3.23.0",
"3.24.0",
"3.25.0",
"3.3.0",
"3.3.1",
"3.3.2",
"3.3.3",
"3.3.4",
"3.3.5",
"3.4.0",
"3.4.1",
"3.5.0",
"3.5.1",
"3.5.2",
"3.5.3",
"3.5.4",
"3.6.0",
"3.6.1",
"3.6.2",
"3.6.3",
"3.7.0",
"3.7.1",
"3.7.2",
"3.7.3",
"3.7.4",
"3.7.5",
"3.8.0",
"3.8.1",
"3.9.0a1",
"3.9.0a14",
"3.9.2",
"3.9.3",
"3.9.4"
]
}