Vulnerabilities

CVE-2023-4091

Medium 6.5 CVSS 3.1

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

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 discovery
  • T1574.010: Services File Permissions Weakness stealth, execution

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities