{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-1271","published":"2022-08-31T16:15:09.347000Z","last_modified":"2026-10-14T13:17:17.760000Z","status":"Modified","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-179","CWE-20"],"cpes":[{"criteria":"cpe:2.3:a:gnu:gzip:*:*:*:*:*:*:*:*","part":"a","vendor":"gnu","product":"gzip","version_end_excluding":"1.12"},{"criteria":"cpe:2.3:a:redhat:jboss_data_grid:7.0.0:*:*:*:*:*:*:*","part":"a","vendor":"redhat","product":"jboss_data_grid","version":"7.0.0"},{"criteria":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"10.0"},{"criteria":"cpe:2.3:a:tukaani:xz:*:*:*:*:*:*:*:*","part":"a","vendor":"tukaani","product":"xz","version_end_excluding":"5.2.5"}],"cpes_truncated":false,"vendors":["gnu","redhat","debian","tukaani"],"products":["gnu/gzip","redhat/jboss_data_grid","debian/debian_linux","tukaani/xz"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"epss":{"score":0.02844,"percentile":0.87422,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":53,"links":{"html_es":"/es/cve/CVE-2022-1271/","html_en":"/en/cve/CVE-2022-1271/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-1271","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-1271"},"untrusted":{"vendor_name":"Gnu","product_name":"Gzip","desc_en":"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":[{"untrusted_vendor":"Siemens","untrusted_product":"RUGGEDCOM APE1808","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","versions":[]}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2022-1271","tags":["Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2073310","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://git.tukaani.org/?p=xz.git%3Ba=commit%3Bh=69d1b3fc29677af8ade8dc15dba83f0589cb63d6","tags":["Broken Link"]},{"url":"https://lists.gnu.org/r/bug-gzip/2022-04/msg00011.html","tags":["Mailing List","Patch","Vendor Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-1271","tags":["Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202209-01","tags":["Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20220930-0006/","tags":["Third Party Advisory"]},{"url":"https://tukaani.org/xz/xzgrep-ZDI-CAN-16587.patch","tags":["Patch","Third Party Advisory"]},{"url":"https://www.openwall.com/lists/oss-security/2022/04/07/8","tags":["Mailing List","Patch","Third Party Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-455250.html","tags":[]}]}}