Directory Traversal in DotNetZip ZipEntry Extraction
CVE-2024-48510 is a directory traversal vulnerability in DotNetZip version 1.16.0 and earlier, including affected ProDotNetZip package variants, in the ZIP extraction logic implemented in the ZipEntry extraction component. The flaw arises from insufficient validation and canonicalization of archive entry paths during extraction, allowing crafted ZIP entries to escape the intended destination directory and write files to attacker-controlled locations on the target system. When a victim processes a malicious archive with vulnerable extraction code, the attacker can place files outside the extraction root and potentially achieve arbitrary code execution depending on where files are written and how the target environment handles them. The issue affects unsupported DotNetZip versions and has also impacted downstream products that embedded the vulnerable library.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an attacker to perform arbitrary file write outside the intended extraction directory via path traversal in ZIP entries. This can lead to remote code execution if the attacker can place executable content, scripts, configuration, or other controlled files in locations that are subsequently loaded or executed by the application or operating system. In downstream products, exploitation may also contribute to privileged command execution or privilege escalation depending on product-specific execution context.
If you can’t patch tonight, do this now.
Do not extract untrusted ZIP archives with affected DotNetZip or ProDotNetZip versions. Enforce strict validation and normalization of archive entry paths before extraction, rejecting traversal sequences, absolute paths, drive-qualified paths, and any entry whose canonicalized destination escapes the intended extraction root. Extract archives only into constrained directories with minimal privileges and avoid running extraction workflows with elevated rights. Where immediate patching is not possible, isolate archive-processing functionality and require trusted provenance for input files.
Patch, then assume compromise.
Upgrade to a fixed release of the affected ZIP library or to a vendor version that incorporates the fix. For ProDotNetZip, upgrade to version 1.19.0 or later. For DotNetZip, move to a version newer than 1.16.0 that includes corrected extraction-path handling. For affected downstream products, apply the vendor security updates and upgrade to fixed product versions, such as AADvance Trusted SIS Workstation 2.01.00 or later where applicable. Replace unsupported library versions in custom applications and rebuild with the patched dependency.
No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
2 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.