Auth bypass in Openzfs
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.
Vulnerability class: IDOR (Insecure Direct Object Reference)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.012, 67.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Openzfs — versions 2.2.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (NaInSec/CVE-LIST, w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/openzfs/zfs/pull/15571 (Exploit, Patch, Vendor Advisory)
- github.com/openzfs/zfs/issues/15526 (Exploit, Patch, Issue Tracking, Vendor Advisory)
- bugs.freebsd.org/bugzilla/show_bug.cgi (Patch, Issue Tracking)
- news.ycombinator.com/item (Patch, Third Party Advisory)
- web.archive.org/web/20231124172959/https://www.ibm.com/support/pages/how-remove… (Third Party Advisory)
- github.com/openzfs/zfs/releases/tag/zfs-2.2.2
- github.com/openzfs/zfs/releases/tag/zfs-2.1.14
- www.theregister.com/2023/12/04/two_new_versions_of_openzfs/
- bugs.gentoo.org/917224
- news.ycombinator.com/item