{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2008-3640 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2008-3640 is a medium-severity vulnerability in Apple Cups, published on 14 Oct 2008. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2008-3640 and fix it if it is affected.\n\nWhat it is: CVE-2008-3640 is a medium-severity vulnerability in Apple Cups, published on 14 Oct 2008. 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-2008-3640 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-2008-3640/ (Markdown: https://insights.sbomify.com/CVE-2008-3640/index.md)","id":"CVE-2008-3640","markdown":"https://insights.sbomify.com/CVE-2008-3640/index.md","name":"CVE-2008-3640","record":{"aliases":["DEBIAN-CVE-2008-3640","GHSA-45qx-8jq2-whqw"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"CUPS printing system","requires_auth":"none","summary":"Remote attackers can execute arbitrary code on CUPS servers by sending a crafted PostScript file that triggers a heap-based buffer overflow.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"cups","vendor":"apple"}],"cvss":{"score":6.8,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-189","name":null}],"description":"Integer overflow in the WriteProlog function in texttops in CUPS before 1.3.9 allows remote attackers to execute arbitrary code via a crafted PostScript file that triggers a heap-based buffer overflow.","ecosystems":[],"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":"Integer overflow in n/a","id":"CVE-2008-3640","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apple:cups","products":["apple:cups"],"type":"integer_overflow","year":"2008"},"n_packages":0,"n_references":28,"next":{"headline":"Memory corruption in n/a","id":"CVE-2008-3641"},"packages":[],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2008-3639"},"products":["n/a"],"published":"2008-10-14","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":9.8,"headline":"Security feature bypass in n/a","id":"CVE-2004-2154","kev_date_added":null,"published":"2005-07-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":"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":"2024-08-07","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code on CUPS servers by sending a crafted PostScript file that triggers a heap-based buffer overflow.","url":"https://insights.sbomify.com/CVE-2008-3640/"}