Security mailing lists by PureSourceCode

CVE-2023-4091

MEDIUM 6.5CVSS 3.1

Samba: 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD samba samba
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
< 4.17.12 4.17.12
NVD samba samba
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
>= 4.18.0, < 4.18.8 4.18.8
NVD samba samba
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
>= 4.19.0, < 4.19.1 4.19.1
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
= 39
NVD redhat storage
cpe:2.3:a:redhat:storage:3.0:*:*:*:*:*:*:*
= 3.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD redhat enterprise_linux_eus
cpe:2.3:o:redhat:enterprise_linux_eus:9.0:*:*:*:*:*:*:*
= 9.0
CVE List https://access.redhat.com/downloads/content/package-browser/ samba
cpe:/a:redhat:enterprise_linux:8::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ samba
cpe:/a:redhat:rhel_eus:8.6::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ samba
cpe:/a:redhat:rhel_eus:8.8::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ samba
cpe:/a:redhat:enterprise_linux:9::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ samba
cpe:/a:redhat:rhel_eus:9.0::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ samba
cpe:/a:redhat:rhel_eus:9.2::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ samba
cpe:/a:redhat:rhel_eus:8.6::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ samba
cpe:/o:redhat:rhel_els:6
CVE List https://access.redhat.com/downloads/content/package-browser/ samba4
cpe:/o:redhat:rhel_els:6
CVE List https://access.redhat.com/downloads/content/package-browser/ samba
cpe:/o:redhat:rhel_els:7
CVE List https://access.redhat.com/downloads/content/package-browser/ samba
cpe:/a:redhat:storage:3

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.