ALPINE-CVE-2023-4091 PUBLISHED CVSS 6.5 MEDIUM

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.

Risk Scores

CVSS v3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected Products

VendorProductVersions
Alpine:v3.21samba4.5.3-r1, 4.5.3-r0, 4.5.1-r0
Alpine:v3.19samba4.8.0-r0, 0, 3.2.10-r0
Alpine:v3.20samba3.5.4-r0, 3.5.3-r0, 3.5.6-r1
Alpine:v3.23samba4.8.8-r0, 3.5.6-r3, 3.2.11-r1
Alpine:v3.18samba4.1.3-r1, 3.5.11-r0, 4.8.8-r0
Alpine:v3.22samba3.3.6-r0, 3.3.7-r0, 3.3.7-r1

Timeline

References

Open in Interactive Console →