{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-5018 exists.","fix":"No fix has been published for CVE-2007-5018 yet. Limit exposure of the affected software until one is available.","what":"CVE-2007-5018 is a medium-severity memory corruption vulnerability in n/a, published on 20 Sep 2007. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2007-5018 and fix it if it is affected.\n\nWhat it is: CVE-2007-5018 is a medium-severity memory corruption vulnerability in n/a, published on 20 Sep 2007. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-5018 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-2007-5018/ (Markdown: https://insights.sbomify.com/CVE-2007-5018/index.md)","id":"CVE-2007-5018","markdown":"https://insights.sbomify.com/CVE-2007-5018/index.md","name":"CVE-2007-5018","record":{"aliases":["GHSA-24fw-p524-4547"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Mercury/32 IMAP server","requires_auth":"low_privilege","summary":"Remote authenticated users can execute arbitrary code via a stack-based buffer overflow in the IMAPD SEARCH ON command.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"mercury_32","vendor":"david_harris"}],"cvss":{"score":6,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"Stack-based buffer overflow in IMAPD in Mercury/32 4.52 allows remote authenticated users to execute arbitrary code via a long argument in a SEARCH ON command.  NOTE: this issue might overlap with CVE-2004-1211.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2007-09-19","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2007-09-19","kind":"exploitdb","ref":"4429","stars":null,"title":"Mercury/32 4.52 IMAPD - 'SEARCH' (Authenticated) Overflow"}],"tier":"weaponised"},"has_fix":null,"headline":"Memory corruption in n/a","id":"CVE-2007-5018","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2007"},"n_packages":0,"n_references":6,"next":{"headline":"Memory corruption in n/a","id":"CVE-2007-5019"},"packages":[],"prev":{"headline":"Path traversal in n/a","id":"CVE-2007-5017"},"products":["n/a"],"published":"2007-09-20","related":[],"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-07","vendors":["n/a"]},"summary":"Remote authenticated users can execute arbitrary code via a stack-based buffer overflow in the IMAPD SEARCH ON command.","url":"https://insights.sbomify.com/CVE-2007-5018/"}