CVE-2023-4091
published medium CVSS 3.1 · 6.5Samba: smb clients can truncate files with read-only permissions
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 8 | samba0:4.18.6-2.el8_9 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | sambaRed Hat Enterprise Linux 8.6 Extended Update Support · 0:4.15.5-13.el8_6 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | sambaRed Hat Enterprise Linux 8.8 Extended Update Support · 0:4.17.5-4.el8_8 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 9 | samba0:4.18.6-101.el9_3 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-2367 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-416 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | samba | Advisory build | 4.18.6-2.el8_9.alma.1 | ALSA-2023:7467 |
| Alpine Linux | edge | samba | Fixed | 4.18.8-r0 | Package fix record |
Show 106 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | sambaRed Hat Enterprise Linux 9.0 Extended Update Support · 0:4.15.5-111.el9_0 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | sambaRed Hat Enterprise Linux 9.0 Extended Update Support · 0:4.15.5-111.el9_0 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | sambaRed Hat Enterprise Linux 9.2 Extended Update Support · 0:4.17.5-104.el9_2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | sambaRed Hat Enterprise Linux 9.2 Extended Update Support · 0:4.17.5-104.el9_2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | sambaRed Hat Virtualization 4 for Red Hat Enterprise Linux 8 · 0:4.15.5-13.el8_6 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 6, 7 | samba | Unknown | Not stated | redhat |
| Red Hat Enterprise Linux | 6 | samba4 | Unknown | Not stated | redhat |
| Red Hat | — | sambaRed Hat Storage 3 | Unknown | Not stated | redhat |
| Debian | bookworm | samba | Advisory build | 2:4.17.12+dfsg-0+deb12u1 | DSA-5525-1 |
| Oracle Linux | 8 | sambaaarch64 | Advisory build | 0:4.18.6-2.0.1.el8_9 | ELSA-2023-7467 |
| Red Hat Enterprise Linux | RHEL-8 | sambaaarch64 | Advisory build | 4.15.5-13.el8_6 | RHSA-2023:7408 |
| SUSE / openSUSE | SLE-12-SP5 | sambaaarch64 | Advisory build | 4.15.13+git.625.ac658f2f12-3.88.1 | SUSE-SU-2023:4040-1 |
| Ubuntu | focal | samba | Advisory build | 2:4.15.13+dfsg-0ubuntu0.20.04.6 | USN-6425-1 |
| AlmaLinux | 9 | samba | Advisory build | 4.18.6-101.el9_3.alma.1 | ALSA-2023:6744 |
| Alpine Linux | v3.18 | samba | Fixed | 4.18.8-r0 | Package fix record |
| Alpine Linux | v3.19 | samba | Fixed | 4.18.8-r0 | Package fix record |
| Alpine Linux | v3.20 | samba | Fixed | 4.18.8-r0 | Package fix record |
| Alpine Linux | v3.21 | samba | Fixed | 4.18.8-r0 | Package fix record |
| Alpine Linux | v3.22 | samba | Fixed | 4.18.8-r0 | Package fix record |
| Alpine Linux | v3.23 | samba | Fixed | 4.18.8-r0 | Package fix record |
| Alpine Linux | v3.24 | samba | Fixed | 4.18.8-r0 | Package fix record |
| Debian | bullseye | samba | Advisory build | 2:4.13.13+dfsg-1~deb11u6 | DSA-5647-1 |
| Debian | buster | samba | Advisory build | 2:4.9.5+dfsg-5+deb10u5 | DLA-3792-1 |
| Oracle Linux | 8 | sambax86_64 | Advisory build | 0:4.18.6-2.0.1.el8_9 | ELSA-2023-7467 |
| Oracle Linux | 9 | sambaaarch64 | Advisory build | 0:4.18.6-101.el9_3 | ELSA-2023-6744 |
| Oracle Linux | 9 | sambax86_64 | Advisory build | 0:4.18.6-101.el9_3 | ELSA-2023-6744 |
| Red Hat Enterprise Linux | RHEL-8 | sambaaarch64 | Advisory build | 4.17.5-4.el8_8 | RHSA-2023:7464 |
| Red Hat Enterprise Linux | RHEL-8 | sambaaarch64 | Advisory build | 4.18.6-2.el8_9 | RHSA-2023:7467 |
| Red Hat Enterprise Linux | RHEL-8 | sambappc64le | Advisory build | 4.15.5-13.el8_6 | RHSA-2023:7408 |
| Red Hat Enterprise Linux | RHEL-8 | sambappc64le | Advisory build | 4.17.5-4.el8_8 | RHSA-2023:7464 |
| Red Hat Enterprise Linux | RHEL-8 | sambappc64le | Advisory build | 4.18.6-2.el8_9 | RHSA-2023:7467 |
| Red Hat Enterprise Linux | RHEL-8 | sambas390x | Advisory build | 4.15.5-13.el8_6 | RHSA-2023:7408 |
| Red Hat Enterprise Linux | RHEL-8 | sambas390x | Advisory build | 4.17.5-4.el8_8 | RHSA-2023:7464 |
| Red Hat Enterprise Linux | RHEL-8 | sambas390x | Advisory build | 4.18.6-2.el8_9 | RHSA-2023:7467 |
| Red Hat Enterprise Linux | RHEL-8 | sambasrc | Advisory build | 4.15.5-13.el8_6 | RHSA-2023:7408 |
| Red Hat Enterprise Linux | RHEL-8 | sambasrc | Advisory build | 4.17.5-4.el8_8 | RHSA-2023:7464 |
| Red Hat Enterprise Linux | RHEL-8 | sambasrc | Advisory build | 4.18.6-2.el8_9 | RHSA-2023:7467 |
| Red Hat Enterprise Linux | RHEL-8 | sambax86_64 | Advisory build | 4.15.5-13.el8_6 | RHSA-2023:7408 |
| Red Hat Enterprise Linux | RHEL-8 | sambax86_64 | Advisory build | 4.17.5-4.el8_8 | RHSA-2023:7464 |
| Red Hat Enterprise Linux | RHEL-8 | sambax86_64 | Advisory build | 4.18.6-2.el8_9 | RHSA-2023:7467 |
| Red Hat Enterprise Linux | RHEL-9 | sambaaarch64 | Advisory build | 4.15.5-111.el9_0 | RHSA-2023:6209 |
| Red Hat Enterprise Linux | RHEL-9 | sambaaarch64 | Advisory build | 4.17.5-104.el9_2 | RHSA-2023:7371 |
| Red Hat Enterprise Linux | RHEL-9 | sambaaarch64 | Advisory build | 4.18.6-101.el9_3 | RHSA-2023:6744 |
| Red Hat Enterprise Linux | RHEL-9 | sambappc64le | Advisory build | 4.15.5-111.el9_0 | RHSA-2023:6209 |
| Red Hat Enterprise Linux | RHEL-9 | sambappc64le | Advisory build | 4.17.5-104.el9_2 | RHSA-2023:7371 |
| Red Hat Enterprise Linux | RHEL-9 | sambappc64le | Advisory build | 4.18.6-101.el9_3 | RHSA-2023:6744 |
| Red Hat Enterprise Linux | RHEL-9 | sambas390x | Advisory build | 4.15.5-111.el9_0 | RHSA-2023:6209 |
| Red Hat Enterprise Linux | RHEL-9 | sambas390x | Advisory build | 4.17.5-104.el9_2 | RHSA-2023:7371 |
| Red Hat Enterprise Linux | RHEL-9 | sambas390x | Advisory build | 4.18.6-101.el9_3 | RHSA-2023:6744 |
| Red Hat Enterprise Linux | RHEL-9 | sambasrc | Advisory build | 4.15.5-111.el9_0 | RHSA-2023:6209 |
| Red Hat Enterprise Linux | RHEL-9 | sambasrc | Advisory build | 4.17.5-104.el9_2 | RHSA-2023:7371 |
| Red Hat Enterprise Linux | RHEL-9 | sambasrc | Advisory build | 4.18.6-101.el9_3 | RHSA-2023:6744 |
| Red Hat Enterprise Linux | RHEL-9 | sambax86_64 | Advisory build | 4.15.5-111.el9_0 | RHSA-2023:6209 |
| Red Hat Enterprise Linux | RHEL-9 | sambax86_64 | Advisory build | 4.17.5-104.el9_2 | RHSA-2023:7371 |
| Red Hat Enterprise Linux | RHEL-9 | sambax86_64 | Advisory build | 4.18.6-101.el9_3 | RHSA-2023:6744 |
| SUSE / openSUSE | SLE-12-SP5 | sambappc64le | Advisory build | 4.15.13+git.625.ac658f2f12-3.88.1 | SUSE-SU-2023:4040-1 |
| SUSE / openSUSE | SLE-12-SP5 | sambas390x | Advisory build | 4.15.13+git.625.ac658f2f12-3.88.1 | SUSE-SU-2023:4040-1 |
| SUSE / openSUSE | SLE-12-SP5 | sambax86_64 | Advisory build | 4.15.13+git.625.ac658f2f12-3.88.1 | SUSE-SU-2023:4040-1 |
| SUSE / openSUSE | SLE-15-SP3 | sambaaarch64 | Advisory build | 4.15.13+git.691.3d3cea0641-150300.3.63.1 | SUSE-SU-2023:4096-1 |
| SUSE / openSUSE | SLE-15-SP3 | sambappc64le | Advisory build | 4.15.13+git.691.3d3cea0641-150300.3.63.1 | SUSE-SU-2023:4096-1 |
| SUSE / openSUSE | SLE-15-SP3 | sambas390x | Advisory build | 4.15.13+git.691.3d3cea0641-150300.3.63.1 | SUSE-SU-2023:4096-1 |
| SUSE / openSUSE | SLE-15-SP3 | sambax86_64 | Advisory build | 4.15.13+git.691.3d3cea0641-150300.3.63.1 | SUSE-SU-2023:4096-1 |
| SUSE / openSUSE | SLE-15-SP4 | sambaaarch64 | Advisory build | 4.15.13+git.691.3d3cea0641-150400.3.31.1 | SUSE-SU-2023:4059-1 |
| SUSE / openSUSE | SLE-15-SP4 | sambappc64le | Advisory build | 4.15.13+git.691.3d3cea0641-150400.3.31.1 | SUSE-SU-2023:4059-1 |
| SUSE / openSUSE | SLE-15-SP4 | sambas390x | Advisory build | 4.15.13+git.691.3d3cea0641-150400.3.31.1 | SUSE-SU-2023:4059-1 |
| SUSE / openSUSE | SLE-15-SP4 | sambax86_64 | Advisory build | 4.15.13+git.691.3d3cea0641-150400.3.31.1 | SUSE-SU-2023:4059-1 |
| SUSE / openSUSE | SLE-15-SP5 | sambaaarch64 | Advisory build | 4.17.9+git.421.abde31ca5c2-150500.3.11.1 | SUSE-SU-2023:4046-1 |
| SUSE / openSUSE | SLE-15-SP5 | sambappc64le | Advisory build | 4.17.9+git.421.abde31ca5c2-150500.3.11.1 | SUSE-SU-2023:4046-1 |
| SUSE / openSUSE | SLE-15-SP5 | sambas390x | Advisory build | 4.17.9+git.421.abde31ca5c2-150500.3.11.1 | SUSE-SU-2023:4046-1 |
| SUSE / openSUSE | SLE-15-SP5 | sambax86_64 | Advisory build | 4.17.9+git.421.abde31ca5c2-150500.3.11.1 | SUSE-SU-2023:4046-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | sambaaarch64 | Advisory build | 4.15.13+git.691.3d3cea0641-150400.3.31.1 | SUSE-SU-2023:4059-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | sambappc64le | Advisory build | 4.15.13+git.691.3d3cea0641-150400.3.31.1 | SUSE-SU-2023:4059-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | sambas390x | Advisory build | 4.15.13+git.691.3d3cea0641-150400.3.31.1 | SUSE-SU-2023:4059-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | sambax86_64 | Advisory build | 4.15.13+git.691.3d3cea0641-150400.3.31.1 | SUSE-SU-2023:4059-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | sambaaarch64 | Advisory build | 4.17.9+git.421.abde31ca5c2-150500.3.11.1 | SUSE-SU-2023:4046-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | sambappc64le | Advisory build | 4.17.9+git.421.abde31ca5c2-150500.3.11.1 | SUSE-SU-2023:4046-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | sambas390x | Advisory build | 4.17.9+git.421.abde31ca5c2-150500.3.11.1 | SUSE-SU-2023:4046-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | sambax86_64 | Advisory build | 4.17.9+git.421.abde31ca5c2-150500.3.11.1 | SUSE-SU-2023:4046-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sambaaarch64 | Advisory build | 4.19.1+git.312.c912b3d2ef6-1.1 | OPENSUSE-SU-2024:13332-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sambappc64le | Advisory build | 4.19.1+git.312.c912b3d2ef6-1.1 | OPENSUSE-SU-2024:13332-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sambas390x | Advisory build | 4.19.1+git.312.c912b3d2ef6-1.1 | OPENSUSE-SU-2024:13332-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sambax86_64 | Advisory build | 4.19.1+git.312.c912b3d2ef6-1.1 | OPENSUSE-SU-2024:13332-1 |
| Ubuntu | jammy | samba | Advisory build | 2:4.15.13+dfsg-0ubuntu1.5 | USN-6425-1 |
| Ubuntu | mantic | samba | Advisory build | 2:4.18.6+dfsg-1ubuntu2.1 | USN-6425-3 |
| AlmaLinux | 8 | ctdb | Advisory build | 4.18.6-2.el8_9.alma.1 | ALSA-2023:7467 |
| AlmaLinux | 8 | libnetapi | Advisory build | 4.18.6-2.el8_9.alma.1 | ALSA-2023:7467 |
| AlmaLinux | 8 | libnetapi-devel | Advisory build | 4.18.6-2.el8_9.alma.1 | ALSA-2023:7467 |
| AlmaLinux | 8 | libsmbclient | Advisory build | 4.18.6-2.el8_9.alma.1 | ALSA-2023:7467 |
| AlmaLinux | 8 | libsmbclient-devel | Advisory build | 4.18.6-2.el8_9.alma.1 | ALSA-2023:7467 |
| AlmaLinux | 8 | libwbclient | Advisory build | 4.18.6-2.el8_9.alma.1 | ALSA-2023:7467 |
| AlmaLinux | 8 | libwbclient-devel | Advisory build | 4.18.6-2.el8_9.alma.1 | ALSA-2023:7467 |
| AlmaLinux | 8 | python3-samba | Advisory build | 4.18.6-2.el8_9.alma.1 | ALSA-2023:7467 |
| AlmaLinux | 8 | python3-samba-dc | Advisory build | 4.18.6-2.el8_9.alma.1 | ALSA-2023:7467 |
| AlmaLinux | 8 | python3-samba-devel | Advisory build | 4.18.6-2.el8_9.alma.1 | ALSA-2023:7467 |
| AlmaLinux | 8 | python3-samba-test | Advisory build | 4.18.6-2.el8_9.alma.1 | ALSA-2023:7467 |
| AlmaLinux | 8 | samba-client | Advisory build | 4.18.6-2.el8_9.alma.1 | ALSA-2023:7467 |
| AlmaLinux | 8 | samba-client-libs | Advisory build | 4.18.6-2.el8_9.alma.1 | ALSA-2023:7467 |
| AlmaLinux | 8 | samba-common | Advisory build | 4.18.6-2.el8_9.alma.1 | ALSA-2023:7467 |
| AlmaLinux | 8 | samba-common-libs | Advisory build | 4.18.6-2.el8_9.alma.1 | ALSA-2023:7467 |
| AlmaLinux | 8 | samba-common-tools | Advisory build | 4.18.6-2.el8_9.alma.1 | ALSA-2023:7467 |
| AlmaLinux | 8 | samba-dc-libs | Advisory build | 4.18.6-2.el8_9.alma.1 | ALSA-2023:7467 |
| AlmaLinux | 8 | samba-dcerpc | Advisory build | 4.18.6-2.el8_9.alma.1 | ALSA-2023:7467 |
| AlmaLinux | 8 | samba-devel | Advisory build | 4.18.6-2.el8_9.alma.1 | ALSA-2023:7467 |
| AlmaLinux | 8 | samba-krb5-printing | Advisory build | 4.18.6-2.el8_9.alma.1 | ALSA-2023:7467 |
| AlmaLinux | 8 | samba-ldb-ldap-modules | Advisory build | 4.18.6-2.el8_9.alma.1 | ALSA-2023:7467 |
| AlmaLinux | 8 | samba-libs | Advisory build | 4.18.6-2.el8_9.alma.1 | ALSA-2023:7467 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 8 | 0:4.18.6-2.el8_9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | 0:4.18.6-2.el8_9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support | 0:4.15.5-13.el8_6 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | 0:4.17.5-4.el8_8 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:4.18.6-101.el9_3 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:4.18.6-101.el9_3 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:4.18.6-101.el9_3 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9.0 Extended Update Support | 0:4.15.5-111.el9_0 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9.0 Extended Update Support | 0:4.15.5-111.el9_0 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | 0:4.17.5-104.el9_2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | 0:4.17.5-104.el9_2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 | 0:4.15.5-13.el8_6 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Storage 3 | Default: unknown | redhat · cna |
Weaknesses
1- CWE-276 Incorrect Default Permissions
References
13- RHSA-2023:6209 https://access.redhat.com/errata/RHSA-2023:6209
- RHSA-2023:6744 https://access.redhat.com/errata/RHSA-2023:6744
- RHSA-2023:7371 https://access.redhat.com/errata/RHSA-2023:7371
- RHSA-2023:7408 https://access.redhat.com/errata/RHSA-2023:7408
- RHSA-2023:7464 https://access.redhat.com/errata/RHSA-2023:7464
- RHSA-2023:7467 https://access.redhat.com/errata/RHSA-2023:7467
- https://access.redhat.com/security/cve/CVE-2023-4091
- RHBZ#2241882 https://bugzilla.redhat.com/show_bug.cgi?id=2241882
- https://bugzilla.samba.org/show_bug.cgi?id=15439
- https://lists.debian.org/debian-lts-announce/2024/04/msg00015.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZUMVALLFFDFC53JZMUWA6HPD7HUGAP5I/
- https://security.netapp.com/advisory/ntap-20231124-0002/
- https://www.samba.org/samba/security/CVE-2023-4091.html
Provider assertions
3redhat · cna
Samba: smb clients can truncate files with read-only permissions
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 087ec1aa987549525064cf27b6026bacf4f4f2613e99debfea4b6c9e21912b2e
- Ingested
- 26 Nov 2026, 20:19:18 UTC
- Source record
- Official CVE record