U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2023-34241 Detail

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

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://www.openwall.com/lists/oss-security/2023/06/23/10 Mailing List  Third Party Advisory 
http://www.openwall.com/lists/oss-security/2023/06/23/10 Mailing List  Third Party Advisory 
http://www.openwall.com/lists/oss-security/2023/06/26/1 Mailing List  Third Party Advisory 
http://www.openwall.com/lists/oss-security/2023/06/26/1 Mailing List  Third Party Advisory 
https://github.com/OpenPrinting/cups/commit/9809947a959e18409dcf562a3466ef246cb90cb2 Patch 
https://github.com/OpenPrinting/cups/commit/9809947a959e18409dcf562a3466ef246cb90cb2 Patch 
https://github.com/OpenPrinting/cups/releases/tag/v2.4.6 Release Notes 
https://github.com/OpenPrinting/cups/releases/tag/v2.4.6 Release Notes 
https://github.com/OpenPrinting/cups/security/advisories/GHSA-qjgh-5hcq-5f25 Exploit  Patch  Vendor Advisory 
https://github.com/OpenPrinting/cups/security/advisories/GHSA-qjgh-5hcq-5f25 Exploit  Patch  Vendor Advisory 
https://lists.debian.org/debian-lts-announce/2023/06/msg00038.html Mailing List 
https://lists.debian.org/debian-lts-announce/2023/06/msg00038.html Mailing List 
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7I7DWGYGEMBNLZF5UQBMF3SONR37YUBN/ Mailing List 
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7I7DWGYGEMBNLZF5UQBMF3SONR37YUBN/ Mailing List 
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TBIYKDS3UG3W4Z7YOHTR2AWFNBRYPNYY/ Mailing List  Third Party Advisory 
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TBIYKDS3UG3W4Z7YOHTR2AWFNBRYPNYY/ Mailing List  Third Party Advisory 
https://support.apple.com/kb/HT213843 Third Party Advisory 
https://support.apple.com/kb/HT213843 Third Party Advisory 
https://support.apple.com/kb/HT213844 Third Party Advisory 
https://support.apple.com/kb/HT213844 Third Party Advisory 
https://support.apple.com/kb/HT213845 Third Party Advisory 
https://support.apple.com/kb/HT213845 Third Party Advisory 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-416 Use After Free GitHub, Inc.  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

10 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2023-34241
NVD Published Date:
06/22/2023
NVD Last Modified:
11/21/2024
Source:
GitHub, Inc.