CVE-2010-0831 Path traversal in n/a

Medium 5.8 Published Updated

Remote attackers can create or overwrite arbitrary files via directory traversal in FastJar's JAR extraction function.

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

What is CVE-2010-0831?

CVE-2010-0831 is a medium-severity path traversal vulnerability in n/a, published on 18 Jun 2010. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Directory traversal vulnerability in the extract_jar function in jartool.c in FastJar 0.98 allows remote attackers to create or overwrite arbitrary files via a .. (dot dot) in a non-initial pathname component in a filename within a .jar archive, a related issue to CVE-2005-1080. NOTE: this vulnerability exists because of an incomplete fix for CVE-2006-3619.

Weakness: CWE-22

Which versions are affected by CVE-2010-0831?

It affects 1 product.

Products include Matthias Klose Fastjar.

How do I fix CVE-2010-0831?

Apply the vendor's patch.

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

Is CVE-2010-0831 being exploited?

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

Sources

Also known as DEBIAN-CVE-2010-0831, GHSA-fcqq-mm95-6mqp.

Is CVE-2010-0831 in your software?

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

Check your SBOMs for free