CVE-2022-1271
"Apache GNU gzip zgrep Remote Arbitrary File Write Vulnerability"
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.
INFO
Published Date :
Aug. 31, 2022, 4:15 p.m.
Last Modified :
Nov. 21, 2024, 6:40 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
Public PoC/Exploit Available at Github
CVE-2022-1271 has a 6 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2022-1271
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-1271
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Dockerfile Roff Java
Learn about 'How to check and prevent Docker's security vulnerability'
Dockerfile Java
None
Java HTML
simplified grype CLI
scanner vulnerability vulnerability-scanners learn
Go
Map Vulnerabilities into Different Layers of the Container Image
Python
None
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-1271
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-1271
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://access.redhat.com/security/cve/CVE-2022-1271 Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2073310 Added Reference https://git.tukaani.org/?p=xz.git%3Ba=commit%3Bh=69d1b3fc29677af8ade8dc15dba83f0589cb63d6 Added Reference https://lists.gnu.org/r/bug-gzip/2022-04/msg00011.html Added Reference https://security.gentoo.org/glsa/202209-01 Added Reference https://security.netapp.com/advisory/ntap-20220930-0006/ Added Reference https://security-tracker.debian.org/tracker/CVE-2022-1271 Added Reference https://tukaani.org/xz/xzgrep-ZDI-CAN-16587.patch Added Reference https://www.openwall.com/lists/oss-security/2022/04/07/8 -
Modified Analysis by [email protected]
Aug. 26, 2024
Action Type Old Value New Value Changed Reference Type https://git.tukaani.org/?p=xz.git%3Ba=commit%3Bh=69d1b3fc29677af8ade8dc15dba83f0589cb63d6 No Types Assigned https://git.tukaani.org/?p=xz.git%3Ba=commit%3Bh=69d1b3fc29677af8ade8dc15dba83f0589cb63d6 Broken Link Added CPE Configuration OR *cpe:2.3:a:tukaani:xz:*:*:*:*:*:*:*:* versions up to (excluding) 5.2.5 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference Red Hat, Inc. https://git.tukaani.org/?p=xz.git%3Ba=commit%3Bh=69d1b3fc29677af8ade8dc15dba83f0589cb63d6 [No types assigned] Removed Reference Red Hat, Inc. https://git.tukaani.org/?p=xz.git;a=commit;h=69d1b3fc29677af8ade8dc15dba83f0589cb63d6 Removed CWE Red Hat, Inc. CWE-1173 -
Modified Analysis by [email protected]
Oct. 07, 2022
Action Type Old Value New Value Changed Reference Type https://security.netapp.com/advisory/ntap-20220930-0006/ No Types Assigned https://security.netapp.com/advisory/ntap-20220930-0006/ Third Party Advisory -
CVE Modified by [email protected]
Sep. 30, 2022
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20220930-0006/ [No Types Assigned] -
Initial Analysis by [email protected]
Sep. 07, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://access.redhat.com/security/cve/CVE-2022-1271 No Types Assigned https://access.redhat.com/security/cve/CVE-2022-1271 Third Party Advisory Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=2073310 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=2073310 Issue Tracking, Third Party Advisory Changed Reference Type https://git.tukaani.org/?p=xz.git;a=commit;h=69d1b3fc29677af8ade8dc15dba83f0589cb63d6 No Types Assigned https://git.tukaani.org/?p=xz.git;a=commit;h=69d1b3fc29677af8ade8dc15dba83f0589cb63d6 Mailing List, Patch, Third Party Advisory Changed Reference Type https://lists.gnu.org/r/bug-gzip/2022-04/msg00011.html No Types Assigned https://lists.gnu.org/r/bug-gzip/2022-04/msg00011.html Mailing List, Patch, Vendor Advisory Changed Reference Type https://security.gentoo.org/glsa/202209-01 No Types Assigned https://security.gentoo.org/glsa/202209-01 Third Party Advisory Changed Reference Type https://security-tracker.debian.org/tracker/CVE-2022-1271 No Types Assigned https://security-tracker.debian.org/tracker/CVE-2022-1271 Third Party Advisory Changed Reference Type https://tukaani.org/xz/xzgrep-ZDI-CAN-16587.patch No Types Assigned https://tukaani.org/xz/xzgrep-ZDI-CAN-16587.patch Patch, Third Party Advisory Changed Reference Type https://www.openwall.com/lists/oss-security/2022/04/07/8 No Types Assigned https://www.openwall.com/lists/oss-security/2022/04/07/8 Mailing List, Patch, Third Party Advisory Added CWE NIST CWE-20 Added CPE Configuration OR *cpe:2.3:a:gnu:gzip:*:*:*:*:*:*:*:* versions up to (excluding) 1.12 Added CPE Configuration OR *cpe:2.3:a:redhat:jboss_data_grid:7.0.0:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Sep. 07, 2022
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/202209-01 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-1271
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-1271
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
6.97 }} -0.92%
score
0.93879
percentile