{"answers":{"affected":"It affects 4 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-34241 exists.","fix":"Apply the vendor's patch.","what":"CVE-2023-34241 is a medium-severity use after free vulnerability in Apple Macos, published on 22 Jun 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-34241 and fix it if it is affected.\n\nWhat it is: CVE-2023-34241 is a medium-severity use after free vulnerability in Apple Macos, published on 22 Jun 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-34241 exists.\n\nAffected product: Apple Macos. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-34241/ (Markdown: https://insights.sbomify.com/CVE-2023-34241/index.md)","id":"CVE-2023-34241","markdown":"https://insights.sbomify.com/CVE-2023-34241/index.md","name":"CVE-2023-34241","record":{"aliases":["ALPINE-CVE-2023-34241","AZL-37074","AZL-37099","CLSA-2023-1689008452","CLSA-2023-1689008977","CLSA-2023-1689258794","CLSA-2023-1691082968","CLSA-2024-1733245575","DEBIAN-CVE-2023-34241","DLA-3476-1","GHSA-qjgh-5hcq-5f25","MGASA-2023-0223","OESA-2023-1410","SUSE-SU-2023:2616-1","UBUNTU-CVE-2023-34241","USN-6184-1","USN-6184-2","openSUSE-SU-2024:13017-1"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["denial_of_service","code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"CUPS printing system","requires_auth":"none","summary":"A use-after-free in CUPS allows attackers to crash the service or potentially execute code when specific logging and network configurations are enabled.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"macos","vendor":"apple"},{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"cups","vendor":"openprinting"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"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.\n\nThe exact cause of this issue is the function `httpClose(con-\u003ehttp)` 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`.\n\nVersion 2.4.6 has a patch for this issue.","ecosystems":["SUSE:Enterprise Storage 7","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Module for Basesystem 15 SP5","SUSE:Linux Enterprise Module for Desktop Applications 15 SP5","SUSE:Linux Enterprise Module for Development Tools 15 SP4","SUSE:Linux Enterprise Module for Development Tools 15 SP5","SUSE:Linux Enterprise Real Time 15 SP3","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Manager Proxy 4.2","SUSE:Manager Server 4.2","openSUSE:Leap 15.4","openSUSE:Leap 15.5","openSUSE:Leap Micro 5.3","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"CUPS vulnerable to use-after-free in cupsdAcceptClient()","id":"CVE-2023-34241","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apple:macos","products":["apple:macos","debian:debian_linux","fedoraproject:fedora"],"type":"use_after_free","year":"2023"},"n_packages":27,"n_references":11,"next":{"headline":"Cilium vulnerable to information leakage via incorrect ReferenceGrant handling","id":"CVE-2023-34242"},"packages":[{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["2.2.7-150000.3.46.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2023:2616-1"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["2.2.7-150000.3.46.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2023:2616-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["2.2.7-150000.3.46.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2023:2616-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["2.2.7-150000.3.46.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2023:2616-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","fixed":["2.2.7-150000.3.46.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOS","source":"SUSE-SU-2023:2616-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["2.2.7-150000.3.46.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2023:2616-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["2.2.7-150000.3.46.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2023:2616-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["2.2.7-150000.3.46.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2023:2616-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["2.2.7-150000.3.46.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2023:2616-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","fixed":["2.2.7-150000.3.46.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4","source":"SUSE-SU-2023:2616-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP5","fixed":["2.2.7-150000.3.46.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5","source":"SUSE-SU-2023:2616-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP5","fixed":["2.2.7-150000.3.46.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP5","source":"SUSE-SU-2023:2616-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP4","fixed":["2.2.7-150000.3.46.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP4","source":"SUSE-SU-2023:2616-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP5","fixed":["2.2.7-150000.3.46.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP5","source":"SUSE-SU-2023:2616-1"},{"ecosystem":"SUSE:Linux Enterprise Real Time 15 SP3","fixed":["2.2.7-150000.3.46.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP3","source":"SUSE-SU-2023:2616-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["2.2.7-150000.3.46.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2023:2616-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["2.2.7-150000.3.46.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2023:2616-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["2.2.7-150000.3.46.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2023:2616-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["2.2.7-150000.3.46.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2023:2616-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["2.2.7-150000.3.46.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2023:2616-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","fixed":["2.2.7-150000.3.46.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3","source":"SUSE-SU-2023:2616-1"},{"ecosystem":"SUSE:Manager Proxy 4.2","fixed":["2.2.7-150000.3.46.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Manager%20Proxy%204.2","source":"SUSE-SU-2023:2616-1"},{"ecosystem":"SUSE:Manager Server 4.2","fixed":["2.2.7-150000.3.46.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Manager%20Server%204.2","source":"SUSE-SU-2023:2616-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["2.2.7-150000.3.46.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/opensuse/cups\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:2616-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["2.2.7-150000.3.46.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/opensuse/cups\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2023:2616-1"},{"ecosystem":"openSUSE:Leap Micro 5.3","fixed":["2.2.7-150000.3.46.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/opensuse/cups\u0026distro=openSUSE%20Leap%20Micro%205.3","source":"SUSE-SU-2023:2616-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.4.2-6.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/opensuse/cups\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13017-1"}],"prev":{"headline":"Weak passwords allowed in cloudexplorer-lite","id":"CVE-2023-34240"},"products":["cups"],"published":"2023-06-22","related":[{"cvss_score":9.8,"headline":"Apple macOS Improper Authentication","id":"CVE-2026-65400","kev_date_added":"2026-08-18","published":"2026-08-06"},{"cvss_score":10,"headline":"Security feature bypass in macOS","id":"CVE-2024-44146","kev_date_added":null,"published":"2024-09-16"},{"cvss_score":10,"headline":"Security feature bypass in macOS","id":"CVE-2024-44148","kev_date_added":null,"published":"2024-09-16"},{"cvss_score":10,"headline":"Security feature bypass in macOS","id":"CVE-2023-38586","kev_date_added":null,"published":"2023-09-26"},{"cvss_score":10,"headline":"Security feature bypass in macOS","id":"CVE-2023-40455","kev_date_added":null,"published":"2023-09-26"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-1999-0590","kev_date_added":null,"published":"2000-02-04"},{"cvss_score":9.8,"headline":"Memory corruption in macOS","id":"CVE-2026-84520","kev_date_added":null,"published":"2026-09-14"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-13","vendors":["OpenPrinting"]},"summary":"A use-after-free in CUPS allows attackers to crash the service or potentially execute code when specific logging and network configurations are enabled.","url":"https://insights.sbomify.com/CVE-2023-34241/"}