Incorrect Default Permissions Affecting samba-krb5-printing package, versions <0:4.18.6-2.el8_9
Threat Intelligence
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 ID SNYK-CENTOS8-SAMBAKRB5PRINTING-5959443
- published 11 Oct 2023
- disclosed 10 Oct 2023
Introduced: 10 Oct 2023
CVE-2023-4091 Open this link in a new tabHow to fix?
Upgrade Centos:8 samba-krb5-printing to version 0:4.18.6-2.el8_9 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream samba-krb5-printing package and not the samba-krb5-printing package as distributed by Centos.
See How to fix? for Centos:8 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.
References
- https://access.redhat.com/security/cve/CVE-2023-4091
- https://bugzilla.redhat.com/show_bug.cgi?id=2241882
- https://bugzilla.samba.org/show_bug.cgi?id=15439
- https://www.samba.org/samba/security/CVE-2023-4091.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZUMVALLFFDFC53JZMUWA6HPD7HUGAP5I/
- https://access.redhat.com/errata/RHSA-2023:7467
- https://security.netapp.com/advisory/ntap-20231124-0002/
- https://lists.debian.org/debian-lts-announce/2024/04/msg00015.html