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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | fastjar | 2:0.98-3 | — |
| Debian 13 | fastjar | 2:0.98-3 | — |
| Debian 12 | fastjar | 2:0.98-3 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | cpp +18 | 4.1.2-50.el5 | RHSA-2011:0025 |
Advisories 1
- RHSA-2011:0025 Red Hat Security Advisory: gcc security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
References
- [oss-security] 20100608 Re: jar, fastjar directory traversal vulnerabilities mailing-list
- GLSA-201209-21 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=594497
- [oss-security] 20100608 jar, fastjar directory traversal vulnerabilities mailing-list
- RHSA-2011:0025 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=601823
- MDVSA-2010:122 vendor-advisory
- ADV-2010-1553 vdb-entry
- ADV-2011-0121 vdb-entry
- http://packages.debian.org/changelogs/pool/main/f/fastjar/fastjar_0.98-3/changelog
- [oss-security] 20100608 Re: jar, fastjar directory traversal vulnerabilities mailing-list
- 42892 third-party-advisory
- 50786 third-party-advisory
- https://launchpad.net/bugs/540575
- 65467 vdb-entry
- 41006 vdb-entry