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.

INFO

Published Date :

June 22, 2023, 11:15 p.m.

Last Modified :

Nov. 21, 2024, 8:06 a.m.

Remotely Exploitable :

No

Impact Score :

5.2

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2023-34241 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2023-34241 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Fedoraproject fedora
1 Debian debian_linux
1 Apple macos
1 Openprinting cups
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-34241.

URL 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/26/1 Mailing List Third Party Advisory
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/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.fedoraproject.org/archives/list/[email protected]/message/7I7DWGYGEMBNLZF5UQBMF3SONR37YUBN/ Mailing List
https://lists.fedoraproject.org/archives/list/[email protected]/message/TBIYKDS3UG3W4Z7YOHTR2AWFNBRYPNYY/ Mailing List 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/HT213845 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
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/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.fedoraproject.org/archives/list/[email protected]/message/7I7DWGYGEMBNLZF5UQBMF3SONR37YUBN/ Mailing List
https://lists.fedoraproject.org/archives/list/[email protected]/message/TBIYKDS3UG3W4Z7YOHTR2AWFNBRYPNYY/ Mailing List 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/HT213845 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Retrieve CVSS scores for each CVE-ID listed in Apple's security content documentation for OS updates.

Python

Updated: 2 months, 4 weeks ago
2 stars 0 fork 0 watcher
Born at : Aug. 9, 2023, 6:40 p.m. This repo has been linked 35 different CVEs too.

A centralized repository of standalone security patches for open source libraries.

appsec backport cve devsecops fix hotfix open-source patch protection remediation seal security update upgrade vulnerability

Updated: 5 months, 3 weeks ago
182 stars 0 fork 0 watcher
Born at : July 30, 2023, 4:46 p.m. This repo has been linked 265 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-34241 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-34241 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2023/06/23/10
    Added Reference http://www.openwall.com/lists/oss-security/2023/06/26/1
    Added Reference https://github.com/OpenPrinting/cups/commit/9809947a959e18409dcf562a3466ef246cb90cb2
    Added Reference https://github.com/OpenPrinting/cups/releases/tag/v2.4.6
    Added Reference https://github.com/OpenPrinting/cups/security/advisories/GHSA-qjgh-5hcq-5f25
    Added Reference https://lists.debian.org/debian-lts-announce/2023/06/msg00038.html
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/7I7DWGYGEMBNLZF5UQBMF3SONR37YUBN/
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/TBIYKDS3UG3W4Z7YOHTR2AWFNBRYPNYY/
    Added Reference https://support.apple.com/kb/HT213843
    Added Reference https://support.apple.com/kb/HT213844
    Added Reference https://support.apple.com/kb/HT213845
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Nov. 17, 2023

    Action Type Old Value New Value
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2023/06/msg00038.html No Types Assigned https://lists.debian.org/debian-lts-announce/2023/06/msg00038.html Mailing List
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/7I7DWGYGEMBNLZF5UQBMF3SONR37YUBN/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/7I7DWGYGEMBNLZF5UQBMF3SONR37YUBN/ Mailing List
    Changed Reference Type https://support.apple.com/kb/HT213843 No Types Assigned https://support.apple.com/kb/HT213843 Third Party Advisory
    Changed Reference Type https://support.apple.com/kb/HT213844 No Types Assigned https://support.apple.com/kb/HT213844 Third Party Advisory
    Changed Reference Type https://support.apple.com/kb/HT213845 No Types Assigned https://support.apple.com/kb/HT213845 Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* OR *cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* versions up to (excluding) 11.7.9 *cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* versions from (including) 12.0.0 up to (excluding) 12.6.8 *cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* versions from (including) 13.0 up to (excluding) 13.5
  • CVE Modified by [email protected]

    Jul. 28, 2023

    Action Type Old Value New Value
    Added Reference https://support.apple.com/kb/HT213843 [No Types Assigned]
    Added Reference https://support.apple.com/kb/HT213844 [No Types Assigned]
    Added Reference https://support.apple.com/kb/HT213845 [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 14, 2023

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/7I7DWGYGEMBNLZF5UQBMF3SONR37YUBN/ [No Types Assigned]
  • CVE Modified by [email protected]

    Jun. 30, 2023

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2023/06/msg00038.html [No Types Assigned]
  • Initial Analysis by [email protected]

    Jun. 30, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
    Changed Reference Type http://www.openwall.com/lists/oss-security/2023/06/23/10 No Types Assigned http://www.openwall.com/lists/oss-security/2023/06/23/10 Mailing List, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2023/06/26/1 No Types Assigned http://www.openwall.com/lists/oss-security/2023/06/26/1 Mailing List, Third Party Advisory
    Changed Reference Type https://github.com/OpenPrinting/cups/commit/9809947a959e18409dcf562a3466ef246cb90cb2 No Types Assigned https://github.com/OpenPrinting/cups/commit/9809947a959e18409dcf562a3466ef246cb90cb2 Patch
    Changed Reference Type https://github.com/OpenPrinting/cups/releases/tag/v2.4.6 No Types Assigned https://github.com/OpenPrinting/cups/releases/tag/v2.4.6 Release Notes
    Changed Reference Type https://github.com/OpenPrinting/cups/security/advisories/GHSA-qjgh-5hcq-5f25 No Types Assigned https://github.com/OpenPrinting/cups/security/advisories/GHSA-qjgh-5hcq-5f25 Exploit, Patch, Vendor Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/TBIYKDS3UG3W4Z7YOHTR2AWFNBRYPNYY/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/TBIYKDS3UG3W4Z7YOHTR2AWFNBRYPNYY/ Mailing List, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:openprinting:cups:*:*:*:*:*:*:*:* versions from (including) 2.2.0 up to (excluding) 2.4.6
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jun. 30, 2023

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/TBIYKDS3UG3W4Z7YOHTR2AWFNBRYPNYY/ [No Types Assigned]
  • CVE Modified by [email protected]

    Jun. 26, 2023

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2023/06/26/1 [No Types Assigned]
  • CVE Modified by [email protected]

    Jun. 23, 2023

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2023/06/23/10 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-34241 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-34241 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.05 }} 0.00%

score

0.17946

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability