CVE-2023-4091
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.
Description as published by the source, in English.
Key facts
- Published
- 2023-11-03
- Last modified
- 2026-11-07
- Assigned by
- secalert@redhat.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
1.2 %
higher than 64 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Fedoraproject | Fedora | 39 | Affected |
| Redhat | Enterprise Linux | 8.0 | Affected |
| Redhat | Enterprise Linux Eus | 9.0 | Affected |
| Redhat | Storage | 3.0 | Affected |
| Samba | Samba | < 4.17.12 | Affected |
| Samba | Samba | ≥ 4.18.0, < 4.18.8 | Affected |
| Samba | Samba | ≥ 4.19.0, < 4.19.1 | Affected |
Weakness type
-
CWE-276: Incorrect Default Permissions
During installation, installed file permissions are set to allow anyone to modify those files.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1083: File and Directory Discovery
- T1574.010: Services File Permissions Weakness
References
- https://access.redhat.com/errata/RHSA-2023:6209
- https://access.redhat.com/errata/RHSA-2023:6744
- https://access.redhat.com/security/cve/CVE-2023-4091
- https://bugzilla.redhat.com/show_bug.cgi?id=2241882
- https://bugzilla.samba.org/show_bug.cgi?id=15439
- https://www.samba.org/samba/security/CVE-2023-4091.html
- https://access.redhat.com/errata/RHSA-2023:6209
- https://access.redhat.com/errata/RHSA-2023:6744
- https://access.redhat.com/security/cve/CVE-2023-4091
- https://bugzilla.redhat.com/show_bug.cgi?id=2241882
- https://bugzilla.samba.org/show_bug.cgi?id=15439
- https://www.samba.org/samba/security/CVE-2023-4091.html
- https://access.redhat.com/errata/RHSA-2023:7371
- https://access.redhat.com/errata/RHSA-2023:7408
- https://access.redhat.com/errata/RHSA-2023:7464
- https://access.redhat.com/errata/RHSA-2023:7467
- https://access.redhat.com/errata/RHSA-2023:7371
- https://access.redhat.com/errata/RHSA-2023:7408
- https://access.redhat.com/errata/RHSA-2023:7464
- https://access.redhat.com/errata/RHSA-2023:7467
Related at Berigo
Articles
-
Three of the 22 UniFi flaws score a straight ten
Same product
2026-08-27
Ubiquiti has published a bulletin covering 22 vulnerabilities in UniFi OS and a range of UniFi applications and devices. Three are scored 10.0 under …
-
The AI agents built their own message board, and got out of the test environment
Same product
2026-08-07
OpenAI presented new technical details at Black Hat on 6 August 2026 about experimental agents that broke out of the test environment. According to t…
-
Cisco closes top-severity holes in SD-WAN and IOS XE, and there is no way around them
Same product
2026-08-06
Cisco published security updates for Catalyst SD-WAN, IOS XE and the Integrated Management Controller on 5 August 2026. Three of the SD-WAN vulnerabi…
-
Critical flaw in Rails Active Storage let uploaded files read secrets
Same product
2026-08-03
Ruby on Rails fixed a critical vulnerability in Active Storage on 29 July 2026. An attacker without login could upload a crafted file and have files …
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.