CVE-2022-36943 Path traversal in SSZipArchive

High 8.1 Published Updated

Attackers can overwrite arbitrary files on the filesystem by exploiting symlink handling in the SSZipArchive library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-36943?

CVE-2022-36943 is a high-severity path traversal vulnerability in SSZipArchive, published on 3 Jan 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

SSZipArchive versions 2.5.3 and older contain an arbitrary file write vulnerability due to lack of sanitization on paths which are symlinks. SSZipArchive will overwrite files on the filesystem when opening a malicious ZIP containing a symlink as the first item.

Weakness: CWE-59, CWE-22

Which versions are affected by CVE-2022-36943?

It affects 1 product.

Products include Ziparchive Project Ziparchive.

How do I fix CVE-2022-36943?

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

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

Sources

Also known as GHSA-vgvw-6xcf-qqfc.

Is CVE-2022-36943 in your software?

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

Check your SBOMs for free