Samba: smb clients can truncate files with read-only permissions
Published Nov 3, 2023
6.5
MEDIUMCVSS 3.1
EPSS 1.18%
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 products
No data.
Configuration 1
Configuration 2
- 39
Configuration 3
- 3.0
- 8.0
- 9.0
No data.
Red Hat Enterprise Linux 8
samba-0:4.18.6-2.el8_9
Fixed · RHSA-2023:7467
Red Hat Enterprise Linux 8
samba-0:4.18.6-2.el8_9
Fixed · RHSA-2023:7467
Red Hat Enterprise Linux 8.6 Extended Update Support
samba-0:4.15.5-13.el8_6
Fixed · RHSA-2023:7408
Red Hat Enterprise Linux 8.8 Extended Update Support
samba-0:4.17.5-4.el8_8
Fixed · RHSA-2023:7464
Red Hat Enterprise Linux 9
samba-0:4.18.6-101.el9_3
Fixed · RHSA-2023:6744
Red Hat Enterprise Linux 9
samba-0:4.18.6-101.el9_3
Fixed · RHSA-2023:6744
Red Hat Enterprise Linux 9.0 Extended Update Support
samba-0:4.15.5-111.el9_0
Fixed · RHSA-2023:6209
Red Hat Enterprise Linux 9.2 Extended Update Support
samba-0:4.17.5-104.el9_2
Fixed · RHSA-2023:7371
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8
samba-0:4.15.5-13.el8_6
Fixed · RHSA-2023:7408
Red Hat Enterprise Linux 6
samba
Out of support scope
Red Hat Enterprise Linux 6
samba4
Out of support scope
Red Hat Enterprise Linux 7
samba
Out of support scope
Red Hat Storage 3
samba
Out of support scope
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | samba-0:4.18.6-2.el8_9 | Fixed | RHSA-2023:7467 |
| Red Hat Enterprise Linux 8 | samba-0:4.18.6-2.el8_9 | Fixed | RHSA-2023:7467 |
| Red Hat Enterprise Linux 8.6 Extended Update Support | samba-0:4.15.5-13.el8_6 | Fixed | RHSA-2023:7408 |
| Red Hat Enterprise Linux 8.8 Extended Update Support | samba-0:4.17.5-4.el8_8 | Fixed | RHSA-2023:7464 |
| Red Hat Enterprise Linux 9 | samba-0:4.18.6-101.el9_3 | Fixed | RHSA-2023:6744 |
| Red Hat Enterprise Linux 9 | samba-0:4.18.6-101.el9_3 | Fixed | RHSA-2023:6744 |
| Red Hat Enterprise Linux 9.0 Extended Update Support | samba-0:4.15.5-111.el9_0 | Fixed | RHSA-2023:6209 |
| Red Hat Enterprise Linux 9.2 Extended Update Support | samba-0:4.17.5-104.el9_2 | Fixed | RHSA-2023:7371 |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 | samba-0:4.15.5-13.el8_6 | Fixed | RHSA-2023:7408 |
| Red Hat Enterprise Linux 6 | samba | Out of support scope | n/a |
| Red Hat Enterprise Linux 6 | samba4 | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | samba | Out of support scope | n/a |
| Red Hat Storage 3 | samba | Out of support scope | n/a |
No package ranges for this CVE.
Remediation
Vendor solution
The vulnerability is most commonly associated with the "acl_xattr" module and can be mitigated by setting: ~~~ "acl_xattr:ignore system acls = no" ~~~
Red Hat statement
The vulnerability primarily affects Samba configurations using the "acl_xattr" module with the "acl_xattr:ignore system acls = yes" setting.
Red Hat mitigation
The vulnerability is most commonly associated with the "acl_xattr" module and can be mitigated by setting: ~~~ "acl_xattr:ignore system acls = no" ~~~
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Apr 25, 2024 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2023–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 1.18% (0.01184) | 66.72th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.17% (0.01174) | 63.32th | v5 (v2026.06.15) |
| Nov 21, 2025 | 0.48% (0.00476) | 64.07th | v4 (v2025.03.14) |
| Nov 18, 2025 | 1.88% (0.01877) | 81.66th | v4 (v2025.03.14) |
| Apr 15, 2025 | 0.48% (0.00476) | 63.55th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.88% (0.01877) | 81.92th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.15% (0.00155) | 53.21th | v3 (v2023.03.01) |
| Nov 23, 2023 | 0.15% (0.00151) | 51.22th | v3 (v2023.03.01) |
| Nov 14, 2023 | 0.14% (0.00145) | 50.27th | v3 (v2023.03.01) |
| Nov 3, 2023 | 0.04% (0.00045) | 12.90th | v3 (v2023.03.01) |
References (15)
- https://access.redhat.com/errata/RHSA-2023:6209 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2023:6744 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7371 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2023:7408 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2023:7464 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2023:7467 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-4091 vdb-entryx_refsource_REDHATThird Party AdvisoryVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2241882 issue-trackingx_refsource_REDHATIssue Tracking
- https://bugzilla.samba.org/show_bug.cgi?id=15439 Issue Tracking
- https://lists.debian.org/debian-lts-announce/2024/04/msg00015.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZUMVALLFFDFC53JZMUWA6HPD7HUGAP5I/
- https://nvd.nist.gov/vuln/detail/CVE-2023-4091
- https://security.netapp.com/advisory/ntap-20231124-0002/
- https://www.cve.org/CVERecord?id=CVE-2023-4091
- https://www.samba.org/samba/security/CVE-2023-4091.html Vendor Advisory
Change history (0)
No recorded changes yet.