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: 6.8 [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]
CVE-ID: CVE-2022-36943
CWE-ID: CWE-59
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

ZipArchive
Cognos Analytics Mobile (Android)
Cognos Analytics Mobile (iOS)

How to mitigate CVE-2022-36943

Install updates from vendor's website.

ZipArchive - update to 2.5.4
Cognos Analytics Mobile (Android) - update to 1.1.20
Cognos Analytics Mobile (iOS) - update to 1.1.20

External References

Related Security Bulletins