Advisory

GHSA-8phj-f9w2-cjcc

Also known as: CVE-2021-43775, PYSEC-2021-839

Summary

Arbitrary file reading vulnerability in Aim

Details

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

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-11-23 22:03 UTC
Modified
2026-07-08 06:28 UTC

Affected packages and fixes

aim

PyPI · All systems

Affected

  • introduced 0, fixed 3.1.0 (ecosystem)

Fixed versions

3.1.0

Fix

  • Fixed version 3.1.0
    pip install --upgrade aim==3.1.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences