CVE-2024-48510 DotNetZip Directory Traversal vulnerability

Critical 9.1 Published Updated

A remote attacker can execute arbitrary code via a directory traversal flaw in the unsupported DotNetZip library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-48510?

CVE-2024-48510 is a critical path traversal vulnerability in n/a, published on 13 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-22

Which versions are affected by CVE-2024-48510?

4 open source packages ship an affected version, including DotNetZip and ProDotNetZip. It affects 2 products.

PackageAffectedFixed in
DotNetZip NuGetFrom 1.10.1 to 1.16.0None
DotNetZip NuGetFrom 1.10.1 to 1.16.0None
ProDotNetZip NuGetAll versions1.19.0
ProDotNetZip NuGetAll versions1.19.0

Products include Dotnetzip.semverd Project Dotnetzip.semverd, Mihula Prodotnetzip.

How do I fix CVE-2024-48510?

Product is end of life, replace it.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-48510 being exploited?

There is no known exploitation of CVE-2024-48510 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-xhg6-9j5j-w4vf.

Is CVE-2024-48510 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free