CVE-2023-4091Samba
Medium 6.5
Follow: this CVE · Samba · Samba We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 73
- Auth required
- Yes
- Published
- Nov 3, 2023
- Updated
- Nov 26, 2026
- Category
- Server · Linux
- Weakness (CWE)
- CWE-276
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Samba.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| samba | samba | < 4.17.12 |
| samba | samba | ≥ 4.18.0 < 4.18.8 |
| samba | samba | ≥ 4.19.0 < 4.19.1 |
| fedoraproject | fedora | 39 |
| redhat | storage | 3.0 |
| redhat | enterprise_linux | 8.0 |
| redhat | enterprise_linux_eus | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com Third Party Advisory
- bugzilla.redhat.com Issue Tracking
- bugzilla.samba.org Issue Tracking
- www.samba.org Vendor Advisory
- lists.debian.org
- lists.fedoraproject.org
- security.netapp.com