CVE-2021-23391 Arbitrary File Write via Archive Extraction (Zip Slip)

High 7.3 Published Updated

A malicious module can overwrite arbitrary files on the file system via the install functionality, potentially leading to code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-23391?

CVE-2021-23391 is a high-severity path traversal vulnerability in calipso, published on 7 Jun 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

This affects all versions of package calipso. It is possible for a malicious module to overwrite files on an arbitrary file system through the module install functionality.

Weakness: CWE-22

Which versions are affected by CVE-2021-23391?

2 open source packages ship an affected version, including calipso. It affects 1 product.

PackageAffectedFixed in
calipso npmAll versions to 0.3.54None
calipso npmAll versions to 0.3.54None

Products include Calipso Project Calipso.

How do I fix CVE-2021-23391?

No fix has been published for CVE-2021-23391 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-2021-23391 being exploited?

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

Sources

Also known as GHSA-jxcc-g75x-qgw9.

Is CVE-2021-23391 in your software?

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

Check your SBOMs for free