CVE-2023-4091
published 2023-11-03CVE-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
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | samba | < samba 2:4.17.12+dfsg-0+deb12u1 (bookworm) | samba 2:4.17.12+dfsg-0+deb12u1 (bookworm) |
| fedoraproject | fedora | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux_eus | — | — |
| redhat | storage | — | — |
| samba | samba | < 4.17.12 | 4.17.12 |
| samba | samba | >= 0 < 2:4.13.13+dfsg-1~deb11u6 | 2:4.13.13+dfsg-1~deb11u6 |
| samba | samba | >= 0 < 2:4.17.12+dfsg-0+deb12u1 | 2:4.17.12+dfsg-0+deb12u1 |
| samba | samba | >= 0 < 2:4.19.1+dfsg-1 | 2:4.19.1+dfsg-1 |
| samba | samba | >= 0 < 2:4.19.1+dfsg-1 | 2:4.19.1+dfsg-1 |
| samba | samba | >= 0 < 2:4.15.13+dfsg-0ubuntu0.20.04.7 | 2:4.15.13+dfsg-0ubuntu0.20.04.7 |
| samba | samba | >= 0 < 2:4.15.13+dfsg-0ubuntu0.20.04.6 | 2:4.15.13+dfsg-0ubuntu0.20.04.6 |
| samba | samba | >= 0 < 2:4.15.13+dfsg-0ubuntu1.5 | 2:4.15.13+dfsg-0ubuntu1.5 |
| samba | samba | >= 0 < 2:4.18.6+dfsg-1ubuntu2.1 | 2:4.18.6+dfsg-1ubuntu2.1 |
| samba | samba | >= 4.18.0 < 4.18.8 | 4.18.8 |
| samba | samba | >= 4.19.0 < 4.19.1 | 4.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