CVE-2023-49298
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data tampering.
- Exploit odds
- 1.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.2% in the next 30 days (EPSS).
- Severity: 7.5 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.2% · EPSS, next 30 days
- Weakness
- CWE-639 · Insecure direct object reference
- Record status
- Modified
Affected
- Openzfs ≤ 2.1.13
- Openzfs 2.2.0
Attack profile CVSS 3.1 · 7.5
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2023-49298.md and follow it. Check whether this project is affected by CVE-2023-49298. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275308
- https://github.com/openzfs/zfs/issues/15526
- https://github.com/openzfs/zfs/pull/15571
- https://github.com/openzfs/zfs/releases/tag/zfs-2.1.14
- https://github.com/openzfs/zfs/releases/tag/zfs-2.2.2
- https://news.ycombinator.com/item?id=38405731
- https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275308
- https://github.com/openzfs/zfs/issues/15526
- https://github.com/openzfs/zfs/pull/15571
- https://github.com/openzfs/zfs/releases/tag/zfs-2.1.14
References
- https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275308
- https://bugs.gentoo.org/917224
- https://github.com/openzfs/zfs/issues/15526
- https://github.com/openzfs/zfs/pull/15571
- https://github.com/openzfs/zfs/releases/tag/zfs-2.1.14
- https://github.com/openzfs/zfs/releases/tag/zfs-2.2.2
- https://lists.debian.org/debian-lts-announce/2024/03/msg00019.html
- https://news.ycombinator.com/item?id=38405731
- https://news.ycombinator.com/item?id=38770168
- 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://www.theregister.com/2023/12/04/two_new_versions_of_openzfs/
- https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275308
- https://bugs.gentoo.org/917224
- https://github.com/openzfs/zfs/issues/15526
- https://github.com/openzfs/zfs/pull/15571
- https://github.com/openzfs/zfs/releases/tag/zfs-2.1.14
- https://github.com/openzfs/zfs/releases/tag/zfs-2.2.2
- https://lists.debian.org/debian-lts-announce/2024/03/msg00019.html
- https://lists.debian.org/debian-lts-announce/2025/04/msg00009.html
- https://news.ycombinator.com/item?id=38405731
- https://news.ycombinator.com/item?id=38770168
- 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://www.theregister.com/2023/12/04/two_new_versions_of_openzfs/