CVE-2023-49298
JSON

7.5high

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 d…

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.37% (higher than 72% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
openzfs openzfsup to 2.1.13, from 2.2.0 up to 2.2.1, 2.2.0CVE List, NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Classification

CWE-639

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

OpenZFS hasta 2.1.13 y 2.2.x hasta 2.2.1, en ciertos escenarios que involucran aplicaciones que intentan confiar en la copia eficiente de datos de archivos, puede reemplazar el contenido del archivo con bytes de valor cero y, por lo tanto, potencialmente deshabilitar los mecanismos de seguridad. NOTA: este problema no siempre está relacionado con la seguridad, pero puede estar relacionado con la seguridad en situaciones realistas. Un posible ejemplo es cp, de una versión reciente de GNU Core Utilities (coreutils), cuando se intenta preservar un conjunto de reglas para denegar el acceso no autorizado. (Se puede usar cp al configurar el control de acceso, como con el archivo /etc/hosts.deny especificado en la referencia de soporte de IBM). NOTA: este problema ocurre con menos frecuencia en la versión 2.2.1 y en versiones anteriores a la 2.1.4. debido a la configuración predeterminada en esas versiones.

References

https://github.com/openzfs/zfs/pull/15571exploit, patch, vendor-advisory
https://github.com/openzfs/zfs/issues/15526exploit, issue-tracking, patch, vendor-advisory
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275308issue-tracking, patch
https://news.ycombinator.com/item?id=38405731patch, third-party-advisory
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-filesthird-party-advisory
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.htmlmailing-list
https://lists.debian.org/debian-lts-announce/2025/04/msg00009.html

Sources

SourceRecordLicence
CVE ListCVE-2023-49298 changed 2025-11-03CVE Terms of Use
NVDCVE-2023-49298 changed 2026-06-17Public domain