CVEvulnerability

CVE-2023-4091

6.5 MEDIUM Published 2023-11-03 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2023-11-03
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
CVSS 3.1 ([email protected])
6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-276

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.

Affected configurations

• samba samba (< 4.17.12) • samba samba (>= 4.18.0 < 4.18.8) • samba samba (>= 4.19.0 < 4.19.1) • fedoraproject fedora 39 • redhat storage 3.0 • redhat enterprise linux 8.0 • redhat enterprise linux eus 9.0

Related

Weakness · CWE (1)

  • CWE-276 Incorrect Default Permissions weakness

References