Incorrect Default Permissions Affecting samba-libs package, versions <0:4.18.6-101.el9_3


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
1.17% (64th 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 IDSNYK-CENTOS9-SAMBALIBS-5959197
  • published11 Oct 2023
  • disclosed10 Oct 2023

Introduced: 10 Oct 2023

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

How to fix?

Upgrade Centos:9 samba-libs to version 0:4.18.6-101.el9_3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream samba-libs package and not the samba-libs package as distributed by Centos. See How to fix? for Centos:9 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 Base Scores

version 3.1