GitHub Advisory Database
GHSA-xhg6-9j5j-w4vf
DotNetZip Directory Traversal vulnerability
Details
Directory Traversal vulnerability in DotNetZip v.1.16.0 and before allows a remote attacker to execute arbitrary code via the src/Zip.Shared/ZipEntry.Extract.cs component.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| NuGet | DotNetZip | From 1.10.1 up to and including 1.16.0 |
| NuGet | ProDotNetZip | All versions before 1.19.0 (fixed in 1.19.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-48510
- https://github.com/mihula/ProDotNetZip/pull/21
- https://github.com/mihula/ProDotNetZip/commit/18486ad6d13742a07a6755ef6edf60d7458f1854
- https://gist.github.com/thomas-chauchefoin-bentley-systems/855218959116f870f08857cce2aec731
- https://github.com/haf/DotNetZip.Semverd
- https://github.com/haf/DotNetZip.Semverd/blob/e487179b33a9a0f2631eed5fb04d2c952ea5377a/src/Zip.Shared/ZipEntry.Extract.cs#L1365-L1410
- https://www.nuget.org/packages/DotNetZip