haf/dotnetzip.semverd · Security
DotNetZip Directory Traversal vulnerability
- GHSA ID
- GHSA-xhg6-9j5j-w4vf
- CVE ID
- CVE-2024-48510
- Severity
- high
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v4
- 8.6 · CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Description
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.
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-48510 ↗
- 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 ↗
- https://github.com/mihula/ProDotNetZip/pull/21 ↗
- https://github.com/mihula/ProDotNetZip/commit/18486ad6d13742a07a6755ef6edf60d7458f1854 ↗
- https://github.com/advisories/GHSA-xhg6-9j5j-w4vf ↗