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 "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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*

Configuration 3 (hide)

OR cpe:2.3:a:redhat:storage:3.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_eus:9.0:*:*:*:*:*:*:*

History

22 Apr 2024, 16:15

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2024/04/msg00015.html -

24 Nov 2023, 09:15

Type Values Removed Values Added
References
  • () https://security.netapp.com/advisory/ntap-20231124-0002/ -

22 Nov 2023, 23:15

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2023:7464 -
  • () https://access.redhat.com/errata/RHSA-2023:7467 -

21 Nov 2023, 18:15

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2023:7371 -
  • () https://access.redhat.com/errata/RHSA-2023:7408 -

13 Nov 2023, 17:52

Type Values Removed Values Added
CWE CWE-276
First Time Redhat
Samba
Redhat enterprise Linux
Samba samba
Redhat enterprise Linux Eus
Fedoraproject fedora
Fedoraproject
Redhat storage
References () https://access.redhat.com/errata/RHSA-2023:6744 - () https://access.redhat.com/errata/RHSA-2023:6744 - Third Party Advisory
References (MISC) https://access.redhat.com/errata/RHSA-2023:6209 - (MISC) https://access.redhat.com/errata/RHSA-2023:6209 - Third Party Advisory
References (MISC) https://access.redhat.com/security/cve/CVE-2023-4091 - (MISC) https://access.redhat.com/security/cve/CVE-2023-4091 - Third Party Advisory
References (MISC) https://www.samba.org/samba/security/CVE-2023-4091.html - (MISC) https://www.samba.org/samba/security/CVE-2023-4091.html - Vendor Advisory
References (MISC) https://bugzilla.samba.org/show_bug.cgi?id=15439 - (MISC) https://bugzilla.samba.org/show_bug.cgi?id=15439 - Issue Tracking
References (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=2241882 - (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=2241882 - Issue Tracking
References (MISC) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZUMVALLFFDFC53JZMUWA6HPD7HUGAP5I/ - (MISC) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZUMVALLFFDFC53JZMUWA6HPD7HUGAP5I/ - Mailing List
CPE cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:storage:3.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_eus:9.0:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.5

07 Nov 2023, 14:15

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2023:6744 -

03 Nov 2023, 22:15

Type Values Removed Values Added
References
  • (MISC) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZUMVALLFFDFC53JZMUWA6HPD7HUGAP5I/ -

03 Nov 2023, 08:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-11-03 08:15

Updated : 2024-04-22 16:15


NVD link : CVE-2023-4091

Mitre link : CVE-2023-4091

CVE.ORG link : CVE-2023-4091


JSON object : View

Products Affected

redhat

  • enterprise_linux
  • storage
  • enterprise_linux_eus

fedoraproject

  • fedora

samba

  • samba
CWE
CWE-276

Incorrect Default Permissions