{ "schema_version": "1.7.0", "id": "USN-5378-2", "summary": "xz-utils vulnerability", "details": "Cleemy Desu Wayo discovered that XZ Utils incorrectly handled certain\nfilenames. If a user or automated system were tricked into performing\nxzgrep operations with specially crafted filenames, a remote attacker could\noverwrite arbitrary files.\n", "aliases": [], "upstream": [ "UBUNTU-CVE-2022-1271" ], "related": [], "published": "2022-04-13T12:45:29Z", "modified": "2026-04-22T07:37:01Z", "affected": [ { "package": { "ecosystem": "Ubuntu:18.04:LTS", "name": "xz-utils", "purl": "pkg:deb/ubuntu/xz-utils@5.2.2-1.3ubuntu0.1?arch=source&distro=bionic" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "5.2.2-1.3ubuntu0.1" } ] } ], "versions": [ "5.2.2-1.3" ], "ecosystem_specific": { "binaries": [ { "binary_name": "liblzma5", "binary_version": "5.2.2-1.3ubuntu0.1" }, { "binary_name": "xz-utils", "binary_version": "5.2.2-1.3ubuntu0.1" }, { "binary_name": "xzdec", "binary_version": "5.2.2-1.3ubuntu0.1" } ], "availability": "No subscription required" }, "database_specific": { "cves_map": { "ecosystem": "Ubuntu:18.04:LTS", "cves": [ { "id": "CVE-2022-1271", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" }, { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" }, { "type": "Ubuntu", "score": "medium" } ] } ] } } }, { "package": { "ecosystem": "Ubuntu:20.04:LTS", "name": "xz-utils", "purl": "pkg:deb/ubuntu/xz-utils@5.2.4-1ubuntu1.1?arch=source&distro=focal" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "5.2.4-1ubuntu1.1" } ] } ], "versions": [ "5.2.4-1", "5.2.4-1ubuntu1" ], "ecosystem_specific": { "binaries": [ { "binary_name": "liblzma5", "binary_version": "5.2.4-1ubuntu1.1" }, { "binary_name": "xz-utils", "binary_version": "5.2.4-1ubuntu1.1" }, { "binary_name": "xzdec", "binary_version": "5.2.4-1ubuntu1.1" } ], "availability": "No subscription required" }, "database_specific": { "cves_map": { "ecosystem": "Ubuntu:20.04:LTS", "cves": [ { "id": "CVE-2022-1271", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" }, { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" }, { "type": "Ubuntu", "score": "medium" } ] } ] } } } ], "references": [ { "type": "ADVISORY", "url": "https://ubuntu.com/security/notices/USN-5378-2" }, { "type": "REPORT", "url": "https://ubuntu.com/security/CVE-2022-1271" } ] }