public inbox for gentoo-announce@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-announce] [ GLSA 202209-01 ] GNU Gzip, XZ Utils: Arbitrary file write
@ 2022-09-07  2:52 glsamaker
  0 siblings, 0 replies; only message in thread
From: glsamaker @ 2022-09-07  2:52 UTC (permalink / raw
  To: gentoo-announce

[-- Attachment #1: Type: text/plain, Size: 2784 bytes --]

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 202209-01
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                           https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: High
    Title: GNU Gzip, XZ Utils: Arbitrary file write
     Date: September 07, 2022
     Bugs: #837152, #837155
       ID: 202209-01

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

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

Background
==========

GNU Gzip is a popular data compression program.

XZ Utils is free general-purpose data compression software with a high
compression ratio.

Affected packages
=================

    -------------------------------------------------------------------
     Package              /     Vulnerable     /            Unaffected
    -------------------------------------------------------------------
  1  app-arch/gzip              < 1.12                        >= 1.12
  2  app-arch/xz-utils          < 5.2.5                      >= 5.2.5

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
==========

[ 1 ] CVE-2022-1271
      https://nvd.nist.gov/vuln/detail/CVE-2022-1271

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

 https://security.gentoo.org/glsa/202209-01

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2022 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

https://creativecommons.org/licenses/by-sa/2.5

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-07  3:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-07  2:52 [gentoo-announce] [ GLSA 202209-01 ] GNU Gzip, XZ Utils: Arbitrary file write glsamaker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox