8.8
High
CVE-2022-1271 An arbitrary file write vulnerability was found in GNU gzip's zgrep utility
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.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| gzip, xz-utils | Versions not published | |
| RUGGEDCOM APE1808 | Versions not published | |
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP 3.1 | 3.1.0 → < 3.1.5 | 3.1.5 |
| SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP 3.1 | 3.1.0 → < 3.1.5 | 3.1.5 |
| SIPLUS S7-1500 CPU 1518-4 PN/DP MFP 3.1 | 3.1.0 → < 3.1.5 | 3.1.5 |
References
- bugzilla.redhat.com bugzilla.redhat.com
- www.openwall.com www.openwall.com
- lists.gnu.org lists.gnu.org
- tukaani.org tukaani.org
- git.tukaani.org git.tukaani.org
- security-tracker.debian.org security-tracker.debian.org
- access.redhat.com access.redhat.com
- GLSA-202209-01 security.gentoo.org
- security.netapp.com security.netapp.com
Timeline
- Published
- Last modified