CVE-2023-34241
概要

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.

公表日 2023年6月23日8:15
登録日 2023年6月23日10:00
最終更新日 2024年11月21日17:06
CVSS3.1 : HIGH
スコア 7.1
ベクター CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
攻撃元区分(AV) ローカル
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR)
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I) なし
可用性への影響(A)
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:openprinting:cups:*:*:*:*:*:*:*:* 2.2.0 2.4.6
構成2 以上 以下 より上 未満
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
構成3 以上 以下 より上 未満
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
構成4 以上 以下 より上 未満
cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* 13.0 13.5
cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* 11.7.9
cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* 12.0.0 12.6.8
関連情報、対策とツール
共通脆弱性一覧

JVN脆弱性情報
OpenPrinting の CUPS 等複数ベンダの製品における解放済みメモリの使用に関する脆弱性
タイトル OpenPrinting の CUPS 等複数ベンダの製品における解放済みメモリの使用に関する脆弱性
概要

OpenPrinting の CUPS 等複数ベンダの製品には、解放済みメモリの使用に関する脆弱性が存在します。

想定される影響 情報を取得される、およびサービス運用妨害 (DoS) 状態にされる可能性があります。 
対策

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

公表日 2023年6月22日0:00
登録日 2024年1月30日12:11
最終更新日 2024年1月30日12:11
影響を受けるシステム
OpenPrinting
CUPS 2.2.0 以上 2.4.6 未満
アップル
macOS 11.7.9 未満
macOS 12.0.0 以上 12.6.8 未満
macOS 13.0 以上 13.5 未満
Debian
Debian GNU/Linux 10.0
Fedora Project
Fedora 37
Fedora 38
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
変更履歴
No 変更内容 変更日
1 [2024年01月30日]
  掲載
2024年1月30日12:11