{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2010-0542 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2010-0542 is a medium-severity vulnerability in Apple Cups, published on 21 Jun 2010. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2010-0542 and fix it if it is affected.\n\nWhat it is: CVE-2010-0542 is a medium-severity vulnerability in Apple Cups, published on 21 Jun 2010. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2010-0542 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-2010-0542/ (Markdown: https://insights.sbomify.com/CVE-2010-0542/index.md)","id":"CVE-2010-0542","markdown":"https://insights.sbomify.com/CVE-2010-0542/index.md","name":"CVE-2010-0542","record":{"aliases":["DEBIAN-CVE-2010-0542","GHSA-cwfp-wwxr-hhq6"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"CUPS printing system","requires_auth":"none","summary":"Remote attackers can cause denial of service or execute arbitrary code via a crafted file due to unchecked calloc return values in CUPS.","user_interaction":"required","vuln_class":"null_dereference"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apple","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-264","name":null}],"description":"The _WriteProlog function in texttops.c in texttops in the Text Filter subsystem in CUPS before 1.4.4 does not check the return values of certain calloc calls, which allows remote attackers to cause a denial of service (NULL pointer dereference or heap memory corruption) or possibly execute arbitrary code via a crafted file.","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":"Null dereference in n/a","id":"CVE-2010-0542","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apple:cups","products":["apple:cups"],"type":"null_dereference","year":"2010"},"n_packages":0,"n_references":14,"next":{"headline":"Memory corruption in n/a","id":"CVE-2010-0543"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2010-0541"},"products":["n/a"],"published":"2010-06-21","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 cause denial of service or execute arbitrary code via a crafted file due to unchecked calloc return values in CUPS.","url":"https://insights.sbomify.com/CVE-2010-0542/"}