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…
Check your servers for CVE-2023-49298
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-49298 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity high, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 1.37%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 72.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Oct 2024):
- Exploitation
- poc: a proof of concept is public
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-639 Authorization Bypass Through User-Controlled Key
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2023-49298 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2023-49298RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2023-49298Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-49298
trivy image --scanners vuln IMAGE | grep CVE-2023-49298
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://github.com/openzfs/zfs/pull/15571 github.com
- https://github.com/openzfs/zfs/issues/15526 github.com
- https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275308 bugs.freebsd.org
- https://news.ycombinator.com/item?id=38405731 news.ycombinator.com
- 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 web.archive.org
- https://github.com/openzfs/zfs/releases/tag/zfs-2.2.2 github.com
- https://github.com/openzfs/zfs/releases/tag/zfs-2.1.14 github.com
- https://www.theregister.com/2023/12/04/two_new_versions_of_openzfs/ theregister.com
- https://bugs.gentoo.org/917224 bugs.gentoo.org
- https://news.ycombinator.com/item?id=38770168 news.ycombinator.com
- [debian-lts-announce] 20240318 [SECURITY] [DLA 3766-1] zfs-linux security update lists.debian.org · mailing list
- https://lists.debian.org/debian-lts-announce/2025/04/msg00009.html lists.debian.org
Source: the record CVE-2023-49298 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse