{"id":"CVE-2023-49298","state":"PUBLISHED","title":"OpenZFS through 2.1.13 and 2.2.x through 2.2.1, in certain scenarios involving applications that try to rely on efficient copying of file data, can replace file contents with zero-","description":"OpenZFS through 2.1.13 and 2.2.x through 2.2.1, in certain scenarios involving applications that try to rely on efficient copying of file data, can replace file contents with zero-valued bytes and thus potentially disable security mechanisms. NOTE: this issue is not always security related, but can be security related in realistic situations. A possible example is cp, from a recent GNU Core Utilities (coreutils) version, when attempting to preserve a rule set for denying unauthorized access. (One might use cp when configuring access control, such as with the /etc/hosts.deny file specified in the IBM Support reference.) NOTE: this issue occurs less often in version 2.2.1, and in versions before 2.1.4, because of the default configuration in those versions.","publishedAt":"2023-11-24T00:00:00.000Z","updatedAt":"2025-11-03T19:28:35.343Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"CISA-ADP"},"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/openzfs/zfs/pull/15571","https://github.com/openzfs/zfs/issues/15526","https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275308","https://news.ycombinator.com/item?id=38405731","https://web.archive.org/web/20231124172959/https://www.ibm.com/support/pages/how-remove-missing%C2%A0newline%C2%A0or%C2%A0line%C2%A0too%C2%A0long-error-etchostsallow%C2%A0and%C2%A0etchostsdeny-files","https://github.com/openzfs/zfs/releases/tag/zfs-2.2.2","https://github.com/openzfs/zfs/releases/tag/zfs-2.1.14","https://www.theregister.com/2023/12/04/two_new_versions_of_openzfs/","https://bugs.gentoo.org/917224","https://news.ycombinator.com/item?id=38770168","https://lists.debian.org/debian-lts-announce/2024/03/msg00019.html","https://lists.debian.org/debian-lts-announce/2025/04/msg00009.html"],"weaknesses":["CWE-639"],"ingestedAt":"2026-10-29T20:06:24.729Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/49xxx/CVE-2023-49298.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-49298","state":"PUBLISHED","datePublished":"2023-11-24T00:00:00.000Z","dateUpdated":"2025-11-03T19:28:35.343Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2023-11-24T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"OpenZFS through 2.1.13 and 2.2.x through 2.2.1, in certain scenarios involving applications that try to rely on efficient copying of file data, can replace file contents with zero-valued bytes and thus potentially disable security mechanisms. NOTE: this issue is not always security related, but can be security related in realistic situations. A possible example is cp, from a recent GNU Core Utilities (coreutils) version, when attempting to preserve a rule set for denying unauthorized access. (One might use cp when configuring access control, such as with the /etc/hosts.deny file specified in the IBM Support reference.) NOTE: this issue occurs less often in version 2.2.1, and in versions before 2.1.4, because of the default configuration in those versions."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/openzfs/zfs/pull/15571"},{"url":"https://github.com/openzfs/zfs/issues/15526"},{"url":"https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275308"},{"url":"https://news.ycombinator.com/item?id=38405731"},{"url":"https://web.archive.org/web/20231124172959/https://www.ibm.com/support/pages/how-remove-missing%C2%A0newline%C2%A0or%C2%A0line%C2%A0too%C2%A0long-error-etchostsallow%C2%A0and%C2%A0etchostsdeny-files"},{"url":"https://github.com/openzfs/zfs/releases/tag/zfs-2.2.2"},{"url":"https://github.com/openzfs/zfs/releases/tag/zfs-2.1.14"},{"url":"https://www.theregister.com/2023/12/04/two_new_versions_of_openzfs/"},{"url":"https://bugs.gentoo.org/917224"},{"url":"https://news.ycombinator.com/item?id=38770168"},{"url":"https://lists.debian.org/debian-lts-announce/2024/03/msg00019.html","name":"[debian-lts-announce] 20240318 [SECURITY] [DLA 3766-1] zfs-linux security update","tags":["mailing-list"]}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2024-03-18T22:06:01.490Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/openzfs/zfs/pull/15571","tags":["x_transferred"]},{"url":"https://github.com/openzfs/zfs/issues/15526","tags":["x_transferred"]},{"url":"https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275308","tags":["x_transferred"]},{"url":"https://news.ycombinator.com/item?id=38405731","tags":["x_transferred"]},{"url":"https://web.archive.org/web/20231124172959/https://www.ibm.com/support/pages/how-remove-missing%C2%A0newline%C2%A0or%C2%A0line%C2%A0too%C2%A0long-error-etchostsallow%C2%A0and%C2%A0etchostsdeny-files","tags":["x_transferred"]},{"url":"https://github.com/openzfs/zfs/releases/tag/zfs-2.2.2","tags":["x_transferred"]},{"url":"https://github.com/openzfs/zfs/releases/tag/zfs-2.1.14","tags":["x_transferred"]},{"url":"https://www.theregister.com/2023/12/04/two_new_versions_of_openzfs/","tags":["x_transferred"]},{"url":"https://bugs.gentoo.org/917224","tags":["x_transferred"]},{"url":"https://news.ycombinator.com/item?id=38770168","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/03/msg00019.html","name":"[debian-lts-announce] 20240318 [SECURITY] [DLA 3766-1] zfs-linux security update","tags":["mailing-list","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00009.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T19:28:35.343Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"openzfs","product":"openzfs","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.1.13","versionType":"custom"},{"version":"2.2.0","status":"affected","lessThanOrEqual":"2.2.1","versionType":"custom"}],"cpes":["cpe:2.3:a:openzfs:openzfs:*:*:*:*:*:*:*:*"]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-10-10T20:36:55.286724Z","id":"CVE-2023-49298","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-639","type":"CWE","lang":"en","description":"CWE-639 Authorization Bypass Through User-Controlled Key"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-10T20:38:26.767Z"}}]}}}