CVE-2023-39139 Path traversal in Archive

High 7.8 Published Updated

Attackers can execute path traversal attacks by extracting a crafted zip file using the Archive library, potentially reading or modifying arbitrary files.

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
Available

What is CVE-2023-39139?

CVE-2023-39139 is a high-severity path traversal vulnerability in n/a, published on 30 Aug 2023. 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

An issue in Archive v3.3.7 allows attackers to execute a path traversal via extracting a crafted zip file.

Weakness: CWE-22

Which versions are affected by CVE-2023-39139?

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

PackageAffectedFixed in
archive PubAll versions3.3.8
archive PubAll versions3.3.8

Products include Archive Project Archive.

How do I fix CVE-2023-39139?

Upgrade archive to 3.3.8 or later.

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

Is CVE-2023-39139 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-39139 exists.

Sources

Also known as GHSA-9v85-q87q-g4vg.

Is CVE-2023-39139 in your software?

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

Check your SBOMs for free