CVE-2023-4091
MEDIUM 6.5CVSS 3.1Samba: smb clients can truncate files with read-only permissions
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.
- Published
- 3 Nov 2023
- Last modified
- 26 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-276
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| CVE List | redhat | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | samba | sambacpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* |
< 4.17.12 | 4.17.12 |
| NVD | samba | sambacpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* |
>= 4.18.0, < 4.18.8 | 4.18.8 |
| NVD | samba | sambacpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* |
>= 4.19.0, < 4.19.1 | 4.19.1 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* |
= 39 | |
| NVD | redhat | storagecpe:2.3:a:redhat:storage:3.0:*:*:*:*:*:*:* |
= 3.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | redhat | enterprise_linux_euscpe:2.3:o:redhat:enterprise_linux_eus:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/a:redhat:enterprise_linux:8::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/a:redhat:rhel_eus:8.6::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/a:redhat:rhel_eus:8.8::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/a:redhat:enterprise_linux:9::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/a:redhat:rhel_eus:9.0::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/a:redhat:rhel_eus:9.2::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/a:redhat:rhel_eus:8.6::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/o:redhat:rhel_els:6 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | samba4cpe:/o:redhat:rhel_els:6 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/o:redhat:rhel_els:7 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/a:redhat:storage:3 |
References
- https://access.redhat.com/errata/RHSA-2023:6209 · Third Party Advisory, vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2023:6744 · Third Party Advisory, vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2023:7371 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2023:7408 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2023:7464 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2023:7467 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-4091 · Third Party Advisory, vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2241882 · Issue Tracking, issue-tracking, x_refsource_REDHAT
- https://bugzilla.samba.org/show_bug.cgi?id=15439 · Issue Tracking
- https://www.samba.org/samba/security/CVE-2023-4091.html · Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2024/04/msg00015.html · x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZUMVALLFFDFC53JZMUWA6HPD7HUGAP5I/ · x_transferred
- https://security.netapp.com/advisory/ntap-20231124-0002/ · x_transferred
History
- 26 Nov 2026 20:21 UTC · NVD: updated (other details)
- 26 Nov 2026 20:21 UTC · CVE List: first stored (published 3 Nov 2023)
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 3 Nov 2023)