{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-1998 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-1998 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-1998 is a high-severity command injection vulnerability in Ibm Websphere Mq, published on 11 Mar 2019. 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-1998 and fix it if it is affected.\n\nWhat it is: CVE-2018-1998 is a high-severity command injection vulnerability in Ibm Websphere Mq, published on 11 Mar 2019. 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-1998 in the wild and no public exploit code.\n\nAffected product: Ibm Websphere Mq. 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-1998/ (Markdown: https://insights.sbomify.com/CVE-2018-1998/index.md)","id":"CVE-2018-1998","markdown":"https://insights.sbomify.com/CVE-2018-1998/index.md","name":"CVE-2018-1998","record":{"aliases":["GHSA-c9v8-4rr8-rmcc"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"IBM WebSphere MQ","requires_auth":"low_privilege","summary":"A local user can inject code to execute commands with root privileges in IBM WebSphere MQ due to an incomplete fix.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"ibm","cpe":[{"product":"websphere_mq","vendor":"ibm"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.0/A:H/AC:L/AV:L/C:H/I:H/PR:L/S:C/UI:N/E:U/RC:C/RL:O","version":"3.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"IBM WebSphere MQ 8.0.0.0 through 9.1.1 could allow a local user to inject code that could be executed with root privileges. This is due to an incomplete fix for CVE-2018-1792. IBM X-ForceID: 154887.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Command injection in MQ","id":"CVE-2018-1998","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"ibm:websphere_mq","products":["ibm:websphere_mq"],"type":"command_injection","year":"2018"},"n_packages":0,"n_references":2,"next":{"headline":"Information disclosure in Business Automation Workflow","id":"CVE-2018-1999"},"packages":[],"prev":{"headline":"Denial of service in Business Automation Workflow","id":"CVE-2018-1997"},"products":["MQ"],"published":"2019-03-11","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2009-0896","kev_date_added":null,"published":"2009-06-03"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2007-6044","kev_date_added":null,"published":"2007-11-20"},{"cvss_score":8.8,"headline":"Code injection in MQ","id":"CVE-2018-1792","kev_date_added":null,"published":"2018-11-13"},{"cvss_score":8.8,"headline":"Memory corruption in n/a","id":"CVE-2009-3160","kev_date_added":null,"published":"2009-09-10"},{"cvss_score":8.6,"headline":"Denial of service in WebSphere MQ","id":"CVE-2017-1145","kev_date_added":null,"published":"2017-03-20"},{"cvss_score":8.1,"headline":"Information disclosure in MQ","id":"CVE-2017-1337","kev_date_added":null,"published":"2017-07-10"}],"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-09-17","vendors":["IBM"]},"summary":"A local user can inject code to execute commands with root privileges in IBM WebSphere MQ due to an incomplete fix.","url":"https://insights.sbomify.com/CVE-2018-1998/"}