CVE-2023-4091

Samba: smb clients can truncate files with read-only permissions

MEDIUM
6.5
CVSS Score
Published: November 3, 2023 at 07:56 AM UTC
Updated: June 17, 2026 at 06:37 AM UTC
5 products affected across 3 vendorsFedoraEnterprise LinuxEnterprise Linux Eus

Using Red Hat Enterprise Linux 8 by Red Hat?

Get instant alerts when new vulnerabilities affect Red Hat Enterprise Linux 8 - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 1%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Vendor states this is fixed in 0:4.15.5-111.el9_0 (unaffected)
Vendor states this is fixed in 0:4.15.5-13.el8_6 (unaffected)
Vendor states this is fixed in 0:4.17.5-104.el9_2 (unaffected)
Vendor states this is fixed in 0:4.17.5-4.el8_8 (unaffected)
Vendor states this is fixed in 0:4.18.6-101.el9_3 (unaffected)
Vendor states this is fixed in 0:4.18.6-2.el8_9 (unaffected)
Vendor states this is fixed in 6 (unknown)
Vendor states this is fixed in 7 (unknown)
Vendor states this is fixed in 3 (unknown)
v < 4.17.124.18.0 ≤ v < 4.18.84.19.0 ≤ v < 4.19.1
Affected range stops below 4.17.12, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.18.8, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.19.1, so it looks safe — our inference, not a vendor statement

References (13)

Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2023:6209
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2023:6744
VDB Entryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/security/cve/CVE-2023-4091

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.5MEDIUMredhat
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-276

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card