CVE-2023-49298
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.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | zfs-linux | Fixed | 2.2.2-0ubuntu2 | UBUNTU-CVE-2023-49298 |
| Ubuntu 22.04 | zfs-linux | Fixed | 2.1.5-1ubuntu6~22.04.4 | UBUNTU-CVE-2023-49298 |
| Ubuntu 20.04 | zfs-linux | Fixed | 0.8.3-1ubuntu12.17 | UBUNTU-CVE-2023-49298 |
| Ubuntu 18.04 | zfs-linux | Fix pending | UBUNTU-CVE-2023-49298 | |
| Ubuntu 16.04 | zfs-linux | Fix pending | UBUNTU-CVE-2023-49298 | |
| Debian 14 | zfs-linux | Fixed | 2.1.14-1 | DEBIAN-CVE-2023-49298 |
| Debian 13 | zfs-linux | Fixed | 2.1.14-1 | DEBIAN-CVE-2023-49298 |
| Debian 12 | zfs-linux | Fixed | 2.1.11-1+deb12u1 | DEBIAN-CVE-2023-49298 |
| Alpine Linux 3.24 | zfs | Fixed | 2.2.1-r1 | ALPINE-CVE-2023-49298 |
| Alpine Linux 3.24 | zfs-lts | Fixed | 2.2.1-r1 | ALPINE-CVE-2023-49298 |
| Alpine Linux 3.24 | zfs-rpi | Fixed | 2.2.1-r1 | ALPINE-CVE-2023-49298 |
| Alpine Linux 3.23 | zfs | Fixed | 2.2.1-r1 | ALPINE-CVE-2023-49298 |
| Alpine Linux 3.23 | zfs-lts | Fixed | 2.2.1-r1 | ALPINE-CVE-2023-49298 |
| Alpine Linux 3.23 | zfs-rpi | Fixed | 2.2.1-r1 | ALPINE-CVE-2023-49298 |
| Alpine Linux 3.22 | zfs | Fixed | 2.2.1-r1 | ALPINE-CVE-2023-49298 |
| Alpine Linux 3.22 | zfs-lts | Fixed | 2.2.1-r1 | ALPINE-CVE-2023-49298 |
| Alpine Linux 3.22 | zfs-rpi | Fixed | 2.2.1-r1 | ALPINE-CVE-2023-49298 |
| Alpine Linux 3.21 | zfs | Fixed | 2.2.1-r1 | ALPINE-CVE-2023-49298 |
| Alpine Linux 3.21 | zfs-lts | Fixed | 2.2.1-r1 | ALPINE-CVE-2023-49298 |
| Alpine Linux 3.21 | zfs-rpi | Fixed | 2.2.1-r1 | ALPINE-CVE-2023-49298 |
| Alpine Linux 3.20 | zfs | Fixed | 2.2.1-r1 | ALPINE-CVE-2023-49298 |
| Alpine Linux 3.20 | zfs-lts | Fixed | 2.2.1-r1 | ALPINE-CVE-2023-49298 |
| Alpine Linux 3.20 | zfs-rpi | Fixed | 2.2.1-r1 | ALPINE-CVE-2023-49298 |
| Alpine Linux 3.19 | zfs | Fixed | 2.2.1-r1 | ALPINE-CVE-2023-49298 |
| Alpine Linux 3.19 | zfs-lts | Fixed | 2.2.1-r1 | ALPINE-CVE-2023-49298 |
| Alpine Linux 3.19 | zfs-rpi | Fixed | 2.2.1-r1 | ALPINE-CVE-2023-49298 |
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.