Description
Directory traversal vulnerability in FastJar 0.93, as used in Gnu GCC 4.1.1 and earlier, and 3.4.6 and earlier, allows user-assisted attackers to overwrite arbitrary files via a .jar file containing filenames with "../" sequences.
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 3.1 | gcc-3.4 | 3.4.3-13sarge1 | DSA-1170 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 4 | cpp +16 | 3.4.6-8 | RHSA-2007:0220 |
| RHEL 3 | cpp +16 | 3.2.3-59 | RHSA-2007:0473 |
Advisories 3
- RHSA-2007:0220 Red Hat Security Advisory: gcc security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2007:0473 Red Hat Security Advisory: gcc security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1170 gcc-3.4 - missing sanity check Debian Security (DSA / DLA) · Mar 9, 2026
References
- 15669 vdb-entry
- 20070920 VMSA-2007-0006 Critical security updates for all supported versions of VMware ESX Server, VMware Server, VMware Workstation, VMware ACE, and VMware Player mailing-list
- gnugcc-fastjar-directory-traversal(27806) vdb-entry
- ADV-2005-2686 vdb-entry
- 25098 third-party-advisory
- GLSA-200711-23 vendor-advisory
- 25894 third-party-advisory
- RHSA-2007:0473 vendor-advisory
- ADV-2007-3229 vdb-entry
- MDVSA-2008:066 vendor-advisory
- DSA-1170 vendor-advisory
- RHSA-2007:0220 vendor-advisory
- ADV-2006-2866 vdb-entry
- 25633 third-party-advisory
- http://support.avaya.com/elmodocs2/security/ASA-2007-189.htm
- oval:org.mitre.oval:def:9617 vdb-entry signature
- 26909 third-party-advisory
- 29334 third-party-advisory
- 27706 third-party-advisory
- http://lists.debian.org/debian-gcc/2006/05/msg00317.html
- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28359
- 21797 third-party-advisory
- 25281 third-party-advisory
- 17839 third-party-advisory
- 21100 third-party-advisory
- 1017987 vdb-entry
- 21337 vdb-entry