CVE-2010-0831: Path Traversal

Published May 20, 2010
·
Updated

Dan Rosenberg reported a directory traversal flaw in fastjar that allows an attacker, who is able to convince a victim to extract a malicious .jar file, to overwrite arbitrary files on disk without prompting the victim. The files to be overwritten must be writable by the user extracting the .jar file.

This issue has been assigned the name CVE-2010-0831, and it is possible that it is due to an incomplete fix for CVE-2006-3619 (bug #198912).

Upon investigation, the same problem exists in the jar archiver as provided by OpenJDK and java-1.4.2-gcj-compat.

Other sources

Directory traversal vulnerability in the extractjar 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.

Red Hat

Affected Software

2 affected componentsFixes available
redhat/gcc<0:4.1.2-50.el5
0:4.1.2-50.el5
Matthias Klose Fastjar=0.98

Event History

May 20, 2010
Data Sourced
via Red Hat·08:39 PM
DescriptionSeverityAffected Software
Jun 6, 2010
CVE Published
via Red Hat·12:00 AM
Jun 18, 2010
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2010-0831?

CVE-2010-0831 is rated as a moderate severity vulnerability due to the potential for arbitrary file creation or overwriting.

2

How do I fix CVE-2010-0831?

To resolve CVE-2010-0831, users should update to FastJar version 0.98 or apply patches provided by their distribution.

3

Which software versions are affected by CVE-2010-0831?

CVE-2010-0831 affects FastJar version 0.98 and Red Hat's gcc package versions up to 0:4.1.2-50.el5.

4

What type of attack can be performed using CVE-2010-0831?

An attacker can exploit CVE-2010-0831 through directory traversal to manipulate files on the server by crafting malicious .jar archives.

5

Is CVE-2010-0831 related to any other vulnerabilities?

Yes, CVE-2010-0831 is related to CVE-2005-1080, which also involves directory traversal issues.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203