{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-12326 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2018-12326 is a high-severity memory corruption vulnerability in n/a, published on 17 Jun 2018. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-12326 and fix it if it is affected.\n\nWhat it is: CVE-2018-12326 is a high-severity memory corruption vulnerability in n/a, published on 17 Jun 2018. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-12326 in the wild and no public exploit code.\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-2018-12326/ (Markdown: https://insights.sbomify.com/CVE-2018-12326/index.md)","id":"CVE-2018-12326","markdown":"https://insights.sbomify.com/CVE-2018-12326/index.md","name":"CVE-2018-12326","record":{"aliases":["DEBIAN-CVE-2018-12326","GHSA-8829-5g6p-wqm9","UBUNTU-CVE-2018-12326"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Redis CLI tool","requires_auth":"none","summary":"A buffer overflow in the Redis command-line interface allows attackers to execute arbitrary code and escalate privileges via crafted input.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"redis","vendor":"redislabs"}],"cvss":{"score":8.4,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"Buffer overflow in redis-cli of Redis before 4.0.10 and 5.x before 5.0 RC3 allows an attacker to achieve code execution and escalate to higher privileges via a crafted command line. NOTE: It is unclear whether there are any common situations in which redis-cli is used with, for example, a -h (aka hostname) argument from an untrusted source.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2018-06-18","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2018-06-18","kind":"exploitdb","ref":"44904","stars":null,"title":"Redis-cli \u003c 5.0 - Buffer Overflow (PoC)"},{"date":"2022-03-25T01:44:26Z","kind":"github_poc","ref":"https://github.com/spasm5/CVE-2018-12326","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2018-12326","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2018"},"n_packages":0,"n_references":8,"next":{"headline":"Memory corruption in n/a","id":"CVE-2018-12327"},"packages":[],"prev":{"headline":"Hardcoded credentials in n/a","id":"CVE-2018-12323"},"products":["n/a"],"published":"2018-06-17","related":[{"cvss_score":9.8,"headline":"Denial of service in n/a","id":"CVE-2017-15047","kev_date_added":null,"published":"2017-10-06"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2020-21468","kev_date_added":null,"published":"2021-09-20"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2018-12453","kev_date_added":null,"published":"2018-06-16"},{"cvss_score":7.4,"headline":"Other in n/a","id":"CVE-2016-10517","kev_date_added":null,"published":"2017-10-24"},{"cvss_score":6.6,"headline":"Memory corruption in Redis","id":"CVE-2016-8339","kev_date_added":null,"published":"2016-10-28"},{"cvss_score":5.5,"headline":"Other in Redis","id":"CVE-2013-0178","kev_date_added":null,"published":"2019-11-01"}],"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"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"A buffer overflow in the Redis command-line interface allows attackers to execute arbitrary code and escalate privileges via crafted input.","url":"https://insights.sbomify.com/CVE-2018-12326/"}