CVE-2022-1271

CVE Details

Release Date:2022-08-31

Description


An arbitrary file write vulnerability was found in GNU gzip's zgrep utility. When zgrep is applied on the attacker's chosen file name (for example, a crafted file name), this can overwrite an attacker's content to an arbitrary attacker-selected file. This flaw occurs due to insufficient validation when processing filenames with two or more newlines where selected content and the target file names are embedded in crafted multi-line file names. This flaw allows a remote, low privileged attacker to force zgrep to write arbitrary files on the system.

See more information about CVE-2022-1271 from MITRE CVE dictionary and NIST NVD


CVSS v3.0 metrics


NOTE: The following CVSS v3.0 metrics and score provided are preliminary and subject to review.

Base Score: 8.8 Base Metrics: AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Access Vector: Network Attack Complexity: Low
Privileges Required: Low User Interaction: None
Scope: Unchanged Confidentiality Impact: High
Integrity Impact: High Availability Impact: High

Errata information


PlatformErrataRelease Date
Oracle Linux version 7 (gzip)ELSA-2022-21912022-05-11
Oracle Linux version 7 (xz)ELSA-2022-50522022-06-15
Oracle Linux version 8 (gzip)ELSA-2022-15372022-04-26
Oracle Linux version 8 (xz)ELSA-2022-49912022-06-13
Oracle Linux version 9 (gzip)ELSA-2022-45822022-06-30
Oracle Linux version 9 (xz)ELSA-2022-49402022-06-30



This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections please contact the Oracle Linux ULN team

software.hardware.complete