Link following in ZipArchive - CVE-2022-36943

 

Link following in ZipArchive - CVE-2022-36943

Published: November 6, 2024


Vulnerability identifier: #VU99862
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2022-36943
CWE-ID: CWE-59
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: ZipArchive
Affected software:
ZipArchive

Detailed vulnerability description

The vulnerability allows a remote attacker to overwrite files on the filesystem.

The vulnerability exists due to lack of sanitization on paths which are symlinks. A remote attacker can overwrite files on the filesystem when opening a malicious ZIP containing a symlink as the first item.


How to mitigate CVE-2022-36943

Install updates from vendor's website.

Sources