Vulnerability · Published Nov 23, 2021 · Assigned by GitHub_M
CVE-2021-43775Arbitrary file reading vulnerability in Aim
High 8.6
In plain English
A high-severity path traversal in aim from aimhubio. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | aim | 3.1.0 | GHSA-8phj-f9w2-cjcc |
| PyPI | aim | 3.1.0 | PYSEC-2021-839 |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
References
- https://github.com/aimhubio/aim/security/advisories/GHSA-8phj-f9w2-cjcc x_refsource_CONFIRM
- https://github.com/aimhubio/aim/issues/999 x_refsource_MISC
- https://github.com/aimhubio/aim/pull/1003 x_refsource_MISC
- https://github.com/aimhubio/aim/pull/1003/commits/f01266a1a479ef11d7d6c539e7dd89e9d5639738 x_refsource_MISC
- https://github.com/aimhubio/aim/blob/0b99c6ca08e0ba7e7011453a2f68033e9b1d1bce/aim/web/api/views.py#L9-L16 x_refsource_MISC