{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-4300 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2018-4300 is a medium-severity vulnerability in Apple Cups, published on 3 Apr 2019. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-4300 and fix it if it is affected.\n\nWhat it is: CVE-2018-4300 is a medium-severity vulnerability in Apple Cups, published on 3 Apr 2019. 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-2018-4300 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-2018-4300/ (Markdown: https://insights.sbomify.com/CVE-2018-4300/index.md)","id":"CVE-2018-4300","markdown":"https://insights.sbomify.com/CVE-2018-4300/index.md","name":"CVE-2018-4300","record":{"aliases":["CVE-2018-4700","DEBIAN-CVE-2018-4300","DLA-1936-1","GHSA-7w9x-rg6m-2fh9"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass","data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"CUPS printing server","requires_auth":"none","summary":"Attackers can guess session cookies to gain unauthorized access to the CUPS web interface if it is enabled.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apple","cpe":[{"product":"cups","vendor":"apple"}],"cvss":{"score":5.9,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"The session cookie generated by the CUPS web interface was easy to guess on Linux, allowing unauthorized scripted access to the web interface when the web interface is enabled. This issue affected versions prior to v2.2.10.","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":"Information disclosure in CUPS","id":"CVE-2018-4300","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apple:cups","products":["apple:cups"],"type":"information_disclosure","year":"2018"},"n_packages":0,"n_references":3,"next":{"headline":"Memory corruption in Smart Card Services","id":"CVE-2018-4301"},"packages":[],"prev":{"headline":"Memory corruption in iOS, tvOS, watchOS, Safari, iTunes for Windows, iCloud for Windows","id":"CVE-2018-4299"},"products":["CUPS"],"published":"2019-04-03","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-05","vendors":["n/a"]},"summary":"Attackers can guess session cookies to gain unauthorized access to the CUPS web interface if it is enabled.","url":"https://insights.sbomify.com/CVE-2018-4300/"}