A vulnerability has been discovered in GNU Gzip and XZ Utils' grep helpers which could result in writes to arbitrary files.
| Package | Arch | Vulnerable | Unaffected |
|---|---|---|---|
| app-arch/gzip | * | < 1.12 | >= 1.12 |
| app-arch/xz-utils | * | < 5.2.5 | >= 5.2.5 |
GNU Gzip is a popular data compression program. XZ Utils is free general-purpose data compression software with a high compression ratio.
GNU Gzip and XZ Utils' grep helpers do not sufficiently validate certain multi-line file names.
In some cases, writing to arbitrary files such as shell initialization files can be escalation to remote code execution.
Ensuring only trusted input is passed to GNU Gzip and XZ Utils' grep helpers minimizes the potential impact.
All GNU Gzip users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=app-arch/gzip-1.12"
All XZ Utils users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=app-arch/xz-utils-5.2.5"
This GLSA contains notification of vulnerabilities found in several Gentoo packages which have been fixed prior to January 1, 2011. The worst of these vulnerabilities could lead to local privilege escalation and remote code execution. Please see the package list and CVE identifiers below for more information.
| Package | Arch | Vulnerable | Unaffected |
|---|---|---|---|
| app-antivirus/bitdefender-console | * | <= 7.1 | — |
| app-arch/gzip | * | < 1.4 | >= 1.4 |
| app-arch/ncompress | * | < 4.2.4.3 | >= 4.2.4.3 |
| app-misc/beanstalkd | * | < 1.4.6 | >= 1.4.6 |
| app-text/dvipng | * | < 1.13 | >= 1.13 |
| app-text/gv | * | < 3.7.1 | >= 3.7.1 |
| dev-lang/tk | * | < 8.4.18-r1 | >= 8.4.18-r1 |
| dev-libs/liblzw | * | < 0.2 | >= 0.2 |
| dev-perl/perl-tk | * | < 804.028-r2 | >= 804.028-r2 |
| dev-util/insight | * | < 6.7.1-r1 | >= 6.7.1-r1 |
| dev-util/sourcenav | * | < 5.1.4 | >= 5.1.4 |
| kde-base/kdm | * | < 4.3.5-r1 | >= 4.3.5-r1 |
| kde-base/kget | * | < 4.3.5-r1 | >= 4.3.5-r1 |
| media-gfx/splashutils | * | < 1.5.4.3-r3 | >= 1.5.4.3-r3 |
| media-tv/dvbstreamer | * | < 1.1-r1 | >= 1.1-r1 |
| net-ftp/lftp | * | < 4.0.6 | >= 4.0.6 |
| net-mail/mlmmj | * | < 1.2.17.1 | >= 1.2.17.1 |
| net-misc/iputils | * | < 20100418 | >= 20100418 |
| sys-apps/acl | * | < 2.2.49 | >= 2.2.49 |
| sys-apps/pmount | * | < 0.9.23 | >= 0.9.23 |
| sys-auth/pam_krb5 | * | < 4.3 | >= 4.3 |
| sys-block/partimage | * | < 0.6.8 | >= 0.6.8 |
| sys-devel/m4 | * | < 1.4.14-r1 | >= 1.4.14-r1 |
| www-client/uzbl | * | < 2010.08.05 | >= 2010.08.05 |
| x11-apps/xinit | * | < 1.2.0-r4 | >= 1.2.0-r4 |
| x11-libs/gtk+ | * | < 2.18.7 | >= 2.18.7 |
| x11-misc/slim | * | < 1.3.2 | >= 1.3.2 |
For more information on the packages listed in this GLSA, please see their homepage referenced in the ebuild.
Vulnerabilities have been discovered in the packages listed below. Please review the CVE identifiers in the Reference section for details.
A context-dependent attacker may be able to gain escalated privileges, execute arbitrary code, cause Denial of Service, obtain sensitive information, or otherwise bypass security restrictions.
There are no known workarounds at this time.
All Insight users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=dev-util/insight-6.7.1-r1"
All Perl Tk Module users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=dev-perl/perl-tk-804.028-r2"
All Source-Navigator users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=dev-util/sourcenav-5.1.4"
All Tk users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=dev-lang/tk-8.4.18-r1"
All Partimage users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=sys-block/partimage-0.6.8"
All Mlmmj users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=net-mail/mlmmj-1.2.17.1"
All acl users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=sys-apps/acl-2.2.49"
All Xinit users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=x11-apps/xinit-1.2.0-r4"
All gzip users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=app-arch/gzip-1.4"
All ncompress users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=app-arch/ncompress-4.2.4.3"
All liblzw users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=dev-libs/liblzw-0.2"
All splashutils users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=media-gfx/splashutils-1.5.4.3-r3"
All GNU M4 users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=sys-devel/m4-1.4.14-r1"
All KDE Display Manager users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=kde-base/kdm-4.3.5-r1"
All GTK+ users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=x11-libs/gtk+-2.18.7"
All KGet 4.3 users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=kde-base/kget-4.3.5-r1"
All dvipng users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=app-text/dvipng-1.13"
All Beanstalk users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=app-misc/beanstalkd-1.4.6"
All Policy Mount users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=sys-apps/pmount-0.9.23"
All pam_krb5 users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=sys-auth/pam_krb5-4.3"
All GNU gv users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=app-text/gv-3.7.1"
All LFTP users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=net-ftp/lftp-4.0.6"
All Uzbl users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=www-client/uzbl-2010.08.05"
All Slim users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=x11-misc/slim-1.3.2"
All iputils users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=net-misc/iputils-20100418"
All DVBStreamer users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=media-tv/dvbstreamer-1.1-r1"
Gentoo has discontinued support for Bitdefender Console. We recommend that users unmerge Bitdefender Console:
# emerge --unmerge "app-antivirus/bitdefender-console"
NOTE: This is a legacy GLSA. Updates for all affected architectures have been available since 2011. It is likely that your system is already no longer affected by these issues.
gzip is affected by multiple vulnerabilities, including buffer overflows and infinite loops, possibly allowing the execution of arbitrary code.
| Package | Arch | Vulnerable | Unaffected |
|---|---|---|---|
| app-arch/gzip | * | < 1.3.5-r9 | >= 1.3.5-r9 |
gzip, the GNU zip compression utility, is a free and patent unencumbered replacement for the standard compress utility.
Tavis Ormandy of the Google Security Team has reported multiple vulnerabilities in gzip. A stack buffer modification vulnerability was discovered in the LZH decompression code, where a pathological data stream may result in the modification of stack data such as frame pointer, return address or saved registers. A static buffer underflow was discovered in the pack decompression support, allowing a specially crafted pack archive to underflow a .bss buffer. A static buffer overflow was uncovered in the LZH decompression code, allowing a data stream consisting of pathological huffman codes to overflow a .bss buffer. Multiple infinite loops were also uncovered in the LZH decompression code.
A remote attacker may create a specially crafted gzip archive, which when decompressed by a user or automated system exectues arbitrary code with the privileges of the user id invoking gzip. The infinite loops may be abused by an attacker to disrupt any automated systems invoking gzip to handle data decompression.
There is no known workaround at this time.
All gzip users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=app-arch/gzip-1.3.5-r9"
gzip contains multiple vulnerabilities potentially allowing an attacker to execute arbitrary commands.
| Package | Arch | Vulnerable | Unaffected |
|---|---|---|---|
| app-arch/gzip | * | < 1.3.5-r6 | >= 1.3.5-r6 |
gzip (GNU zip) is a popular compression program. The included zgrep utility allows you to grep gzipped files in place.
The gzip and gunzip programs are vulnerable to a race condition when setting file permissions (CAN-2005-0988), as well as improper handling of filename restoration (CAN-2005-1228). The zgrep utility improperly sanitizes arguments, which may come from an untrusted source (CAN-2005-0758).
These vulnerabilities could allow arbitrary command execution, changing the permissions of arbitrary files, and installation of files to an aribitrary location in the filesystem.
There is no known workaround at this time.
All gzip users should upgrade to the latest stable version:
# emerge --sync # emerge --ask --oneshot --verbose ">=app-arch/gzip-1.3.5-r6"
gzip contain a bug potentially allowing an attacker to execute arbitrary commands.
| Package | Arch | Vulnerable | Unaffected |
|---|---|---|---|
| app-arch/gzip | * | <= 1.3.3-r3 | >= 1.3.3-r4 |
gzip (GNU zip) is popular compression program. The included gzexe utility allows you to compress executables in place and have them automatically uncompress and execute when you run them.
The script gzexe included with gzip contains a bug in the code that handles tempfile creation. If the creation of a temp file fails when using gzexe fails instead of bailing out it executes the command given as argument.
This could lead to priviege escalation by running commands under the rights of the user running the self extracting file.
There is no known workaround at this time. All users are encouraged to upgrade to the latest available version.
All gzip users should upgrade to the latest stable version:
# emerge sync # emerge -pv ">=app-arch/gzip-1.3.3-r4" # emerge ">=app-arch/gzip-1.3.3-r4"
Additionally, once the upgrade is complete, all self extracting files created with earlier versions gzexe should be recreated, since the vulnerability is actually embedded in those executables.