CVE-2021-43775 Arbitrary file reading vulnerability in Aim
Attackers can read arbitrary files on the server via path traversal in Aim, exposing source code and system files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-43775?
CVE-2021-43775 is a high-severity path traversal vulnerability in aimhubio aim, published on 23 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Aim is an open-source, self-hosted machine learning experiment tracking tool. Versions of Aim prior to 3.1.0 are vulnerable to a path traversal attack. By manipulating variables that reference files with “dot-dot-slash (../)” sequences and its variations or by using absolute file paths, it may be possible to access arbitrary files and directories stored on file system including application source code or configuration and critical system files. The vulnerability issue is resolved in Aim v3.1.0.
Weakness: CWE-22
Which versions are affected by CVE-2021-43775?
3 open source packages ship an affected version, including aim. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
aim PyPI | All versions | 3.1.0 |
aim PyPI | All versions | 3.1.0 |
aim PyPI | All versions | 3.1.0 |
Products include Aimstack Aim.
How do I fix CVE-2021-43775?
Upgrade aim to 3.1.0 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2021-43775 being exploited?
There is no known exploitation of CVE-2021-43775 in the wild and no public exploit code.
Other vulnerabilities in aimhubio aim
- CVE-2024-6396 Arbitrary File Overwrite and Data Exfiltration in aimhubio/aim
- CVE-2024-2195 Remote Code Execution in aimhubio/aim
- CVE-2024-6829 Arbitrary File Overwrite through tarfile-extraction in aimhubio/aim
- CVE-2024-8769 Arbitrary File Deletion via Relative Path Traversal in aimhubio/aim
- CVE-2025-51464 Aim vulnerable to Cross-site Scripting
Sources
Also known as GHSA-8phj-f9w2-cjcc, PYSEC-2021-839.