Lucene search

K
gentooGentoo FoundationGLSA-202209-01
HistorySep 07, 2022 - 12:00 a.m.

GNU Gzip, XZ Utils: Arbitrary file write

2022-09-0700:00:00
Gentoo Foundation
security.gentoo.org
18

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

6.5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:S/C:P/I:P/A:P

0.007 Low

EPSS

Percentile

80.3%

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"
OSVersionArchitecturePackageVersionFilename
Gentooanyallapp-arch/gzip< 1.12UNKNOWN
Gentooanyallapp-arch/xz-utils< 5.2.5UNKNOWN

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

6.5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:S/C:P/I:P/A:P

0.007 Low

EPSS

Percentile

80.3%