CVE-2019-17582

A use-after-free in the _zip_dirent_read function of zip_dirent.c in libzip 1.2.0 allows attackers to have an unspecified impact by attempting to unzip a…

published February 9, 2021

CVSS
—
EPSS
2%
Percentile
84.3
In the wild
Unconfirmed
What it is

⚠️ A sneaky use-after-free in libzip means unzip at your own risk! One bad ZIP file could lead to unknown havoc. 💥 This vulnerability is like a restaurant where the chef accidentally serves the same dish twice after tossing the first one on the floor—nobody knows if it was contaminated or not. Each attempt to unzip a malformed archive can trigger unexpected consequences, just as a mix-up in the kitchen can ruin the evening. If an attacker crafts a malicious ZIP file, they could exploit this use-after-free vulnerability to create unpredictable results during extraction. While the exact impact remains unspecified, it could lead to memory corruption or application crashes—definitely a recipe for disaster!

Put simply

This vulnerability is like a restaurant where the chef accidentally serves the same dish twice after tossing the first one on the floor—nobody knows if it was contaminated or not. Each attempt to unzip a malformed archive can trigger unexpected consequences, just as a mix-up in the kitchen can ruin the evening. In libzip 1.2.0, the _zip_dirent_read function has a use-after-free flaw that occurs when attempting to unzip a malformed ZIP archive. This flaw allows potential memory corruption that could be exploited by attackers.

What to do

If an attacker crafts a malicious ZIP file, they could exploit this use-after-free vulnerability to create unpredictable results during extraction. While the exact impact remains unspecified, it could lead to memory corruption or application crashes—definitely a recipe for disaster! To safeguard against this vulnerability, update libzip to the latest version where this issue is resolved. Regularly audit your dependencies and consider adding additional validation checks for ZIP files to prevent exploitation. 🛡️ You've got this! By staying proactive and applying the latest updates, you'll keep your systems safe and sound. 🌟

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02451 · 84.3th percentile
Published
2021-02-09T18:07Z
EPSS history
Timeline
  • 09 FEB 18:07Z
    A use-after-free in the _zip_dirent_read function of zip_dirent.c in libzip 1.2.0 allows attackers to have an unspecified impact by attempting to unzip a…
    cvelistv5