CVE-2023-34241 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 10, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| openprinting cups | >= 2.2.0, < 2.4.6 |
CPE
Remediation
| |
| fedoraproject fedora | 37 38 |
CPE
Remediation
| |
| debian debian linux | 10.0 |
CPE
Remediation
| |
| apple macos | < 11.7.9 >= 12.0.0, < 12.6.8 >= 13.0, < 13.5 |
CPE
Remediation
| |
Change History
12 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 17, 2023 | Modified Analysis | [email protected] |
| Jul 28, 2023 | CVE Modified | [email protected] |
| Jul 14, 2023 | CVE Modified | [email protected] |
| Jun 30, 2023 | CVE Modified | [email protected] |
| Jun 30, 2023 | Initial Analysis | [email protected] |
| Jun 30, 2023 | CVE Modified | [email protected] |
| Jun 26, 2023 | CVE Modified | [email protected] |
| Jun 23, 2023 | CVE Modified | [email protected] |