CVE-2020-23171 Path traversal in n/a

Medium 5.5 Published Updated

Unauthenticated attackers can write files to arbitrary directories in Nim-lang applications via crafted zip files containing dot-slash characters.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2020-23171?

CVE-2020-23171 is a medium-severity path traversal vulnerability in n/a, published on 10 Aug 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A vulnerability in all versions of Nim-lang allows unauthenticated attackers to write files to arbitrary directories via a crafted zip file with dot-slash characters included in the name of the crafted file.

Weakness: CWE-610

Which versions are affected by CVE-2020-23171?

It affects 1 product.

Products include Nim-Lang Nim-Lang.

How do I fix CVE-2020-23171?

No fix has been published for CVE-2020-23171 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2020-23171 being exploited?

There is no known exploitation of CVE-2020-23171 in the wild and no public exploit code.

Sources

Also known as GHSA-3phc-v747-949q, UBUNTU-CVE-2020-23171.

Is CVE-2020-23171 in your software?

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

Check your SBOMs for free