cbcvebase.
CVE-2023-4091
published 2023-11-03

CVE-2023-4091: 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…

medium6.5CVSS 3.1
AVNACLPRLUINSUCNIHAN
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.

Affected

16 ranges
VendorProductVersion rangeFixed in
debiansamba< samba 2:4.17.12+dfsg-0+deb12u1 (bookworm)samba 2:4.17.12+dfsg-0+deb12u1 (bookworm)
fedoraprojectfedora
redhatenterprise_linux
redhatenterprise_linux_eus
redhatstorage
sambasamba< 4.17.124.17.12
sambasamba>= 0 < 2:4.13.13+dfsg-1~deb11u62:4.13.13+dfsg-1~deb11u6
sambasamba>= 0 < 2:4.17.12+dfsg-0+deb12u12:4.17.12+dfsg-0+deb12u1
sambasamba>= 0 < 2:4.19.1+dfsg-12:4.19.1+dfsg-1
sambasamba>= 0 < 2:4.19.1+dfsg-12:4.19.1+dfsg-1
sambasamba>= 0 < 2:4.15.13+dfsg-0ubuntu0.20.04.72:4.15.13+dfsg-0ubuntu0.20.04.7
sambasamba>= 0 < 2:4.15.13+dfsg-0ubuntu0.20.04.62:4.15.13+dfsg-0ubuntu0.20.04.6
sambasamba>= 0 < 2:4.15.13+dfsg-0ubuntu1.52:4.15.13+dfsg-0ubuntu1.5
sambasamba>= 0 < 2:4.18.6+dfsg-1ubuntu2.12:4.18.6+dfsg-1ubuntu2.1
sambasamba>= 4.18.0 < 4.18.84.18.8
sambasamba>= 4.19.0 < 4.19.14.19.1

CVSS provenance

nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
osv6.5MEDIUM