Summary
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2023-4091: SMB client can truncate files to 0 bytes by opening files with OVERWRITE disposition when using the acl_xattr Samba VFS module with the smb.conf setting "acl_xattr:ignore system acls = yes" CVE-2022-2127: When doing NTLM authentication, the client sends replies to cryptographic challenges back to the server. These replies have variable length. Winbind did not properly bounds-check the lan manager response length, which despite the lan manager version no longer being used is still part of the protocol. If the system is running Samba's ntlm_auth as authentication backend for services like Squid (or a very unusual configuration with FreeRADIUS), the vulnarebility is remotely exploitable If not so configured, or to exploit this vulnerability locally, the user must have access to the privileged winbindd UNIX domain socket (a subdirectory with name 'winbindd_privileged' under "state directory", as set in the smb.conf). This access is normally only given so special system services like Squid or FreeRADIUS, that use this feature.
Fixed packages 28
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2 | ctdb | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | ctdb-tests | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | libsmbclient | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | libsmbclient-devel | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | libwbclient | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | libwbclient-devel | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | samba | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | samba-client | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | samba-client-libs | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | samba-common | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | samba-common-libs | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | samba-common-tools | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | samba-dc | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | samba-dc-libs | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | samba-debuginfo | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | samba-devel | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | samba-krb5-printing | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | samba-libs | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | samba-pidl | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | samba-python | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | samba-python-test | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | samba-test | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | samba-test-libs | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | samba-vfs-glusterfs | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | samba-winbind | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | samba-winbind-clients | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | samba-winbind-krb5-locator | 0:4.10.16-24.amzn2.0.4 |
| Amazon Linux · 2 | samba-winbind-modules | 0:4.10.16-24.amzn2.0.4 |
Vulnerabilities 2
-
Medium 6.5
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 …
-
Medium 5.9
Samba: out-of-bounds read in winbind auth_crap
An out-of-bounds read vulnerability was found in Samba due to insufficient length checks in winbindd_pam_auth_crap.c. When performing NTLM authentication, the client replies to cryptographic challenges back to the server. These replies have variable lengths, …