{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2015-1158 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2015-1158 is a critical memory corruption vulnerability in n/a, published on 26 Jun 2015. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2015-1158 and fix it if it is affected.\n\nWhat it is: CVE-2015-1158 is a critical memory corruption vulnerability in n/a, published on 26 Jun 2015. 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-2015-1158 exists.\n\nAffected product: n/a. 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-2015-1158/ (Markdown: https://insights.sbomify.com/CVE-2015-1158/index.md)","id":"CVE-2015-1158","markdown":"https://insights.sbomify.com/CVE-2015-1158/index.md","name":"CVE-2015-1158","record":{"aliases":["DEBIAN-CVE-2015-1158","GHSA-f3f2-vc32-jrrx","UBUNTU-CVE-2015-1158"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"CUPS printing server","requires_auth":"none","summary":"Remote attackers can trigger memory corruption in CUPS via crafted IPP requests, potentially leading to arbitrary code execution or denial of service.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apple","cpe":[{"product":"cups","vendor":"cups"}],"cvss":{"score":10,"severity":"critical","source":"nvd","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[{"id":"CWE-254","name":null}],"description":"The add_job function in scheduler/ipp.c in cupsd in CUPS before 2.0.3 performs incorrect free operations for multiple-value job-originating-host-name attributes, which allows remote attackers to trigger data corruption for reference-counted strings via a crafted (1) IPP_CREATE_JOB or (2) IPP_PRINT_JOB request, as demonstrated by replacing the configuration file and consequently executing arbitrary code.","ecosystems":[],"exploits":{"exploitdb":2,"first_seen":"2015-06-22","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2015-06-22","kind":"exploitdb","ref":"37336","stars":null,"title":"CUPS \u003c 2.0.3 - Multiple Vulnerabilities"},{"date":"2017-02-03","kind":"exploitdb","ref":"41233","stars":null,"title":"CUPS \u003c 2.0.3 - Remote Command Execution"}],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2015-1158","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2015"},"n_packages":0,"n_references":20,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2015-1159"},"packages":[],"prev":{"headline":"Denial of service in n/a","id":"CVE-2015-1157"},"products":["n/a"],"published":"2015-06-26","related":[{"cvss_score":10,"headline":"Use after free in n/a","id":"CVE-2008-0882","kev_date_added":null,"published":"2008-02-21"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2007-4351","kev_date_added":null,"published":"2007-10-31"},{"cvss_score":9.3,"headline":"Memory corruption in n/a","id":"CVE-2008-0047","kev_date_added":null,"published":"2008-03-18"},{"cvss_score":8.8,"headline":"Code injection in n/a","id":"CVE-2014-8166","kev_date_added":null,"published":"2018-01-12"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2005-4873","kev_date_added":null,"published":"2008-03-24"},{"cvss_score":4.3,"headline":"Cross-site scripting in n/a","id":"CVE-2015-1159","kev_date_added":null,"published":"2015-06-26"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can trigger memory corruption in CUPS via crafted IPP requests, potentially leading to arbitrary code execution or denial of service.","url":"https://insights.sbomify.com/CVE-2015-1158/"}