Incorrect Default Permissions Affecting samba-client package, versions <4.17.9+git.421.abde31ca5c2-150500.3.11.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.15% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Default Permissions vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-SLES155-SAMBACLIENT-5961201
  • published12 Oct 2023
  • disclosed11 Oct 2023

Introduced: 11 Oct 2023

CVE-2023-4091  (opens in a new tab)
CWE-276  (opens in a new tab)

How to fix?

Upgrade SLES:15.5 samba-client to version 4.17.9+git.421.abde31ca5c2-150500.3.11.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream samba-client package and not the samba-client package as distributed by SLES. See How to fix? for SLES:15.5 relevant fixed versions and status.

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.

CVSS Scores

version 3.1