vulnerability

Red Hat: CVE-2023-4091: samba: SMB clients can truncate files with read-only permissions (Multiple Advisories)

Severity
7
CVSS
(AV:N/AC:L/Au:S/C:N/I:C/A:N)
Published
Oct 31, 2023
Added
Nov 1, 2023
Modified
Sep 1, 2025

Description

A vulnerability was discovered in Samba, where the flaw allows SMB clients to truncate files, even with read-only permissions when the Samba VFS module "acl_xattr" is configured with "acl_xattr:ignore system acls = yes". The SMB protocol allows opening files when the client requests read-only access but then implicitly truncates the opened file to 0 bytes if the client specifies a separate OVERWRITE create disposition request. The issue arises in configurations that bypass kernel file system permissions checks, relying solely on Samba's permissions.

Solutions

no-fix-redhat-rpm-packageredhat-upgrade-ctdbredhat-upgrade-ctdb-debuginforedhat-upgrade-libnetapiredhat-upgrade-libnetapi-debuginforedhat-upgrade-libnetapi-develredhat-upgrade-libsmbclientredhat-upgrade-libsmbclient-debuginforedhat-upgrade-libsmbclient-develredhat-upgrade-libwbclientredhat-upgrade-libwbclient-debuginforedhat-upgrade-libwbclient-develredhat-upgrade-python3-sambaredhat-upgrade-python3-samba-dcredhat-upgrade-python3-samba-dc-debuginforedhat-upgrade-python3-samba-debuginforedhat-upgrade-python3-samba-develredhat-upgrade-python3-samba-testredhat-upgrade-sambaredhat-upgrade-samba-clientredhat-upgrade-samba-client-debuginforedhat-upgrade-samba-client-libsredhat-upgrade-samba-client-libs-debuginforedhat-upgrade-samba-commonredhat-upgrade-samba-common-libsredhat-upgrade-samba-common-libs-debuginforedhat-upgrade-samba-common-toolsredhat-upgrade-samba-common-tools-debuginforedhat-upgrade-samba-dc-libsredhat-upgrade-samba-dc-libs-debuginforedhat-upgrade-samba-dcerpcredhat-upgrade-samba-dcerpc-debuginforedhat-upgrade-samba-debuginforedhat-upgrade-samba-debugsourceredhat-upgrade-samba-develredhat-upgrade-samba-krb5-printingredhat-upgrade-samba-krb5-printing-debuginforedhat-upgrade-samba-ldb-ldap-modulesredhat-upgrade-samba-ldb-ldap-modules-debuginforedhat-upgrade-samba-libsredhat-upgrade-samba-libs-debuginforedhat-upgrade-samba-pidlredhat-upgrade-samba-testredhat-upgrade-samba-test-debuginforedhat-upgrade-samba-test-libsredhat-upgrade-samba-test-libs-debuginforedhat-upgrade-samba-toolsredhat-upgrade-samba-usersharesredhat-upgrade-samba-vfs-iouringredhat-upgrade-samba-vfs-iouring-debuginforedhat-upgrade-samba-winbindredhat-upgrade-samba-winbind-clientsredhat-upgrade-samba-winbind-clients-debuginforedhat-upgrade-samba-winbind-debuginforedhat-upgrade-samba-winbind-krb5-locatorredhat-upgrade-samba-winbind-krb5-locator-debuginforedhat-upgrade-samba-winbind-modulesredhat-upgrade-samba-winbind-modules-debuginforedhat-upgrade-samba-winexeredhat-upgrade-samba-winexe-debuginfo
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.