Use-after-free in libzip - CVE-2019-17582

 

Use-after-free in libzip - CVE-2019-17582

Published: February 21, 2021


Vulnerability identifier: #VU50816
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-17582
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error within the zip_dirent_read() function of zip_dirent.c in libzip. A remote attacker can trick the victim to open a specially crafted file, trigger a use-after-free error and execute arbitrary code on the system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.


Affected software

libzip
lib3mf

How to mitigate CVE-2019-17582

Install updates from vendor's website.

libzip - update to 1.3.0
lib3mf - addressed in versions 2.0.1, 2.1.1

External References

Related Security Bulletins