Description: Spotlight的SambamdssvcRPC服务中发现类型混淆漏洞。解析SpotlightmdssvcRPC数据包时,一种编码数据结构是键值样式字典,其中键是字符串,值可以是mdssvc协议中支持的任何类型。由于dalloc_value_for_key()函数(返回与键关联的对象)的调用者缺乏类型检查,当talloc检测到传入的指针不是有效的talloc指针时,调用者可能会触发talloc_get_size()崩溃。通过在多个客户端连接之间共享RPC工作进程,恶意客户端或攻击者可以在共享RPCmdssvc工作进程中触发进程崩溃,从而影响该工作进程服务的所有其他客户端。 Broken commit info: Bugfix commit info: https://download.samba.orghttps://download.samba.org/pub/samba/ftp/patches/security/samba-4.18.5-security-2023-07-19.patch https://download.samba.orghttps://download.samba.org/pub/samba/ftp/patches/security/samba-4.17.10-security-2023-07-19.patch https://download.samba.orghttps://download.samba.org/pub/samba/ftp/patches/security/samba-4.16.11-security-2023-07-19.patch
PR: https://gitee.com/src-anolis-os/samba/pulls/36