NVD Vulnerability Detail
Search Exploit, PoC
CVE-2023-34241
Summary

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.

Publication Date June 23, 2023, 8:15 a.m.
Registration Date June 23, 2023, 10 a.m.
Last Update Nov. 21, 2024, 5:06 p.m.
CVSS3.1 : HIGH
スコア 7.1
Vector 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)
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:openprinting:cups:*:*:*:*:*:*:*:* 2.2.0 2.4.6
Configuration2 or higher or less more than less than
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
Configuration3 or higher or less more than less than
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
Configuration4 or higher or less more than less than
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
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
OpenPrinting の CUPS 等複数ベンダの製品における解放済みメモリの使用に関する脆弱性
Title OpenPrinting の CUPS 等複数ベンダの製品における解放済みメモリの使用に関する脆弱性
Summary

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

Possible impacts 情報を取得される、およびサービス運用妨害 (DoS) 状態にされる可能性があります。 
Solution

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

Publication Date June 22, 2023, midnight
Registration Date Jan. 30, 2024, 12:11 p.m.
Last Update Jan. 30, 2024, 12:11 p.m.
Affected System
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 (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2024年01月30日]
  掲載
Jan. 30, 2024, 12:11 p.m.