Vulnerability in Samba

CVE-2023-4091

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 · last modified .

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.

EPSS exploit prediction

EPSS: 0.013 (70.7th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 71st percentile — 70.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2023-4091: held from 0.012 to 0.013.

EPSS over last 30 days · oldest: 0.012 · newest: 0.013 · change: +0.001

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2023-4091?
CVE-2023-4091 is a medium-severity vulnerability in Samba, classified under Incorrect Default Permissions. CVSS score: 6.5/10. Published 2023-11-03.
How severe is CVE-2023-4091?
Medium severity. CVSS v3 base score is 6.5 out of 10.
Is CVE-2023-4091 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.