CVE-2021-43775 Arbitrary file reading vulnerability in Aim

High 8.6 Published Updated

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.

PackageAffectedFixed in
aim PyPIAll versions3.1.0
aim PyPIAll versions3.1.0
aim PyPIAll versions3.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.

Sources

Also known as GHSA-8phj-f9w2-cjcc, PYSEC-2021-839.

Is CVE-2021-43775 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free