CVE-2005-1080: Path Traversal

Published Jan 4, 2005
·
Updated

A directory traversal flaw was found in the way the jar tool extracted JAR archive files. A specially crafted JAR archive could cause jar to overwrite arbitrary files writable by the user running jar when the archive was extracted.

Other sources

Directory traversal vulnerability in the Java Archive Tool (Jar) utility in J2SE SDK 1.4.2 and 1.5, and OpenJDK, allows remote attackers to create or overwrite arbitrary files via a .. (dot dot) in filenames in a .jar file.

Red Hat

Directory traversal vulnerability in the Java Archive Tool (Jar) utility in J2SE SDK 1.4.2, 1.5 allows remote attackers to write arbitrary files via a .. (dot dot) in filenames in a .jar file.

Initially the directory traversal flaw was reported for fastjar (see bug #594497) but was later found to also affect jar. The vulnerability in jar was reported in January 2005 but was never corrected upstream (CVE-2005-1080). Bug #594497 has a test script to determine if the vulnerability is present in jar as well as fastjar.

Red Hat

Affected Software

27 affected componentsFixes available
redhat/IcedTea6<1.13.7
1.13.7
redhat/IcedTea7<2.5.5
2.5.5
redhat/java<1.7.0-oracle-1:1.7.0.79-1jpp.1.el5_11
1.7.0-oracle-1:1.7.0.79-1jpp.1.el5_11
redhat/java<1.6.0-sun-1:1.6.0.95-1jpp.3.el5_11
1.6.0-sun-1:1.6.0.95-1jpp.3.el5_11
redhat/java<1.8.0-oracle-1:1.8.0.45-1jpp.2.el6_6
1.8.0-oracle-1:1.8.0.45-1jpp.2.el6_6
redhat/java<1.7.0-oracle-1:1.7.0.79-1jpp.1.el6_6
1.7.0-oracle-1:1.7.0.79-1jpp.1.el6_6
redhat/java<1.6.0-sun-1:1.6.0.95-1jpp.3.el6_6
1.6.0-sun-1:1.6.0.95-1jpp.3.el6_6
redhat/java<1.8.0-oracle-1:1.8.0.45-1jpp.2.el7_1
1.8.0-oracle-1:1.8.0.45-1jpp.2.el7_1
redhat/java<1.7.0-oracle-1:1.7.0.79-1jpp.1.el7_1
1.7.0-oracle-1:1.7.0.79-1jpp.1.el7_1
redhat/java<1.6.0-sun-1:1.6.0.95-1jpp.3.el7_1
1.6.0-sun-1:1.6.0.95-1jpp.3.el7_1
redhat/java<1.7.0-openjdk-1:1.7.0.79-2.5.5.2.el5_11
1.7.0-openjdk-1:1.7.0.79-2.5.5.2.el5_11
redhat/java<1.6.0-openjdk-1:1.6.0.35-1.13.7.1.el5_11
1.6.0-openjdk-1:1.6.0.35-1.13.7.1.el5_11
redhat/java<1.6.0-ibm-1:1.6.0.16.4-1jpp.1.el5
1.6.0-ibm-1:1.6.0.16.4-1jpp.1.el5
redhat/java<1.7.0-ibm-1:1.7.0.9.0-1jpp.1.el5
1.7.0-ibm-1:1.7.0.9.0-1jpp.1.el5
redhat/java<1.5.0-ibm-1:1.5.0.16.10-1jpp.1.el5
1.5.0-ibm-1:1.5.0.16.10-1jpp.1.el5
redhat/java<1.7.0-openjdk-1:1.7.0.79-2.5.5.1.el6_6
1.7.0-openjdk-1:1.7.0.79-2.5.5.1.el6_6
redhat/java<1.6.0-openjdk-1:1.6.0.35-1.13.7.1.el6_6
1.6.0-openjdk-1:1.6.0.35-1.13.7.1.el6_6
redhat/java<1.8.0-openjdk-1:1.8.0.45-28.b13.el6_6
1.8.0-openjdk-1:1.8.0.45-28.b13.el6_6
redhat/java<1.7.0-openjdk-1:1.7.0.79-2.5.5.1.ael7b
1.7.0-openjdk-1:1.7.0.79-2.5.5.1.ael7b
redhat/java<1.6.0-openjdk-1:1.6.0.35-1.13.7.1.el7_1
1.6.0-openjdk-1:1.6.0.35-1.13.7.1.el7_1
redhat/java<1.8.0-openjdk-1:1.8.0.45-30.b13.ael7b
1.8.0-openjdk-1:1.8.0.45-30.b13.ael7b
redhat/java<1.6.0-ibm-1:1.6.0.16.4-1jpp.1.el6_6
1.6.0-ibm-1:1.6.0.16.4-1jpp.1.el6_6
redhat/java<1.7.1-ibm-1:1.7.1.3.0-1jpp.2.el6_6
1.7.1-ibm-1:1.7.1.3.0-1jpp.2.el6_6
redhat/java<1.5.0-ibm-1:1.5.0.16.10-1jpp.1.el6_6
1.5.0-ibm-1:1.5.0.16.10-1jpp.1.el6_6
redhat/java<1.7.1-ibm-1:1.7.1.3.0-1jpp.2.el7_1
1.7.1-ibm-1:1.7.1.3.0-1jpp.2.el7_1
Sun SDK=1.5
Sun SDK=1.4.2

Event History

Jan 4, 2005
CVE Published
via Red Hat·12:00 AM
Apr 12, 2005
CVE Published
via MITRE·08:00 AM
Data Sourced
via MITRE·08:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2005-1080?

CVE-2005-1080 is classified as a high severity vulnerability due to its potential for remote exploitation.

2

How do I fix CVE-2005-1080?

To fix CVE-2005-1080, update to the latest version of Java that resolves this vulnerability.

3

Which versions of the J2SE SDK are affected by CVE-2005-1080?

CVE-2005-1080 affects J2SE SDK versions 1.4.2 and 1.5.

4

Can CVE-2005-1080 allow unauthorized file access?

Yes, CVE-2005-1080 allows remote attackers to create or overwrite arbitrary files, leading to unauthorized access.

5

Is OpenJDK affected by CVE-2005-1080?

Yes, OpenJDK is also vulnerable to CVE-2005-1080, similar to affected versions of the J2SE SDK.

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