ghsa-jrpw-543v-8r62
Vulnerability from github
Published
2022-09-01 00:00
Modified
2024-08-26 12:31
Severity ?
Details
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": [], "aliases": [ "CVE-2022-1271" ], "database_specific": { "cwe_ids": [ "CWE-179", "CWE-20" ], "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2022-08-31T16:15:00Z", "severity": "HIGH" }, "details": "An arbitrary file write vulnerability was found in GNU gzip\u0027s zgrep utility. When zgrep is applied on the attacker\u0027s chosen file name (for example, a crafted file name), this can overwrite an attacker\u0027s 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.", "id": "GHSA-jrpw-543v-8r62", "modified": "2024-08-26T12:31:18Z", "published": "2022-09-01T00:00:22Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-1271" }, { "type": "WEB", "url": "https://access.redhat.com/security/cve/CVE-2022-1271" }, { "type": "WEB", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2073310" }, { "type": "WEB", "url": "https://git.tukaani.org/?p=xz.git%3Ba=commit%3Bh=69d1b3fc29677af8ade8dc15dba83f0589cb63d6" }, { "type": "WEB", "url": "https://git.tukaani.org/?p=xz.git;a=commit;h=69d1b3fc29677af8ade8dc15dba83f0589cb63d6" }, { "type": "WEB", "url": "https://lists.gnu.org/r/bug-gzip/2022-04/msg00011.html" }, { "type": "WEB", "url": "https://security-tracker.debian.org/tracker/CVE-2022-1271" }, { "type": "WEB", "url": "https://security.gentoo.org/glsa/202209-01" }, { "type": "WEB", "url": "https://security.netapp.com/advisory/ntap-20220930-0006" }, { "type": "WEB", "url": "https://tukaani.org/xz/xzgrep-ZDI-CAN-16587.patch" }, { "type": "WEB", "url": "https://www.openwall.com/lists/oss-security/2022/04/07/8" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "type": "CVSS_V3" } ] }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.