OpenPrinting CUPS 资源管理错误漏洞(CVE-2023-34241)

admin 2023-11-29 22:59:37 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 OpenPrinting CUPS 资源管理错误漏洞(CVE-2023-34241)

CVE编号

CVE-2023-34241

利用情况

暂无

补丁情况

官方补丁

披露时间

2023-06-23
漏洞描述
OpenPrinting CUPS is a standards-based, open source printing system for Linux and other Unix-like operating systems. Starting in version 2.0.0 and prior to version 2.4.6, CUPS logs data of free memory to the logging service AFTER the connection has been closed, when it should have logged the data right before. This is a use-after-free bug that impacts the entire cupsd process. The exact cause of this issue is the function `httpClose(con->http)` being called in `scheduler/client.c`. The problem is that httpClose always, provided its argument is not null, frees the pointer at the end of the call, only for cupsdLogClient to pass the pointer to httpGetHostname. This issue happens in function `cupsdAcceptClient` if LogLevel is warn or higher and in two scenarios: there is a double-lookup for the IP Address (HostNameLookups Double is set in `cupsd.conf`) which fails to resolve, or if CUPS is compiled with TCP wrappers and the connection is refused by rules from `/etc/hosts.allow` and `/etc/hosts.deny`. Version 2.4.6 has a patch for this issue.
解决建议
"将组件 cups 升级至 2.4.6 及以上版本"
参考链接
http://www.openwall.com/lists/oss-security/2023/06/23/10
http://www.openwall.com/lists/oss-security/2023/06/26/1
https://github.com/OpenPrinting/cups/commit/9809947a959e18409dcf562a3466ef246cb90cb2
https://github.com/OpenPrinting/cups/releases/tag/v2.4.6
https://github.com/OpenPrinting/cups/security/advisories/GHSA-qjgh-5hcq-5f25
https://lists.debian.org/debian-lts-announce/2023/06/msg00038.html
https://lists.fedoraproject.org/archives/list/[email protected]...
https://lists.fedoraproject.org/archives/list/[email protected]...
https://support.apple.com/kb/HT213843
https://support.apple.com/kb/HT213844
https://support.apple.com/kb/HT213845
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 openprinting cups * From (including) 2.2.0 Up to (excluding) 2.4.6
运行在以下环境
系统 alpine_3.15 cups * Up to (excluding) 2.3.3-r8
运行在以下环境
系统 alpine_3.16 cups * Up to (excluding) 2.4.2-r2
运行在以下环境
系统 alpine_3.17 cups * Up to (excluding) 2.4.2-r3
运行在以下环境
系统 amazon_2 cups * Up to (excluding) 1.6.3-51.amzn2.0.1
运行在以下环境
系统 amazon_2023 cups * Up to (excluding) 2.3.3op2-18.amzn2023.0.5
运行在以下环境
系统 amazon_AMI cups * Up to (excluding) 1.4.2-67.22.amzn1
运行在以下环境
系统 debian_10 cups * Up to (excluding) 2.2.10-6+deb10u8
运行在以下环境
系统 debian_11 cups * Up to (excluding) 2.3.3op2-3+deb11u3
运行在以下环境
系统 debian_12 cups * Up to (excluding) 2.4.2-3+deb12u1
运行在以下环境
系统 debian_sid cups * Up to (excluding) 2.4.2-5
运行在以下环境
系统 fedoraproject fedora 38 -
运行在以下环境
系统 fedora_37 cups-client-debuginfo * Up to (excluding) 2.4.6-1.fc37
运行在以下环境
系统 fedora_38 cups-client-debuginfo * Up to (excluding) 2.4.6-1.fc38
运行在以下环境
系统 opensuse_5.3 cups-config * Up to (excluding) 2.2.7-150000.3.46.1
运行在以下环境
系统 opensuse_Leap_15.4 libcupsppdc1 * Up to (excluding) 2.2.7-150000.3.46.1
运行在以下环境
系统 opensuse_Leap_15.5 libcupsppdc1 * Up to (excluding) 2.2.7-150000.3.46.1
运行在以下环境
系统 suse_12_SP5 cups-client * Up to (excluding) 1.7.5-20.46.1
运行在以下环境
系统 ubuntu_20.04 cups * Up to (excluding) 2.3.1-9ubuntu1.4
运行在以下环境
系统 ubuntu_22.04 cups * Up to (excluding) 2.4.1op1-1ubuntu4.4
运行在以下环境
系统 ubuntu_22.10 cups * Up to (excluding) 2.4.2-1ubuntu2.2
运行在以下环境
系统 unionos_d cups * Up to (excluding) 2.3.0.5-deepin1
运行在以下环境
系统 unionos_e cups * Up to (excluding) cups-2.2.13-17.up4.uel20
阿里云评分 5.8
  • 攻击路径 本地
  • 攻击复杂度 复杂
  • 权限要求 普通权限
  • 影响范围 越权影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-416 释放后使用
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0