Arbitrary file reading vulnerability in Aim
Description
Reviewed
Nov 23, 2021
Published by the National Vulnerability Database
Nov 23, 2021
Published to the GitHub Advisory Database
Nov 23, 2021
Last updated
Nov 18, 2024
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
https://owasp.org/www-community/attacks/Path_Traversal
References