Advisories ยป MGASA-2023-0010

Updated samba packages fix security vulnerability

Publication date: 24 Jan 2023
Type: security
Affected Mageia releases : 8
CVE: CVE-2022-3437 , CVE-2022-3592 , CVE-2022-37966 , CVE-2022-37967 , CVE-2022-38023 , CVE-2022-42898 , CVE-2022-45141


There is a limited write heap buffer overflow in the GSSAPI unwrap_des()
and unwrap_des3() routines of Heimdal (included in Samba). Some SMB1 write
requests were not correctly range checked to ensure the client had sent
enough data to fulfill the write, allowing server memory contents to be
written into the file (or printer) instead of client supplied data. The
client cannot control the area of the server memory that is written to the
file (or printer) (CVE-2022-3437)

A symlink following vulnerability was found in Samba, where a user can
create a symbolic link that will make 'smbd' escape the configured share
path. This flaw allows a remote user with access to the exported part of
the file system under a share via SMB1 unix extensions or NFS to create
symlinks to files outside the 'smbd' configured share path and gain access
to another restricted server's filesystem. (CVE-2022-3592)

Active directory elevation of privilege vulnerability (CVE-2022-37966)

Active directory elevation of privilege vulnerability  (CVE-2022-37967)

A flaw was found in samba. The Netlogon RPC implementations may use the
rc4-hmac encryption algorithm, which is considered weak and should be
avoided even if the client supports more modern encryption types. This
issue could allow an attacker who knows the plain text content
communicated between the samba client and server to craft data with the
same MD5 calculation and replace it without being detected.

Active directory integer overflow (CVE-2022-42898)

Active directory can be forced to issue weak rc4-hmac encrypted tickets