Incorrect Default Permissions Affecting samba-krb5-printing-debuginfo package, versions <2:4.17.12-1.amzn2023.0.1


Severity

Recommended
high

Based on Amazon Linux 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-AMZN2023-SAMBAKRB5PRINTINGDEBUGINFO-6045676
  • published4 Nov 2023
  • disclosed3 Nov 2023

Introduced: 3 Nov 2023

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

How to fix?

Upgrade Amazon-Linux:2023 samba-krb5-printing-debuginfo to version 2:4.17.12-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2023-416.

NVD Description

Note: Versions mentioned in the description apply only to the upstream samba-krb5-printing-debuginfo package and not the samba-krb5-printing-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 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