{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2023-24805 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2023-24805 is a high-severity command injection vulnerability in Debian Debian Linux, published on 17 May 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-24805 and fix it if it is affected.\n\nWhat it is: CVE-2023-24805 is a high-severity command injection vulnerability in Debian Debian Linux, published on 17 May 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-24805 in the wild and no public exploit code.\n\nAffected product: Debian Debian Linux. 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-24805/ (Markdown: https://insights.sbomify.com/CVE-2023-24805/index.md)","id":"CVE-2023-24805","markdown":"https://insights.sbomify.com/CVE-2023-24805/index.md","name":"CVE-2023-24805","record":{"aliases":["ALSA-2023:3423","ALSA-2023:3425","CLEANSTART-2024-CB04039","DEBIAN-CVE-2023-24805","DLA-3430-1","DSA-5407-1","GHSA-gpxc-v2m8-fr3x","MGASA-2023-0189","OESA-2023-1315","RHSA-2023:3423","RHSA-2023:3424","RHSA-2023:3425","RHSA-2023:3426","RHSA-2023:3427","RHSA-2023:3428","RHSA-2023:3429","RLSA-2023:3423","RLSA-2023:3425","SUSE-SU-2023:2233-1","SUSE-SU-2023:2233-2","UBUNTU-CVE-2023-24805","USN-6083-1","USN-6083-2","openSUSE-SU-2024:12939-1"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"CUPS printing filters","requires_auth":"low_privilege","summary":"Remote attackers can execute arbitrary system commands on print servers using the Backend Error Handler feature in cups-filters.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"cups-filters","vendor":"linuxfoundation"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"cups-filters contains backends, filters, and other software required to get the cups printing service working on operating systems other than macos. If you use the Backend Error Handler (beh) to create an accessible network printer, this security vulnerability can cause remote code execution. `beh.c` contains the line `retval = system(cmdline) \u003e\u003e 8;` which calls the `system` command with the operand `cmdline`. `cmdline` contains multiple user controlled, unsanitized values. As a result an attacker with network access to the hosted print server can exploit this vulnerability to inject system commands which are executed in the context of the running server. This issue has been addressed in commit `8f2740357` and is expected to be bundled in the next release. Users are advised to upgrade when possible and to restrict access to network printers in the meantime.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::crb","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::crb","Red Hat:rhel_aus:8.2::appstream","Red Hat:rhel_e4s:8.1::appstream","Red Hat:rhel_e4s:8.2::appstream","Red Hat:rhel_eus:8.4::appstream","Red Hat:rhel_eus:8.4::crb","Red Hat:rhel_eus:8.6::appstream","Red Hat:rhel_eus:8.6::crb","Red Hat:rhel_eus:9.0::appstream","Red Hat:rhel_eus:9.0::crb","Red Hat:rhel_tus:8.2::appstream","Rocky Linux:8","Rocky Linux:9","SUSE:Enterprise Storage 7","SUSE:Enterprise Storage 7.1","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 Module for Basesystem 15 SP4","SUSE:Linux Enterprise Module for Basesystem 15 SP5","SUSE:Linux Enterprise Real Time 15 SP3","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","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:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Command injection in cups-filters","id":"CVE-2023-24805","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux","fedoraproject:fedora"],"type":"command_injection","year":"2023"},"n_packages":90,"n_references":7,"next":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2023-24806"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["1.20.0-29.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"cups-filters","purl":"pkg:rpm/almalinux/cups-filters","source":"ALSA-2023:3425"},{"ecosystem":"AlmaLinux:8","fixed":["1.20.0-29.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"cups-filters-devel","purl":"pkg:rpm/almalinux/cups-filters-devel","source":"ALSA-2023:3425"},{"ecosystem":"AlmaLinux:8","fixed":["1.20.0-29.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"cups-filters-libs","purl":"pkg:rpm/almalinux/cups-filters-libs","source":"ALSA-2023:3425"},{"ecosystem":"AlmaLinux:9","fixed":["1.28.7-11.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters","purl":"pkg:rpm/almalinux/cups-filters","source":"ALSA-2023:3423"},{"ecosystem":"AlmaLinux:9","fixed":["1.28.7-11.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters-devel","purl":"pkg:rpm/almalinux/cups-filters-devel","source":"ALSA-2023:3423"},{"ecosystem":"AlmaLinux:9","fixed":["1.28.7-11.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters-libs","purl":"pkg:rpm/almalinux/cups-filters-libs","source":"ALSA-2023:3423"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.20.0-29.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"cups-filters","purl":"pkg:rpm/redhat/cups-filters","source":"RHSA-2023:3425"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.20.0-29.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"cups-filters-debuginfo","purl":"pkg:rpm/redhat/cups-filters-debuginfo","source":"RHSA-2023:3425"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.20.0-29.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"cups-filters-debugsource","purl":"pkg:rpm/redhat/cups-filters-debugsource","source":"RHSA-2023:3425"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.20.0-29.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"cups-filters-libs","purl":"pkg:rpm/redhat/cups-filters-libs","source":"RHSA-2023:3425"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.20.0-29.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"cups-filters-libs-debuginfo","purl":"pkg:rpm/redhat/cups-filters-libs-debuginfo","source":"RHSA-2023:3425"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:1.20.0-29.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"cups-filters-debuginfo","purl":"pkg:rpm/redhat/cups-filters-debuginfo","source":"RHSA-2023:3425"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:1.20.0-29.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"cups-filters-debugsource","purl":"pkg:rpm/redhat/cups-filters-debugsource","source":"RHSA-2023:3425"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:1.20.0-29.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"cups-filters-devel","purl":"pkg:rpm/redhat/cups-filters-devel","source":"RHSA-2023:3425"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:1.20.0-29.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"cups-filters-libs-debuginfo","purl":"pkg:rpm/redhat/cups-filters-libs-debuginfo","source":"RHSA-2023:3425"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.28.7-11.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters","purl":"pkg:rpm/redhat/cups-filters","source":"RHSA-2023:3423"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.28.7-11.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters-debuginfo","purl":"pkg:rpm/redhat/cups-filters-debuginfo","source":"RHSA-2023:3423"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.28.7-11.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters-debugsource","purl":"pkg:rpm/redhat/cups-filters-debugsource","source":"RHSA-2023:3423"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.28.7-11.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters-libs","purl":"pkg:rpm/redhat/cups-filters-libs","source":"RHSA-2023:3423"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.28.7-11.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters-libs-debuginfo","purl":"pkg:rpm/redhat/cups-filters-libs-debuginfo","source":"RHSA-2023:3423"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:1.28.7-11.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters-debuginfo","purl":"pkg:rpm/redhat/cups-filters-debuginfo","source":"RHSA-2023:3423"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:1.28.7-11.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters-debugsource","purl":"pkg:rpm/redhat/cups-filters-debugsource","source":"RHSA-2023:3423"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:1.28.7-11.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters-devel","purl":"pkg:rpm/redhat/cups-filters-devel","source":"RHSA-2023:3423"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:1.28.7-11.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters-libs-debuginfo","purl":"pkg:rpm/redhat/cups-filters-libs-debuginfo","source":"RHSA-2023:3423"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:1.20.0-19.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters","purl":"pkg:rpm/redhat/cups-filters","source":"RHSA-2023:3428"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:1.20.0-19.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters-debuginfo","purl":"pkg:rpm/redhat/cups-filters-debuginfo","source":"RHSA-2023:3428"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:1.20.0-19.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters-debugsource","purl":"pkg:rpm/redhat/cups-filters-debugsource","source":"RHSA-2023:3428"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:1.20.0-19.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters-libs","purl":"pkg:rpm/redhat/cups-filters-libs","source":"RHSA-2023:3428"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:1.20.0-19.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters-libs-debuginfo","purl":"pkg:rpm/redhat/cups-filters-libs-debuginfo","source":"RHSA-2023:3428"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:1.20.0-18.el8_1.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters","purl":"pkg:rpm/redhat/cups-filters","source":"RHSA-2023:3429"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:1.20.0-18.el8_1.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters-debuginfo","purl":"pkg:rpm/redhat/cups-filters-debuginfo","source":"RHSA-2023:3429"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:1.20.0-18.el8_1.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters-debugsource","purl":"pkg:rpm/redhat/cups-filters-debugsource","source":"RHSA-2023:3429"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:1.20.0-18.el8_1.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters-libs","purl":"pkg:rpm/redhat/cups-filters-libs","source":"RHSA-2023:3429"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:1.20.0-18.el8_1.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters-libs-debuginfo","purl":"pkg:rpm/redhat/cups-filters-libs-debuginfo","source":"RHSA-2023:3429"},{"ecosystem":"Red Hat:rhel_e4s:8.2::appstream","fixed":["0:1.20.0-19.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters","purl":"pkg:rpm/redhat/cups-filters","source":"RHSA-2023:3428"},{"ecosystem":"Red Hat:rhel_e4s:8.2::appstream","fixed":["0:1.20.0-19.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters-debuginfo","purl":"pkg:rpm/redhat/cups-filters-debuginfo","source":"RHSA-2023:3428"},{"ecosystem":"Red Hat:rhel_e4s:8.2::appstream","fixed":["0:1.20.0-19.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters-debugsource","purl":"pkg:rpm/redhat/cups-filters-debugsource","source":"RHSA-2023:3428"},{"ecosystem":"Red Hat:rhel_e4s:8.2::appstream","fixed":["0:1.20.0-19.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters-libs","purl":"pkg:rpm/redhat/cups-filters-libs","source":"RHSA-2023:3428"},{"ecosystem":"Red Hat:rhel_e4s:8.2::appstream","fixed":["0:1.20.0-19.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters-libs-debuginfo","purl":"pkg:rpm/redhat/cups-filters-libs-debuginfo","source":"RHSA-2023:3428"},{"ecosystem":"Red Hat:rhel_eus:8.4::appstream","fixed":["0:1.20.0-24.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"cups-filters","purl":"pkg:rpm/redhat/cups-filters","source":"RHSA-2023:3427"}],"prev":{"headline":"ownCloud Android app vulnerable to Path Traversal","id":"CVE-2023-24804"},"products":["cups-filters"],"published":"2023-05-17","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2025-02-13","vendors":["OpenPrinting"]},"summary":"Remote attackers can execute arbitrary system commands on print servers using the Backend Error Handler feature in cups-filters.","url":"https://insights.sbomify.com/CVE-2023-24805/"}