{"cve":{"cve_id":"CVE-2022-1271","is_kev":false,"kev_date_added":null,"kev_vendor_project":null,"kev_product":null,"kev_vulnerability_name":null,"kev_short_description":null,"kev_required_action":null,"kev_due_date":null,"kev_known_ransomware":null,"kev_notes":null,"kev_cwes":null,"epss_score":0.05205,"epss_percentile":0.92372,"epss_as_of":"2026-10-15","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.","published_at":"2022-08-31T15:33:00Z","last_modified_at":"2026-10-14T13:17:17.760000Z","cvss_v3_score":8.8,"cvss_v3_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cvss_v3_severity":"HIGH","cvss_v4_score":null,"cvss_v4_vector":null,"cvss_v4_severity":null,"ssvc_decision":null,"ssvc_exploitation":"none","ssvc_automatable":false,"ssvc_technical_impact":"total","cwes":["CWE-179"],"nvd_references":["https://bugzilla.redhat.com/show_bug.cgi?id=2073310","https://www.openwall.com/lists/oss-security/2022/04/07/8","https://lists.gnu.org/r/bug-gzip/2022-04/msg00011.html","https://tukaani.org/xz/xzgrep-ZDI-CAN-16587.patch","https://git.tukaani.org/?p=xz.git%3Ba=commit%3Bh=69d1b3fc29677af8ade8dc15dba83f0589cb63d6","https://security-tracker.debian.org/tracker/CVE-2022-1271","https://access.redhat.com/security/cve/CVE-2022-1271","https://security.gentoo.org/glsa/202209-01","https://security.netapp.com/advisory/ntap-20220930-0006/"],"vuln_status":"Modified","trending_score":null,"is_trending":false,"has_trended":false,"trended_number_one":false,"trending_peak_score":null,"trending_peak_rank":null,"started_trending_at":null,"trended_number_one_at":null,"summary_generated":null,"summary_generated_at":null,"summary_model":null,"created_at":"2026-06-24T00:09:39.878444Z","updated_at":"2026-10-14T23:59:09.254433Z"},"effective_severity":"HIGH","badges":[],"impact_analysis":[],"cvss_v3_decoded":{"version":"3.1","metrics":[{"metric":"AV","name":"Attack Vector","value":"N","value_label":"Network"},{"metric":"AC","name":"Attack Complexity","value":"L","value_label":"Low"},{"metric":"PR","name":"Privileges Required","value":"L","value_label":"Low"},{"metric":"UI","name":"User Interaction","value":"N","value_label":"None"},{"metric":"S","name":"Scope","value":"U","value_label":"Unchanged"},{"metric":"C","name":"Confidentiality","value":"H","value_label":"High"},{"metric":"I","name":"Integrity","value":"H","value_label":"High"},{"metric":"A","name":"Availability","value":"H","value_label":"High"}]},"cvss_v4_decoded":{"version":null,"metrics":[]},"affected":[{"vendor_slug":"debian","vendor_name":"Debian","product_slug":"debian-linux","product_name":"debian_linux","version_start":"10.0","version_start_inclusive":true,"version_end":"10.0","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"},{"vendor_slug":"gnu","vendor_name":"gnu","product_slug":"gzip","product_name":"gzip","version_start":null,"version_start_inclusive":null,"version_end":"1.12","version_end_inclusive":false,"cpe23_uri":"cpe:2.3:a:gnu:gzip:*:*:*:*:*:*:*:*"},{"vendor_slug":"redhat","vendor_name":"RedHat","product_slug":"jboss-data-grid","product_name":"jboss_data_grid","version_start":"7.0.0","version_start_inclusive":true,"version_end":"7.0.0","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:a:redhat:jboss_data_grid:7.0.0:*:*:*:*:*:*:*"},{"vendor_slug":"tukaani","vendor_name":"tukaani","product_slug":"xz","product_name":"xz","version_start":null,"version_start_inclusive":null,"version_end":"5.2.5","version_end_inclusive":false,"cpe23_uri":"cpe:2.3:a:tukaani:xz:*:*:*:*:*:*:*:*"}],"exploit_refs":[],"news":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2073310","source_type":"MISC","tags":[]},{"url":"https://www.openwall.com/lists/oss-security/2022/04/07/8","source_type":"MAILING_LIST","tags":["mailing-list"]},{"url":"https://lists.gnu.org/r/bug-gzip/2022-04/msg00011.html","source_type":"MAILING_LIST","tags":["mailing-list"]},{"url":"https://tukaani.org/xz/xzgrep-ZDI-CAN-16587.patch","source_type":"MISC","tags":["patch"]},{"url":"https://git.tukaani.org/?p=xz.git%3Ba=commit%3Bh=69d1b3fc29677af8ade8dc15dba83f0589cb63d6","source_type":"MISC","tags":[]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-1271","source_type":"VENDOR_ADVISORY","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-1271","source_type":"VENDOR_ADVISORY","tags":["advisory"]},{"url":"https://security.gentoo.org/glsa/202209-01","source_type":"MISC","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20220930-0006/","source_type":"MISC","tags":[]}],"timeline":[{"type":"published","at":"2022-08-31T15:33:00Z","label":"CVE published","source":null},{"type":"ssvc_changed","at":"2026-06-24T00:31:53.340304Z","label":"SSVC decision revised","source":"vulnrichment"},{"type":"ssvc_changed","at":"2026-06-24T00:31:53.340304Z","label":"SSVC decision revised","source":"vulnrichment"},{"type":"ssvc_changed","at":"2026-06-24T00:31:53.340304Z","label":"SSVC decision revised","source":"vulnrichment"},{"type":"cvss_changed","at":"2026-06-24T00:31:53.340304Z","label":"CVSS score revised","source":"vulnrichment"},{"type":"cvss_changed","at":"2026-06-24T00:31:53.340304Z","label":"CVSS score revised","source":"vulnrichment"},{"type":"cvss_changed","at":"2026-06-24T00:31:53.340304Z","label":"CVSS score revised","source":"vulnrichment"}]}