{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2004-2154 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2004-2154 is a critical vulnerability in Apple Cups, published on 5 Jul 2005. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2004-2154 and fix it if it is affected.\n\nWhat it is: CVE-2004-2154 is a critical vulnerability in Apple Cups, published on 5 Jul 2005. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2004-2154 in the wild and no public exploit code.\n\nAffected product: Apple Cups. 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-2004-2154/ (Markdown: https://insights.sbomify.com/CVE-2004-2154/index.md)","id":"CVE-2004-2154","markdown":"https://insights.sbomify.com/CVE-2004-2154/index.md","name":"CVE-2004-2154","record":{"aliases":["DEBIAN-CVE-2004-2154","GHSA-vp74-83h5-6967","RHSA-2005:571"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"CUPS printing server","requires_auth":"none","summary":"Attackers can bypass CUPS access controls by exploiting case-sensitive Location directive matching in configuration files.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"cups","vendor":"apple"},{"product":"ubuntu_linux","vendor":"canonical"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-178","name":"Improper Handling of Case Sensitivity"}],"description":"CUPS before 1.1.21rc1 treats a Location directive in cupsd.conf as case sensitive, which allows attackers to bypass intended ACLs via a printer name containing uppercase or lowercase letters that are different from what is specified in the directive.","ecosystems":["Red Hat:enterprise_linux:3::as","Red Hat:enterprise_linux:3::desktop","Red Hat:enterprise_linux:3::es","Red Hat:enterprise_linux:3::ws"],"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":"Security feature bypass in n/a","id":"CVE-2004-2154","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apple:cups","products":["apple:cups","canonical:ubuntu_linux"],"type":"security_feature_bypass","year":"2004"},"n_packages":16,"n_references":7,"next":{"headline":"Auth bypass in n/a","id":"CVE-2004-2155"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["1:1.1.17-13.3.29"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/redhat/cups","source":"RHSA-2005:571"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["1:1.1.17-13.3.29"],"introduced":["0"],"last_affected":[],"package":"cups-debuginfo","purl":"pkg:rpm/redhat/cups-debuginfo","source":"RHSA-2005:571"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["1:1.1.17-13.3.29"],"introduced":["0"],"last_affected":[],"package":"cups-devel","purl":"pkg:rpm/redhat/cups-devel","source":"RHSA-2005:571"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["1:1.1.17-13.3.29"],"introduced":["0"],"last_affected":[],"package":"cups-libs","purl":"pkg:rpm/redhat/cups-libs","source":"RHSA-2005:571"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["1:1.1.17-13.3.29"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/redhat/cups","source":"RHSA-2005:571"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["1:1.1.17-13.3.29"],"introduced":["0"],"last_affected":[],"package":"cups-debuginfo","purl":"pkg:rpm/redhat/cups-debuginfo","source":"RHSA-2005:571"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["1:1.1.17-13.3.29"],"introduced":["0"],"last_affected":[],"package":"cups-devel","purl":"pkg:rpm/redhat/cups-devel","source":"RHSA-2005:571"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["1:1.1.17-13.3.29"],"introduced":["0"],"last_affected":[],"package":"cups-libs","purl":"pkg:rpm/redhat/cups-libs","source":"RHSA-2005:571"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["1:1.1.17-13.3.29"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/redhat/cups","source":"RHSA-2005:571"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["1:1.1.17-13.3.29"],"introduced":["0"],"last_affected":[],"package":"cups-debuginfo","purl":"pkg:rpm/redhat/cups-debuginfo","source":"RHSA-2005:571"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["1:1.1.17-13.3.29"],"introduced":["0"],"last_affected":[],"package":"cups-devel","purl":"pkg:rpm/redhat/cups-devel","source":"RHSA-2005:571"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["1:1.1.17-13.3.29"],"introduced":["0"],"last_affected":[],"package":"cups-libs","purl":"pkg:rpm/redhat/cups-libs","source":"RHSA-2005:571"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["1:1.1.17-13.3.29"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/redhat/cups","source":"RHSA-2005:571"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["1:1.1.17-13.3.29"],"introduced":["0"],"last_affected":[],"package":"cups-debuginfo","purl":"pkg:rpm/redhat/cups-debuginfo","source":"RHSA-2005:571"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["1:1.1.17-13.3.29"],"introduced":["0"],"last_affected":[],"package":"cups-devel","purl":"pkg:rpm/redhat/cups-devel","source":"RHSA-2005:571"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["1:1.1.17-13.3.29"],"introduced":["0"],"last_affected":[],"package":"cups-libs","purl":"pkg:rpm/redhat/cups-libs","source":"RHSA-2005:571"}],"prev":{"headline":"Multiple unknown vulnerabilities in Real Estate Management Software 1.0 have unknown impact and attack vectors.","id":"CVE-2004-2153"},"products":["n/a"],"published":"2005-07-05","related":[{"cvss_score":10,"headline":"Cross-site request forgery in n/a","id":"CVE-2008-5184","kev_date_added":null,"published":"2008-11-21"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2008-3641","kev_date_added":null,"published":"2008-10-10"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2008-0053","kev_date_added":null,"published":"2008-03-18"},{"cvss_score":9.8,"headline":"Missing authorization in cups","id":"CVE-2012-6094","kev_date_added":null,"published":"2019-12-20"},{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2010-2941","kev_date_added":null,"published":"2010-11-05"},{"cvss_score":7.5,"headline":"Auth bypass in n/a","id":"CVE-2017-18190","kev_date_added":null,"published":"2018-02-16"}],"sources":[{"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":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-08","vendors":["n/a"]},"summary":"Attackers can bypass CUPS access controls by exploiting case-sensitive Location directive matching in configuration files.","url":"https://insights.sbomify.com/CVE-2004-2154/"}