安全公告详情

NS-SA-2023-0080

2023-05-30 09:08:33

简介

important: mokutil/samba security update

严重级别

important

主题

An update for mokutil/samba is now available for NewStart CGSL MAIN 6.06.
NewStart Security has rated this update as having a security impact of important. A Common Vunlnerability Scoring System(CVSS)base score, which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.

详细描述

mokutil: mokutil provides a tool to manage keys for Secure Boot through the MoK ("Machine's Own Keys") mechanism.
samba: The libsmbclient contains the SMB client library from the Samba suite.


Security Fix(es):
mokutil: A flaw was found in grub2 when handling JPEG images. This flaw allows an attacker to craft a malicious JPEG image, which leads to an underflow on a grub2's internal pointer, leading to a heap-based out-of-bounds write. Secure-boot mechanisms circumvention and arbitrary code execution may also be achievable.(CVE-2021-3697)
mokutil: A flaw was found in grub2 when handling IPv4 packets. This flaw allows an attacker to craft a malicious packet, triggering an integer underflow in grub code. Consequently, the memory allocation for handling the packet data may be smaller than the size needed. This issue causes an out-of-bands write during packet handling, compromising data integrity, confidentiality issues, a denial of service, and remote code execution.(CVE-2022-28733)
mokutil: A flaw was found in shim during the handling of EFI executables. A crafted EFI image can lead to an overflow in shim. This flaw allows an attacker to perform an out-of-bounds write in memory. A successful attack can lead to data integrity, confidentiality issues, and arbitrary code execution.(CVE-2022-28737)
mokutil: A flaw was found in grub 2, where a crafted 16-bit grayscale PNG image may lead to an out-of-bounds write. This flaw allows an attacker to corrupt the data on the heap portion of the grub2's memory, leading to possible code execution and the circumvention of the secure boot mechanism.(CVE-2021-3695)
mokutil: A use-after-free vulnerability was found on grub2's chainloader command. This flaw allows an attacker to gain access to restricted data or cause arbitrary code execution if they can establish control from grub's memory allocation pattern.(CVE-2022-28736)
mokutil: A flaw was found in grub2. The shim_lock verifier from grub2 allows non-kernel files to be loaded when secure boot is enabled, giving the possibility of unverified code or modules to be loaded when it should not be allowed.(CVE-2022-28735)
mokutil: A flaw was found in grub2 when handling a PNG image header. When decoding the data contained in the Huffman table at the PNG file header, an out-of-bounds write may happen on grub's heap.(CVE-2021-3696)
mokutil: A flaw was found in grub2 when handling split HTTP headers. While processing a split HTTP header, grub2 wrongly advances its control pointer to the internal buffer by one position, which can lead to an out-of-bounds write. This flaw allows an attacker to leverage this issue by crafting a malicious set of HTTP packages making grub2 corrupt its internal memory metadata structure. This leads to data integrity and confidentiality issues or forces grub to crash, resulting in a denial of service attack.(CVE-2022-28734)
mokutil: bugfix
samba: All versions of Samba prior to 4.15.5 are vulnerable to a malicious client using a server symlink to determine if a file or directory exists in an area of the server file system not exported under the share definition. SMB1 with unix extensions has to be enabled in order for this attack to succeed.(CVE-2021-44141)
samba: A flaw was found 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 written to the file (or printer).(CVE-2022-32742)
samba: A flaw was found in the way Samba handled file/directory metadata. This flaw allows an authenticated attacker with permissions to read or modify share metadata, to perform this operation outside of the share.(CVE-2021-20316)
samba: bugfix


Solution:
For details on how to apply this update, which includes the changes described in this advisory, refer to:
http://security.gd-linux.com/how_to_apply_patch.html
Remember the build tag is 6.06.02B5.

影响组件

  • mokutil
  • samba

影响产品

  • CGSL MAIN 6.06

更新包

{"fix":[{"product":"CGSL MAIN 6.06","pkgs":[{"binary":["mokutil-0.3.0-11.0.3.zncgsl6_6.1.x86_64.rpm"],"source":"mokutil-0.3.0-11.0.3.zncgsl6_6.1.src.rpm"},{"binary":["libsmbclient-4.15.5-10.0.1.zncgsl6_6.x86_64.rpm","libwbclient-4.15.5-10.0.1.zncgsl6_6.x86_64.rpm","samba-client-4.15.5-10.0.1.zncgsl6_6.x86_64.rpm","samba-client-libs-4.15.5-10.0.1.zncgsl6_6.x86_64.rpm","samba-common-4.15.5-10.0.1.zncgsl6_6.noarch.rpm","samba-common-libs-4.15.5-10.0.1.zncgsl6_6.x86_64.rpm","samba-libs-4.15.5-10.0.1.zncgsl6_6.x86_64.rpm","samba-winbind-modules-4.15.5-10.0.1.zncgsl6_6.x86_64.rpm"],"source":"samba-4.15.5-10.0.1.zncgsl6_6.src.rpm"}]}]}

CVE

参考