Arbitrary file reading vulnerability in Aim
GHSA-8phj-f9w2-cjcc · CVE-2021-43775 · PYSEC-2021-839
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
Impact
A path traversal attack aims to access files and directories that are stored outside the web root folder. 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.
Vulnerable code: https://github.com/aimhubio/aim/blob/0b99c6ca08e0ba7e7011453a2f68033e9b1d1bce/aim/web/api/views.py#L9-L16
Patches
The vulnerability issue is resolved in Aim v3.1.0.
References
References
- WEB https://github.com/aimhubio/aim/security/advisories/GHSA-8phj-f9w2-cjcc
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2021-43775
- WEB https://github.com/aimhubio/aim/issues/999
- WEB https://github.com/aimhubio/aim/pull/1003
- WEB https://github.com/aimhubio/aim/commit/b9e53df5e32d14bbd3a2c738e2db7187fb531e93
- PACKAGE https://github.com/aimhubio/aim
- WEB https://github.com/aimhubio/aim/blob/0b99c6ca08e0ba7e7011453a2f68033e9b1d1bce/aim/web/api/views.py#L9-L16
- WEB https://github.com/pypa/advisory-database/tree/main/vulns/aim/PYSEC-2021-839.yaml
Ready to move
Start Securing
Free, no credit card | First findings in minutes