portage-ng / portage / app-arch / gzip / 1.15
portage-ng glsa
5 advisories reference app-arch/gzip · none place version 1.15 in a vulnerable range
▸ GLSA 202209-01 GNU Gzip, XZ Utils: Arbitrary file write this version unaffected high remote 2022-09-07

A vulnerability has been discovered in GNU Gzip and XZ Utils' grep helpers which could result in writes to arbitrary files.

Announced
2022-09-07
Revised
2022-09-07
Access
remote
Bugs
#837152 #837155
Advisory
https://security.gentoo.org/glsa/202209-01

Affected packages

PackageArchVulnerableUnaffected
app-arch/gzip*< 1.12>= 1.12
app-arch/xz-utils*< 5.2.5>= 5.2.5

Background

GNU Gzip is a popular data compression program. XZ Utils is free general-purpose data compression software with a high compression ratio.

Description

GNU Gzip and XZ Utils' grep helpers do not sufficiently validate certain multi-line file names.

Impact

In some cases, writing to arbitrary files such as shell initialization files can be escalation to remote code execution.

Workaround

Ensuring only trusted input is passed to GNU Gzip and XZ Utils' grep helpers minimizes the potential impact.

Resolution

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"

References

▸ GLSA 201412-08 Multiple packages, Multiple vulnerabilities fixed in 2010 this version unaffected high local, remote 2014-12-11

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.

Announced
2014-12-11
Revised
2014-12-11
Access
local, remote
Bugs
#159556 #208464 #253822 #259968 #298067 #300375 #300943 #302478 #307525 #307633 #315235 #316697 #319719 #320961 #322457 #325507 #326759 #326953 #329125 #329939 #331421 #332527 #333661
Advisory
https://security.gentoo.org/glsa/201412-08

Affected packages

PackageArchVulnerableUnaffected
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

Background

For more information on the packages listed in this GLSA, please see their homepage referenced in the ebuild.

Description

Vulnerabilities have been discovered in the packages listed below. Please review the CVE identifiers in the Reference section for details.

  • Insight
  • Perl Tk Module
  • Source-Navigator
  • Tk
  • Partimage
  • Mlmmj
  • acl
  • Xinit
  • gzip
  • ncompress
  • liblzw
  • splashutils
  • GNU M4
  • KDE Display Manager
  • GTK+
  • KGet
  • dvipng
  • Beanstalk
  • Policy Mount
  • pam_krb5
  • GNU gv
  • LFTP
  • Uzbl
  • Slim
  • Bitdefender Console
  • iputils
  • DVBStreamer

Impact

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.

Workaround

There are no known workarounds at this time.

Resolution

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.

References

▸ GLSA 200609-13 gzip: Multiple vulnerabilities this version unaffected normal remote 2006-09-23

gzip is affected by multiple vulnerabilities, including buffer overflows and infinite loops, possibly allowing the execution of arbitrary code.

Announced
2006-09-23
Revised
2006-09-23
Access
remote
Bugs
#145511
Advisory
https://security.gentoo.org/glsa/200609-13

Affected packages

PackageArchVulnerableUnaffected
app-arch/gzip*< 1.3.5-r9>= 1.3.5-r9

Background

gzip, the GNU zip compression utility, is a free and patent unencumbered replacement for the standard compress utility.

Description

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.

Impact

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.

Workaround

There is no known workaround at this time.

Resolution

All gzip users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/gzip-1.3.5-r9"

References

▸ GLSA 200505-05 gzip: Multiple vulnerabilities this version unaffected normal local 2005-05-09

gzip contains multiple vulnerabilities potentially allowing an attacker to execute arbitrary commands.

Announced
2005-05-09
Revised
2005-05-09
Access
local
Bugs
#89946 #90626
Advisory
https://security.gentoo.org/glsa/200505-05

Affected packages

PackageArchVulnerableUnaffected
app-arch/gzip*< 1.3.5-r6>= 1.3.5-r6

Background

gzip (GNU zip) is a popular compression program. The included zgrep utility allows you to grep gzipped files in place.

Description

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).

Impact

These vulnerabilities could allow arbitrary command execution, changing the permissions of arbitrary files, and installation of files to an aribitrary location in the filesystem.

Workaround

There is no known workaround at this time.

Resolution

All gzip users should upgrade to the latest stable version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/gzip-1.3.5-r6"

References

▸ GLSA 200406-18 gzip: Insecure creation of temporary files this version unaffected normal local 2004-06-24

gzip contain a bug potentially allowing an attacker to execute arbitrary commands.

Announced
2004-06-24
Revised
2006-05-22 (revision 2)
Access
local
Bugs
#54890
Advisory
https://security.gentoo.org/glsa/200406-18

Affected packages

PackageArchVulnerableUnaffected
app-arch/gzip*<= 1.3.3-r3>= 1.3.3-r4

Background

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.

Description

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.

Impact

This could lead to priviege escalation by running commands under the rights of the user running the self extracting file.

Workaround

There is no known workaround at this time. All users are encouraged to upgrade to the latest available version.

Resolution

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.

References